Page 1 of 1

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

Posted: Fri Mar 10, 2006 1:57 am
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.

Posted: Fri Mar 10, 2006 10:16 am
by George Gilbert
That's great thankyou - running it in a debugger picked up the error straight away!

Now fixed for V0.36

Posted: Fri Mar 10, 2006 6:07 pm
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.

Posted: Fri Mar 10, 2006 8:17 pm
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!

Posted: Sun Mar 26, 2006 4:22 pm
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?

Posted: Sun Mar 26, 2006 5:42 pm
by George Gilbert
Please!

Posted: Sun Mar 26, 2006 6:16 pm
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

Posted: Sun Mar 26, 2006 6:43 pm
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!)

Posted: Sun Mar 26, 2006 6:55 pm
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.

Posted: Sun Mar 26, 2006 7:19 pm
by George Gilbert
I've emailed you the latest binaries; if you compile your dungeon with these I should be able to read it!

Posted: Sun Mar 26, 2006 11:25 pm
by Gambit37
Weird. It works fine with the new binaries! You still want to see it?

Posted: Sun Mar 26, 2006 11:29 pm
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.