View Issue Details

IDProjectCategoryView StatusLast Update
0006429Dwarf FortressDwarf Mode -- Jobs, Building Construction and Destructionpublic2015-01-10 12:48
ReporterQuietust Assigned Touser6 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Platformamd64OSWindowsOS Version7
Product Version0.34.11 
Summary0006429: Crash when cancelling removal of building being linked to trigger
DescriptionIf a "Link lever to trigger" job is currently active and the target building starts being removed, cancelling the Remove operation once it has made actual progress (such that it tries to change back into a "Construct building" job) will cause the game to crash.
Steps To Reproduce1. Make a door and 3 mechanisms
2. Build the door somewhere, and place a lever nearby
3. Create a job to link the lever to the door
4. Once the job starts, order the door to be deconstructed.
5. Wait until the door's appearance changes to "queued but not complete" (i.e. black "╪" with light grey background)
6. Query the door and press "s" to Stop Removal, then unpause. The game will crash.
Additional InformationThis crash appears to be a long-standing bug - I was able to reproduce it in version 0.23.130.23a.

This is probably linked to the fact that cancelling removal of a building in this state causes it to change to a "construct building" job which immediately fails with the message "The dwarves were unable to complete the [building]".
TagsNo tags attached.

Activities

Quietust

2014-02-06 18:54

reporter   ~0024501

Upon closer investigation, stopping building removal does NOT actually create a new "construct building" job, so as soon as it realizes that it's partially constructed and has no job, it gets destroyed with the "unable to complete" message.

lethosor

2014-02-07 12:20

manager   ~0024502

Is this Windows-only? I've been unable to reproduce it after numerous attempts on OS X (although I do notice a small pause when canceling the door's removal). I haven't tried reproducing it on Linux, but I can try when I get a chance.

user6

2015-01-08 09:01

  ~0031784

Is this bug still present?

Quietust

2015-01-10 08:46

reporter   ~0031843

Yes, it still happens with the exact same steps, though it's a bit more difficult to reproduce since lever linking appears to have become instantaneous...

Add Note

Note

Issue History

Date Modified Username Field Change
2014-02-06 14:51 Quietust New Issue
2014-02-06 18:54 Quietust Note Added: 0024501
2014-02-07 07:19 user6 Assigned To => user6
2014-02-07 07:19 user6 Status new => acknowledged
2014-02-07 12:20 lethosor Note Added: 0024502
2015-01-08 09:01 user6 Note Added: 0031784
2015-01-08 09:01 user6 Status acknowledged => feedback
2015-01-10 08:46 Quietust Note Added: 0031843
2015-01-10 08:46 Quietust Status feedback => assigned
2015-01-10 12:48 user6 Status assigned => confirmed