Crash on entry
Moderator: Sophia
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

Crash on entry
Related or not?
Walking a few steps after entering the DM1 dungeon (as ghost) got me:
PROGRAM CRASH!
Location: 0 4 3
Reason: Segmentation Fault
Stack Dump:
DSBmain
DSBgameloop
got_mkeypress
Walking a few steps after entering the DM1 dungeon (as ghost) got me:
PROGRAM CRASH!
Location: 0 4 3
Reason: Segmentation Fault
Stack Dump:
DSBmain
DSBgameloop
got_mkeypress
Parting is all we know from Heaven, and all we need of hell.
Re: Game crashed, original DM dungeon
First time I could walk a few steps before it crashed, on retries it crashes right on entering.
Parting is all we know from Heaven, and all we need of hell.
- Sophia
- Concise and Honest
- Posts: 4307
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: Crash on entry
Since it's crashing on getting a keypress, and you were pushing for a lot of keyboard configuration features, I'll assume that something in your custom keyboard config is what is creating the problem.
Can you send me your dsb.ini? I'll try using your keyboard configuration and see if I can't duplicate and then fix the bug.
Can you send me your dsb.ini? I'll try using your keyboard configuration and see if I can't duplicate and then fix the bug.
Re: Crash on entry
sent to the mail adress you sent me your rtc source files from
Parting is all we know from Heaven, and all we need of hell.
- Sophia
- Concise and Honest
- Posts: 4307
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: Crash on entry
The reason for the crash is because it's trying to execute magic shortcuts when there are no characters that can do magic, because there are no characters at all. This shows up because you've got some keys (I would assume incorrect) defined so that they perform both movement and spellcasting functions-- a rather fortunate mistake because it lets us spot this bug!
As a workaround until I can fix it for real, though, just make sure your spellcasting shortcuts and your movement shortcuts are not defined to the same keys, and don't press the spellcasting keys until you have a champion.
As a workaround until I can fix it for real, though, just make sure your spellcasting shortcuts and your movement shortcuts are not defined to the same keys, and don't press the spellcasting keys until you have a champion.
Re: Crash on entry
So I gonna delete the current dsb.ini and replace it with that from the download and retry.
Parting is all we know from Heaven, and all we need of hell.
Re: Crash on entry
Nope, sorry. With a fresh ini and just some moevement keys defined (sxycad instead of numpad), on leaving and restarting, crash
Parting is all we know from Heaven, and all we need of hell.
Re: Crash on entry
I can use any keys defined right after defining them. Leaving the game and restarting will cause a crash.
Even just entering and leaving the keyboard menu without defining any key at all produces the same result - crash on restart, unless I reset the dsb.ini
Even just entering and leaving the keyboard menu without defining any key at all produces the same result - crash on restart, unless I reset the dsb.ini
Parting is all we know from Heaven, and all we need of hell.
Re: Crash on entry
Hmmm, that is strange.
Can you define some keys that work at your machine even after restarting the game and send me the dsb.ini?
If the same ini works differently on 2 systems it must be something else.
Can you define some keys that work at your machine even after restarting the game and send me the dsb.ini?
If the same ini works differently on 2 systems it must be something else.
Parting is all we know from Heaven, and all we need of hell.
Re: Crash on entry
If I use the dsb.ini you sent me (without any modifications of course), I get my crash again.
The crash reproducably occurs after selecting the DM1 dungeon.
The DM1 folder (placed as a subdirectory in DSB/Dungeons) does not contain anything other than the DM1 dungeon.
I'm using a laptop, that's why keyboard remapping is impotant to me.
(It's an older model, Samsung R40 T5500 Cinoso, 1,66GHz intel dual, 896 MB RAM, WinXPproSP3, DirectX 9.0c)
EDIT: Note however, I can play and restart with the original ini if I don't ever touch the menu.
The crash reproducably occurs after selecting the DM1 dungeon.
The DM1 folder (placed as a subdirectory in DSB/Dungeons) does not contain anything other than the DM1 dungeon.
I'm using a laptop, that's why keyboard remapping is impotant to me.
(It's an older model, Samsung R40 T5500 Cinoso, 1,66GHz intel dual, 896 MB RAM, WinXPproSP3, DirectX 9.0c)
EDIT: Note however, I can play and restart with the original ini if I don't ever touch the menu.
Parting is all we know from Heaven, and all we need of hell.
- Sophia
- Concise and Honest
- Posts: 4307
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: Crash on entry
Just for fun, can you pretend that your problem is actually the one described in this thread: http://www.dungeon-master.com/forum/vie ... 53&t=28573 and grab the bugfix exe?
I have no idea if this it, but your crash log looks similar.
If that's the case then finding this other bug with the magic keys is just a bonus.
I have no idea if this it, but your crash log looks similar.
If that's the case then finding this other bug with the magic keys is just a bonus.

Re: Crash on entry
Yes, actually that is the same problem, and the fix works fine. Thank you!
Parting is all we know from Heaven, and all we need of hell.