[fixed for V0.36] Crash when using compiled .RTC

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Sophia
Concise and Honest
Posts: 4308
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

[fixed for V0.36] Crash when using compiled .RTC

Post by Sophia »

My big dungeon (SS) will compile just fine, and properly save a .RTC. However, when I try to load the compiled .RTC file, it gets to "Loading Dungeon..." and then crashes.

I'm afraid I don't have much other useful info here and can't even begin to isolate the problem, as RTC crashes without producing any diagnostic messages-- it simply dumps me back to Windows with the standard Windows message box telling me the program had crashed.

I've emailed you the actual .RTC that's causing the problem, in case putting it through a debugger might help.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

That's great thankyou - running it in a debugger picked up the error straight away!

Now fixed for V0.36
User avatar
Sophia
Concise and Honest
Posts: 4308
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

What was the error?

Is there a workaround (like, something to put in, something to leave out, etc.)? Not every dungeon crashes and I'd like to release this one for 0.35 if I can.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

It's the action item with a (valid) NULL parameter that's causing the problem - if you leave that out, it should all work.

This is a sufficiently serious problem that I'll release V0.36 fairly soon (in the next week or so). In the meantime, the more bugs you can find, the better it will be!
User avatar
Gambit37
Should eat more pies
Posts: 13778
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

I've just had a crash when playing my compiled test dungeon. It plays fine when you compile it and play, but not when selecting it from the menu. Crashes on 'Loading dungeon...' with the following diags file:

RTC (V0.36) Diagnostic file - Sun Mar 26 15:20:12 2006

Error:
an access violation exception.

Stack Dump:
utilMemory.utilFree(pointer 0x004BA4F8);
RTCModule.DIOLO();
RTC.LD();
RTC.InitSecondary();
RTC.ProgStateIntroContinue2();
RTC.DoFrame(int 7);
RTC.WinMain();

This dungeon has replacement graphics, wallsets, sounds, etc. Do you want the RTC file?
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Please!
User avatar
Gambit37
Should eat more pies
Posts: 13778
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

I tried emailing it but my antivirus said it didn't go for some reason. So try downloading it from here:

http://homepage.ntlworld.com/matt_hill/ ... ndtest.RTC
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Hmm - I can't load that RTC file at all (I think i've changed the file format since that test version!).

Can you send me the source files so I can compile it myself? (email me the link if you don't want anyone else to see them!)
User avatar
Gambit37
Should eat more pies
Posts: 13778
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Messy -- I'm pulling stuff from all over the place for this one -- I'll see if I can clean it up into its own folder.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

I've emailed you the latest binaries; if you compile your dungeon with these I should be able to read it!
User avatar
Gambit37
Should eat more pies
Posts: 13778
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Weird. It works fine with the new binaries! You still want to see it?
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Might as well - then I can see the portrait issue...

Hopefully the issue you hit was the same as Sophias, but do let me know if you see anything else strange.
Post Reply