Page 1 of 1
DM original crashes instantly (v0.17)
Posted: Wed Mar 13, 2002 7:41 pm
by Gambit37
Downloaded the latest version earlier today and have just had a chance to fire it up...
Whoops... something's seriously gone wrong this time! The DM original dungeon doesn't load anymore, although the exception hamdling does kick in correctly. I've tried this tree times now. The contents of the log file are thus:
Stack Dump:
RTC.UnLoadBitmaps();
RTC.InitSecondary();
RTC.DoFrame(int 7);
RTC.WinMain();
The CSB dungeon and the DM 'RTC Rules' dungeon work fine however.
Re: DM original crashes instantly (v0.17)
Posted: Wed Mar 13, 2002 8:17 pm
by beowuuf
lol, for a change i get to be anal..someone else reported this bug two posts down (in another thread though, the CSB crash one)
seemed the same as yours
Re: DM original crashes instantly (v0.17)
Posted: Wed Mar 13, 2002 8:28 pm
by Gambit37
Yeah, I saw it but started a new post as I thought it might have got lost!
BTW, George, I have tried re-compiling the DM Original dungeon and running it again and I get the same problem. I have also run a file compare on DM.TXT and DM_ORIGINAL.TXT to see what the main differences are and to see if I could notice a problem.
The main differences appear to be the RESTRICT_RUNES bit, the addition of the spell book and power runes scroll, slightly modified objectives text and the addition of hints in the RTC version. I couldn't spot anything that might have fouled up the compiler. Weird....
Re: DM original crashes instantly (v0.17)
Posted: Wed Mar 13, 2002 8:36 pm
by beowuuf
an 'unclosed' hint area, etc?
Re: DM original crashes instantly (v0.17)
Posted: Wed Mar 13, 2002 8:43 pm
by Gambit37
Nope - the hints are in the RTC Rules dungeon which plays fine - it's the other one without hints that crashes.
Re: DM original crashes instantly (v0.17)
Posted: Thu Mar 14, 2002 11:17 am
by George Gilbert
I've found the root cause of this crash; I'll try to fix it over the weekend and release a fix (probably as a backwardsly compatible V0.18) next week.
Re: DM original crashes instantly (v0.17)
Posted: Fri Mar 15, 2002 1:43 pm
by Gambit37
I'm curious as to what this problem is, considering the RTC version compiles and plays fine???
Re: DM original crashes instantly (v0.17)
Posted: Fri Mar 15, 2002 1:58 pm
by George Gilbert
The code is referencing a pointer that's pointing to a random bit of memory. Whether it crashes or not depends on whether the bit of memory it just happens to be pointing to exists or not.
In short there's nothing intrinsicly wrong with the dungeon - it's a random crash and I'm surprised that the other dungeons aren't afflicted too!
Re: DM original crashes instantly (v0.17)
Posted: Mon Mar 18, 2002 10:38 am
by George Gilbert
Fixed for V0.18