Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000185Dwarf FortressPathfindingpublic2010-04-02 14:562014-03-25 10:27
resolvedunable to reproduce 
0000185: Dwarves (miners at least) with job pathfinding to same square get stuck
I was trying to get my dwarves digging to "glory" ASAP, so I had them drill two holes in the mountainside leading to 1x2 up/down staircases, and designated staircases for several z-levels. These mountainside tunnels both led to ONE (the rightmost) staircase. The dwarf tunneling from the south tunneled out the first staircase, and queued up for the staircase diagonally (northwest) from him. At the same time, the dwarf in the eastern tunnel breached the east side of the staircase the other dwarf just finished, and queued up the staircase BELOW the staircase that was just finished.

Apparently, the south dwarf was attempting to path to the square with the staircase he just finished in order to dig out the staircase northwest of him. The other dwarf wanted the same square to dig out the staircase one z-level below. I COULD assume that they were both being extra-modest in an infinite loop of "No, I can wait, YOU take the square first".

I was forced to disable the mining labor on the east dwarf. He canceled his mining job (I thought they finished their job before quitting the labor?) and the southern dwarf took the square they were fighting over, and finished the staircase. Re-enabling the labor on the east dwarf cause digging to proceed normally.

Since pathing isn't really plannable in any way down to the last second, this is fairly minor and shouldn't happen often, if at all, and an uncommon situation, but if not caught by the administrator (i.e. the player), it can cause the dwarves to basically brainfreeze until they cancel their job for something else like food or drink. If that doesn't happen, they'll eventually die.
related to 0002416new  For jobs on edge of burrow, dwarves get stuck trying to complete the job from outside the burrow 
Issue History
2010-04-02 14:56BoxNew Issue
2010-04-02 18:39TodestoolTag Attached: pathfinding
2010-04-03 15:21FootkerchiefCategoryGeneral => Pathfinding
2010-06-21 15:55FootkerchiefRelationship addedrelated to 0002416
2010-06-21 16:02smjjamesNote Added: 0008926
2010-07-05 19:11BoxNote Added: 0009669
2010-07-05 19:12BoxNote Edited: 0009669bug_revision_view_page.php?bugnote_id=0009669#r3726
2014-03-25 10:27DwarfuNote Added: 0024622
2014-03-25 10:27DwarfuStatusnew => resolved
2014-03-25 10:27DwarfuResolutionopen => unable to reproduce
2014-03-25 10:27DwarfuAssigned To => Dwarfu

2010-06-21 16:02   
What version are you using, this is important since there have been pathing fixes before.
2010-07-05 19:11   
(edited on: 2010-07-05 19:12)
Ha ha, oh wow, didn't know people still paid attention to this one. Computer's been dead and all.

This was on the original release 31.01. When reported the version select thing wasn't available. Didn't have this problem a second time for when I playing, although I didn't use burrows at all and I haven't played since 31.03 due to hard drive destruction so my playtesting time hasn't at all been at great lengths.

It might be safe to assume it's been fixed by now with all of the fuddling with pathfinding, but since I haven't played for quite some time I can't confirm that, especially since it's difficult to reproduce.

2014-03-25 10:27   
If this happens again to anyone, please compress (.zip) your DF/data/save/region folder, upload it to http://dffd.wimbli.com [^] and notify a manager on the forums.