Game crashes under DOS when trying to chop down trees
issueid=2021 03-17-2013 03:39 PM
Junior Member
Number of reported issues by Narrychen: 4
Game crashes under DOS when trying to chop down trees
Both wilderness and Lawenilothehl

I'm running ADOM v. 1.2.0 prerelease 11 under MS-DOS (actually Dosbox under Fedora :-)).
This is what happened:
My mist elven farmer saved the mad carpenter and got his hatchet.
She went to Lawenilothehl, put the hatchet on Tool slot and tried to chop down a tree.
The next thing displayed on my screen was:

*** CRITICAL INTERNAL ERROR
*** Signal 291 was raised.

I started another game with the same race/class combination and got equally far.
This time I backed up my save game before this action, just in case.
In Lawenilothehl, the very same thing happened.
I restored the backed-up to figure out whether it was just a town problem.
I met a grizzly bear in the wilderness and after slaying it, tried to chop down a tree.
Again, the same error.
Byebye bridge building?
Issue Details
Issue Number 2021
Project ADOM (Ancient Domains Of Mystery)
Category MS-DOS
Status Fixed
Priority Unknown
Affected Version ADOM 1.2.0 pre 11
Fixed Version ADOM 1.2.0 pre 12
Milestone (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




03-17-2013 06:03 PM
jt jt is offline
Administrator
Can you attach the save game? Does the game crash immediately after you "u"se the hatchet? Or does it print some output and crashes after that?

03-17-2013 07:57 PM
Junior Member
Quote Originally Posted by jt
Can you attach the save game? Does the game crash immediately after you "u"se the hatchet? Or does it print some output and crashes after that?
There's no output, the signal 291 thing appears immediately after "u"sing the hatchet and answering "y"es to the question if I want to cut down the tree.
I still have the savefile, but I don't know how to attach it here.
Sorry, I'm a newbie on the forum.

03-17-2013 08:16 PM
Junior Member
Ah, I found it. Savefile attached.

03-17-2013 09:02 PM
jt jt is offline
Administrator
Thanks. I tried your save game on Windows XP with the DOS-Version: I could cut down several trees without problems or crashes. Very odd... now I'll have to check this with DOSBox.

Update: the game crashes in my DOSBox (on OSX) too.

03-17-2013 09:36 PM
Junior Member
Very interesting. So, it's a DOSBox problem? On the other hand, I have had no probs cutting down trees in DOSBox earlier.

Update: I started a new character, a dark elven paladin. Got a hatchet, and no problems this time. So maybe it's a mist elven issue?
I've only recently bought into the ADOM Resurrection program, so I've only played prereleases 5 and 11.

03-17-2013 10:43 PM
jt jt is offline
Administrator
The game crashes in the routine that is only called for mist elfs. I suspect it's caused by a bad pointer and only leads to a crash if DOSBox is used.

Update: found it! It's an index bug in the metal allergy check of mist elves.

Fixed.

+ Reply