Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001529Dwarf FortressDwarf Mode -- Militarypublic2010-04-25 11:362011-04-01 08:04
resolvedunable to reproduce 
0001529: remove military cabinet and game crashed to desktop
every time I remove the center microline cabinet on z150, my game crashes. this cabinet is the base of my military training room.

running windows7 and DFG30 (v30, updated 15 IV 2010, uses df.0.31.03)

please be easy on my fortress, being my first I haven't had much fun yet.
related to 0003395new  Can't assign barracks made out from Cabinets 
related to 0000406closed Toady One Crash after removing barracks on weapon rack 
has duplicate 0001848closed Logical2u Destroying Furniture without any Open Stockpiles Crashed DF 
child of 0000542resolved Footkerchief Deconstructing a coffer that is assigned to a dwarf causes a crash 
Issue History
2010-04-25 11:36fastcrabNew Issue
2010-04-25 11:46fastcrabIssue Monitored: fastcrab
2010-04-25 11:46fastcrabIssue End Monitor: fastcrab
2010-04-25 11:47fastcrabNote Added: 0005014
2010-04-25 12:07Logical2uNote Added: 0005016
2010-04-25 12:07Logical2uTag Attached: crash
2010-04-25 12:10FootkerchiefCategoryDwarf Mode -- Reclaim => Dwarf Mode -- Military
2010-04-25 12:19FootkerchiefNote Added: 0005018
2010-04-25 12:19FootkerchiefIssue Monitored: Footkerchief
2010-04-25 13:31fastcrabNote Added: 0005025
2010-04-25 13:33FootkerchiefRelationship addedchild of 0000542
2010-05-12 16:00JeffGrovesNote Added: 0006614
2010-06-08 17:35Logical2uRelationship addedhas duplicate 0001848
2010-06-08 17:36Logical2uNote Added: 0007968
2010-07-06 06:18dgliddenNote Added: 0009678
2010-07-06 06:18dgliddenNote Edited: 0009678bug_revision_view_page.php?bugnote_id=0009678#r3734
2010-11-16 13:22FootkerchiefRelationship addedrelated to 0003395
2011-04-01 07:58FootkerchiefRelationship addedrelated to 0000406
2011-04-01 08:04FootkerchiefNote Added: 0016935
2011-04-01 08:04FootkerchiefStatusnew => resolved
2011-04-01 08:04FootkerchiefResolutionopen => unable to reproduce
2011-04-01 08:04FootkerchiefAssigned To => Footkerchief

2010-04-25 11:47   
saved recreation to get to the z150 in question:

http://dffd.wimbli.com/file.php?id=2228 [^]
2010-04-25 12:07   
Might be a similar error to 0000542

Also potentially the same as 0000406 - that was supposed to have been fixed.
2010-04-25 12:19   
I think you uploaded the wrong save. The world in that save has no fortresses in it.
2010-04-25 13:31   
updated with correct(ed) save file :v2: @ the same location:
  http://dffd.wimbli.com/file.php?id=2228 [^]

I noticed that it does not crash if I (f)ree the cabinet before removing it.

I agree that it sounds like the same issue as 542.
2010-05-12 16:00   
I've replicated the issue sometimes. Quickly making a coffer, turning it into a barracks, and then removing it doesn't seem to crash it.

I suspect it might require dwarves to be training in that barracks for it to crash.

Windows 7, 31.03
2010-06-08 17:36   
http://www.mediafire.com/download.php?j1z2cknh0xz [^] is a save provided from 0001848 for use in this bug report.
2010-07-06 06:18   
I believe I've seen the same thing as of 31_08. I've been trying to reproduce the steps but it's erratic at best. I had an armor rack (so it's not just cabinets) assigned as a barracks and dwarves in the squad in "Active/Training" mode. Then I removed the armor rack, intending to move the barracks and it crashed to desktop. (At least I think that's why it crashed.) I've been able to remove a barracks without it crashing, at least not immediately. However I don't seem to be able to crash if I mark the squad inactive first, then remove the object defining the barracks.

Like I said, I'm having trouble exactly reproducing so it seems there are probably other factors involved, but it does seem to be more or less directly related to dwarves training in a barracks when the barracks is removed.

2011-04-01 08:04   
fastcrab's save no longer reproduces the problem, and the Mediafire link is expired. This probably got fixed sometime, but who knows when.