Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0010186Dwarf FortressPathfindingpublic2017-04-08 14:492017-04-09 04:14
lucyviola 
 
normalminorhave not tried
newopen 
Windows10
0.43.03 
 
0010186: Dwarf in an infinite loop
I'd been having problems with dwarves stuck in trees, so I built stairs next to some of the trees so they could get down and disabled picking fruit. This one poor herbalist is climbing a ladder and going down the stairs over and over again, I've tried marking the ladder to be dumped and nothing happens (though that's probably a good thing)! When I remove the stairs, he climbs the tree one more time, cancels Gather Plants: Could not find path and stays up there.
Savegame: http://dffd.bay12games.com/file.php?id=12820 [^]
errorlog.txt: https://pastebin.com/KDY22vM7 [^]
No tags attached.
Issue History
2017-04-08 14:49lucyviolaNew Issue
2017-04-09 04:14PatrikLundellNote Added: 0036400
2017-04-09 04:14PatrikLundellNote Edited: 0036400bug_revision_view_page.php?bugnote_id=0036400#r14695

Notes
(0036400)
PatrikLundell   
2017-04-09 04:14   
If you're using DFHack you can break the cycle by teleporting the gatherer sideways to fall down on the ground, breaking off the task due to dangerous terrain. When the task is taken up again, it's done in a working fashion.
Using vanilla a civilian alert will also cause the gatherer (and everyone else) to break their activities, although a civilian alert burrow can be set to just exclude the tree to only affect the intended target (a regular burrow is ignored by the gatherer until the task is complete, which it never is).

My guess is that the tree grew after the gatherer set out to gather fruit, resulting in the original path being broken, and the gatherer trying to continue using the now broken path, rather than computing a new one.