Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0009119Dwarf FortressMiscellaneous Crashespublic2015-11-26 12:362015-11-27 02:02
Xenomech 
Knight Otu 
normalcrashalways
resolvedduplicate 
Windows 7 x646.1.7601 SP1
0.40.24 
 
0009119: Program crashes a few seconds after unpausing loaded save
After loading this save (and unpausing the game), Dwarf Fortress 0.40.24 (Windows, SDL) will cause a buffer overflow exception in a few seconds.

My hunch is that it might have something to do with the "mysterious construction" in progress in my sole craftsdwarf workshop, but I have no real idea.
Using the save available here:

http://dffd.bay12games.com/file.php?id=11297 [^]

1. Run Dwarf Fortress 0.40.24
2. On the main menu, select Continue Playing.
3. Select the only save. (Asenkes, Dwarf Fortress ; Boldoludon, 254 ; Folder: region1)
4. Unpause the loaded save.
5. The program crashes in a few seconds.

0.40.24, crash, reproducible
duplicate of 0008719resolved Toady One Building constructions over parts of trees crashes 
Issue History
2015-11-26 12:36XenomechNew Issue
2015-11-26 12:37XenomechNote Added: 0033178
2015-11-26 12:37XenomechIssue Monitored: Xenomech
2015-11-26 12:37XenomechIssue End Monitor: Xenomech
2015-11-26 12:37XenomechTag Attached: 0.40.24
2015-11-26 12:38XenomechTag Attached: crash
2015-11-26 12:38XenomechTag Attached: reproducible
2015-11-26 13:02XenomechNote Added: 0033179
2015-11-27 01:33fricyNote Added: 0033180
2015-11-27 02:02Knight OtuNote Added: 0033181
2015-11-27 02:02Knight OtuRelationship addedduplicate of 0008719
2015-11-27 02:02Knight OtuStatusnew => resolved
2015-11-27 02:02Knight OtuResolutionopen => duplicate
2015-11-27 02:02Knight OtuAssigned To => Knight Otu

Notes
(0033178)
Xenomech   
2015-11-26 12:37   
From the error dialog displayed by Windows:

Problem signature:
Problem Event Name: BEX
Application Name: Dwarf Fortress.exe
Application Version: 0.0.0.0
Application Timestamp: 54ad7e66
Fault Module Name: StackHash_0a9e
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 002e726f
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
(0033179)
Xenomech   
2015-11-26 13:02   
I did a little more research. You can prevent the bug from happening right away by setting the Civilian alert level to the custom alert I created and named !!DANGER!! This leads me to believe the error is happening because of a worker job.

After turning the Civilian alert level back to Inactive, the error will eventually occur again.

After watching the dwarves do their various tasks, I now suspect that the bug is related to the construction of a marble floor tile. Above the only Trade Depot on the map, the dwarves are building a marble "roof" out of floor tiles. Sometimes a dwarf will move across an unfinished portion of the floor and start constructing a floor tile in the middle, apprently not connected to anything. I now think this is causing the error.
(0033180)
fricy   
2015-11-27 01:33   
Correct, you need to cut down both the pine tree and the willow north of your depo, the branches overlap the construction tiles causing a crash.

Duplicate of 0008719.
(0033181)
Knight Otu   
2015-11-27 02:02   
Thanks, fricy!