I quit the game from a save dialogue. On the Credits scroll, I pressed Enter (no idea why) then clicked the mouse. The game quit OK but generated an error, and here's the dump:
utilMemory.utilFree(pointer 0x00A0A9F0);
utilMemory.utilVerify();
RTC.RTC_DeInit();
RTC.OnWMKeyDown(int 13);
RTC.WinMain();
Exception on Credits/Exit screen (v0.17)
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Re: Exception on Credits/Exit screen (v0.17)
Coo - it shouldn't ever crash there!
The code is trying to free up some memory that's already been written over by someone else. Can you please let me know which dungeon you were playing (or if it was your own, can you send me the *.txt file for it)
The code is trying to free up some memory that's already been written over by someone else. Can you please let me know which dungeon you were playing (or if it was your own, can you send me the *.txt file for it)
- Gambit37
- Should eat more pies
- Posts: 13778
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: Exception on Credits/Exit screen (v0.17)
I've also had a similar crash on this screen, getting to it a different way. I played a game, got my characters killed, then used the View Hints option to view hints for the save game I had just been killed in. After viewing the hints, I returned to the black end screen, clicked Quit this time and got a crash:
Stack Dump:
utilMemory.utilFree(pointer 0x00967C80);
utilMemory.utilVerify();
RTC.RTC_DeInit();
RTC.OnLMouseButtonDown(int 324, int 299);
RTC.WinMain();
Stack Dump:
utilMemory.utilFree(pointer 0x00967C80);
utilMemory.utilVerify();
RTC.RTC_DeInit();
RTC.OnLMouseButtonDown(int 324, int 299);
RTC.WinMain();
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Re: Exception on Credits/Exit screen (v0.17)
That doesn't surprise me. How you get to the De_init routine is irrelevant to the crash; the root cause is a bit of memory being allocated in the same spot twice in the main game and the second freeing up call (made when the game is exiting) not finding anything to free!
Hmm - as a hunch, before both crashes did you go through any point where the code scanned the parties in saved games; places that spring to mind would be the hint oracle and the "select champion" menu from the tablet menu?
Hmm - as a hunch, before both crashes did you go through any point where the code scanned the parties in saved games; places that spring to mind would be the hint oracle and the "select champion" menu from the tablet menu?
- Gambit37
- Should eat more pies
- Posts: 13778
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: Exception on Credits/Exit screen (v0.17)
Can't remember what I did with the first game, but on the second one, yes - I had just viewed the hints for the saved game (by clicking the extra option on the end screen - View Hint Oracle).
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Re: Exception on Credits/Exit screen (v0.17)
If so, this is (believe it or not) exactly the same bug as the one stopping you save games after entering a dungeon by importing a new party...
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact: