Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000910Dwarf FortressDwarf Mode -- Militarypublic2010-04-09 21:052010-06-15 07:04
Toady One 
WindowsWindows XP
0000910: Reproducible crash with save, possibly caused by dwarf who can't be removed from military and gets a mood
This save always crashes within a few minutes of loading. This save is during my most recent migrant wave. Several migrants are still outside the fortress and heading towards the meeting hall. After arriving, they immediately start dumping stone I have designated. After the stone has been dumped, they return to the meeting hall, and the game crashes. I can't tell if their arrival in the meeting hall is the cause of the crash, or simply a coincidence.

I've tested the save six times, four times during which I did nothing but move the camera. As far as I can tell, the crash happens at the same moment every time.

The save can be found here: http://www.mediafire.com/?ntztizgzm3i [^]
Simply wait.
Again, the save is found here: http://www.mediafire.com/?ntztizgzm3i [^]
crash, save game
child of 0000536resolved Toady One Crash after unpausing - militia commander's squad info doesn't point back at squad 
Issue History
2010-04-09 21:05SpoggerificNew Issue
2010-04-09 21:51SirPenguinNote Added: 0002510
2010-04-09 21:57GauHelldragonTag Attached: crash
2010-04-09 21:57GauHelldragonTag Attached: save game
2010-04-09 21:59SirPenguinNote Edited: 0002510bug_revision_view_page.php?bugnote_id=0002510#r804
2010-04-09 22:05SirPenguinNote Added: 0002514
2010-04-09 22:06SirPenguinNote Edited: 0002514bug_revision_view_page.php?bugnote_id=0002514#r806
2010-04-10 09:13SpoggerificNote Added: 0002587
2010-04-10 11:17FootkerchiefRelationship addedrelated to 0000536
2010-04-10 11:18FootkerchiefCategoryGeneral => Dwarf Mode -- Military
2010-04-10 11:18FootkerchiefSummaryReliably crashes within minutes of loading. Save included. => Reproducible crash with save, possibly caused by dwarf who can't be removed from military and gets a mood
2010-04-30 18:12Logical2uRelationship addedrelated to 0000452
2010-06-13 02:14Toady OneNote Added: 0008261
2010-06-13 02:14Toady OneAssigned To => Toady One
2010-06-13 02:14Toady OneStatusnew => acknowledged
2010-06-13 10:08FootkerchiefRelationship replacedchild of 0000536
2010-06-13 10:10FootkerchiefRelationship deletedrelated to 0000452
2010-06-15 06:23Toady OneStatusacknowledged => resolved
2010-06-15 06:23Toady OneFixed in Version => 0.31.07
2010-06-15 06:23Toady OneResolutionopen => fixed
2010-06-15 06:59FootkerchiefStatusresolved => assigned
2010-06-15 07:00FootkerchiefStatusassigned => resolved
2010-06-15 07:00FootkerchiefFixed in Version0.31.07 =>
2010-06-15 07:00FootkerchiefResolutionfixed => duplicate
2010-06-15 07:04FootkerchiefFixed in Version => 0.31.07

2010-04-09 21:51   
(edited on: 2010-04-09 21:59)
Confirmed on my end. Gonna look at it, but my gut says it has to do with the military/equipment

Edit: That's it. If you want to save this fort then simply disband all your squads. It'll stop the crash for now.

I assume this has to be related to 0000536. With two similar reports and two saves this should be a cinch for the Toadster to fix.

2010-04-09 22:05   
(edited on: 2010-04-09 22:06)
Weird one! It has to do with the Butcher in your first squad. He cannot be removed; every time you hit enter on him it acts as if it removed him (and returns the cursor to the top) without actually changing anything. He's causing the crash somehow, the jerk.

You CAN replace his position, however. Highlight him and then select a new dwarf. The Butcher will keep on training like a jerk, but he won't crash your game anymore.

I assume the fact he can't be removed is related to the crash, though who knows how. Well, Toady might.

2010-04-10 09:13   
Your fix worked, SirPenguin. After replacing the butcher with another dwarf, the crash stopped happening and the butcher kept training.

After a while in game, the butcher who was causing problems went into a fey mood and made a wooden cabinet. It could be a coincidence, or maybe he was being selected for a mood while being in the military somehow caused the crash.
Toady One   
2010-06-13 02:14   
Yeah, this is the same issue as 0000536. The unit and squad are no longer properly recognizing each other. I still need to find out where that relationship is breaking down. I should be able to patch up saves and prevent similar crashes as well.