Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006842Dwarf FortressDwarf Mode -- Jobs, Cancellation and Suspensionpublic2014-07-09 10:022014-08-02 19:50
Toady One 
0006842: Dwarves freeze up (get stuck) if path to destination is blocked (by a wall/bridge)
I have been able to reproduce this issue three times. If a wall is built in a tile a Dwarf is about to walk through, the Dwarf will freeze up (Not in terms of temperature, but in terms of activity), even if the wall can easily be gone around. The Dwarf is still listed as doing whatever job they were heading to do. They remain there until they pass out, changing their activity to "Sleep". When the Dwarf wakes up, they get back to work.
1)Be in Dwarf Fortress mode.
2)Require Dwarves to follow a certain path to do a certain job.
3)Place a wall in the Dwarf's path.
4)Make sure the wall can be easily walked past.

Kind of difficult to reproduce, I know.
-If the job is a designation-based job, un-designating the object will free the Dwarf up.
-Assigning the Dwarf to a burrow does not fix the issue.
-Fellow Dwarves will bring the frozen Dwarf food/water if they become hungry/thirsty.

http://dffd.wimbli.com/file.php?id=9075 [^] (0.40.03)
https://www.dropbox.com/s/p8eu1qwe5xqblia/Stuck%20Fisher.zip [^] (0.40.03)
http://dffd.wimbli.com/file.php?id=9140 [^] (0.40.04)
No tags attached.
has duplicate 0007363resolved Footkerchief Dwarwes stuck when you build walls on their path. 
has duplicate 0007484resolved Footkerchief Character got stuck wanting to gather plants. 
has duplicate 0007040resolved Footkerchief Dwarf Stuck In Place 
has duplicate 0007486resolved Dwarfu Fisherdwarf stuck 
has duplicate 0007566resolved Dwarfu Miner stuck with dig in the corner probably a pathfinding problem 
Issue History
2014-07-09 10:02SquidmanNew Issue
2014-07-09 10:05SquidmanNote Added: 0025345
2014-07-09 10:20FootkerchiefNote Added: 0025347
2014-07-09 10:20FootkerchiefAssigned To => Footkerchief
2014-07-09 10:20FootkerchiefStatusnew => needs feedback
2014-07-10 10:35SquidmanNote Added: 0025556
2014-07-10 10:35SquidmanStatusneeds feedback => assigned
2014-07-16 14:08FootkerchiefSummaryDwarves freeze up if a wall is placed in their path => Dwarves freeze up if a wall is constructed in their path
2014-07-16 14:08FootkerchiefRelationship addedhas duplicate 0007363
2014-07-16 14:08FootkerchiefSummaryDwarves freeze up if a wall is constructed in their path => Dwarves freeze up (get stuck) if a wall is constructed in their path
2014-07-19 09:22DwarfuRelationship addedrelated to 0007484
2014-07-19 11:48TalvienoNote Added: 0026959
2014-07-19 11:49TalvienoNote Edited: 0026959bug_revision_view_page.php?bugnote_id=0026959#r10046
2014-07-19 13:46FootkerchiefRelationship replacedhas duplicate 0007484
2014-07-20 01:55fourpotatoesIssue Monitored: fourpotatoes
2014-07-20 02:04fourpotatoesNote Added: 0026996
2014-07-22 10:45FootkerchiefRelationship addedhas duplicate 0007040
2014-07-22 12:13DwarfuRelationship addedhas duplicate 0007486
2014-07-22 12:14DwarfuNote Added: 0027225
2014-07-22 12:16DwarfuRelationship addedhas duplicate 0007566
2014-07-22 12:42TalvienoNote Added: 0027235
2014-07-24 19:08lethosorNote Added: 0027468
2014-07-24 19:08lethosorAssigned ToFootkerchief => lethosor
2014-07-24 19:08lethosorStatusassigned => acknowledged
2014-07-24 19:09lethosorSummaryDwarves freeze up (get stuck) if a wall is constructed in their path => Dwarves freeze up (get stuck) if path to destination is blocked (by a wall/bridge)
2014-07-24 19:09greycatNote Added: 0027469
2014-07-24 19:30lethosorAdditional Information Updatedbug_revision_view_page.php?rev_id=10314#r10314
2014-07-24 19:51TalvienoNote Added: 0027473
2014-07-25 05:51TalvienoNote Edited: 0027473bug_revision_view_page.php?bugnote_id=0027473#r10318
2014-07-28 16:33lethosorStatusacknowledged => confirmed
2014-07-31 16:46greycatNote Added: 0028060
2014-07-31 16:594maskwolfIssue Monitored: 4maskwolf
2014-08-02 13:39Toady OneStatusconfirmed => resolved
2014-08-02 13:39Toady OneFixed in Version => Next Version
2014-08-02 13:39Toady OneResolutionopen => fixed
2014-08-02 13:39Toady OneAssigned Tolethosor => Toady One
2014-08-02 19:504maskwolfIssue End Monitor: 4maskwolf

2014-07-09 10:05   
-Removing the wall also does not remedy this problem.
2014-07-09 10:20   
Please upload a save that demonstrates the problem to http://dffd.wimbli.com/ [^] and post the link here.
2014-07-10 10:35   
Here you are:
http://dffd.wimbli.com/file.php?id=8838 [^]
2014-07-19 11:48   
(edited on: 2014-07-19 11:49)
I've had this happen with chopping wood. Wasn't sure what was causing the issue. 40.03.

2014-07-20 02:04   
Another instance: http://dffd.wimbli.com/file.php?id=9075 [^]
2014-07-22 12:14   
AseaHeru had this issue with a fisher from 40.03 0007486:
https://www.dropbox.com/s/p8eu1qwe5xqblia/Stuck%20Fisher.zip [^]
2014-07-22 12:42   
I don't think it's so much the walls as having their path removed.
2014-07-24 19:08   
Was able to reproduce with bridges as well - adjusting title accordingly.
2014-07-24 19:09   
0.40.04, Linux. Save at http://dffd.wimbli.com/file.php?id=9140 [^]

Upon reaching her first birthday, Limul Searchedshoots discovered her nakedness and assigned herself a "Pickup equipment" job -- but never moved from the spot where her mother was carrying her at the moment she stopped being a baby.

Limul is standing in the barracks (hotkey F4, or you can use the unit screen). The job is visible on the job screen, and you can see that she's got her eye (metaphorically) on a (giant cave spider silk left glove). There are three such gloves -- one owned and worn by a miner, and two sitting around. By forbidding one, SIGKILLing the process, restoring from the save, and forbidding the other, I can see that the one she wants is on the up/down stairwell at Z=122 (-27 from the surface), and not the one in the smelter at Z=121 (-28 from the surface).

Neither of these gloves shows her (or anyone) as the owner. Forbidding the glove that she wants causes the glove to be removed from the job screen, but does not cause her to cancel the job, or to seek a different item. The job itself cannot be removed (the r is greyed out). Saving and loading does nothing. I haven't tried atom-smashing the glove yet, but if forbidding it doesn't work, I'm dubious that atom-smashing it would be wise.

To the best of my knowledge, there was never any disruption of her path from the barracks to the glove. I haven't been doing any construction work or digging anywhere near that path.
2014-07-24 19:51   
(edited on: 2014-07-25 05:51)
Interestingly, wagons are unaffected by this bug entirely, and are completely capable of repathing. That might help solve it.

Edit: Also interestingly, locking a door doesn't cause the issue.

2014-07-31 16:46   
In the same fortress linked in my previous note (now running under 0.40.05), Limul Searchedshoot eventually broke out of her catatonic state, but I don't know precisely how. I suspect she eventually became thirsty enough to cancel the stuck job, got a drink, and then started over. She is wearing clothing now.

Since then, many other babies have reached their first birthday, and *every single one* has had this same problem. As soon as they become children, they assign themselves a "Pickup Equipment" job that never gets done. They stand in place until something (thirst?) breaks them out of that job. After that, they are fine.