Exception on Credits/Exit screen (v0.17)

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
Gambit37
Should eat more pies
Posts: 13778
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Exception on Credits/Exit screen (v0.17)

Post by Gambit37 »

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();
User avatar
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)

Post by George Gilbert »

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)
User avatar
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)

Post by Gambit37 »

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();
User avatar
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)

Post by George Gilbert »

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?
User avatar
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)

Post by Gambit37 »

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).
User avatar
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)

Post by George Gilbert »

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...
User avatar
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)

Post by George Gilbert »

Fixed for V0.18
Post Reply