Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0010956Dwarf FortressDwarf Mode -- Jobs, Animal Handlingpublic2018-11-20 07:312018-11-22 01:35
peccan 
Loci 
normalminorhave not tried
acknowledgedopen 
0.44.12 
 
0010956: Dwarf cannot pasture animal outside of civilian alert burrow, gets stuck repeatedly canceling job
Multiple dwarves keep spamming "cannot pasture Giant Red Panda: Animal inaccessible" even though the animal is perfectly accessible next to my trade depot within my walls and burrows.

DFHack alerts me to a dwarf who is starving and dehydrated. I check in, there seems to be no reason whatsoever why he hasn't eaten or drank.

I realise the panda is standing on the top of the 1x1x1 staircase and the dwarf is sitting below it. I can only induce that the two have pathed through that single tile within a very small time margin, in opposite directions, and are blocking each other. DF doesn't recognise this as a pathing/job conflict. Dwarf lists as No job. I haven't seen other units use the staircase during the time.
I'd wager this will happen every time, but setting it up may be difficult without very minute micromanagement. You'd want to have two friendly units pathing through a single staircase tile at the same time in opposite directions.
No tags attached.
child of 0000600new  haulers in burrows seem to stand around contemplating hauling jobs they can't perform 
Issue History
2018-11-20 07:31peccanNew Issue
2018-11-20 18:59LociNote Added: 0038956
2018-11-20 18:59LociAssigned To => Loci
2018-11-20 18:59LociStatusnew => needs feedback
2018-11-21 01:58PatrikLundellNote Added: 0038958
2018-11-21 13:35peccanNote Added: 0038959
2018-11-21 13:35peccanStatusneeds feedback => assigned
2018-11-21 14:12Shonai_DwellerNote Added: 0038960
2018-11-21 15:08peccanNote Added: 0038962
2018-11-21 15:52peccanNote Added: 0038963
2018-11-21 15:54peccanNote Edited: 0038963bug_revision_view_page.php?bugnote_id=0038963#r15837
2018-11-22 01:19LociNote Added: 0038965
2018-11-22 01:19LociStatusassigned => acknowledged
2018-11-22 01:19LociCategoryPathfinding => Dwarf Mode -- Jobs, Animal Handling
2018-11-22 01:19LociSummaryDwarf and tame animal perma-block each other's path through 1x1x1 staircase, animal cannot be pastured => Dwarf cannot pasture animal outside of civilian alert burrow, gets stuck repeatedly canceling job
2018-11-22 01:19LociRelationship addedchild of 0000600
2018-11-22 01:35peccanNote Added: 0038966
2018-11-22 01:37peccanNote Edited: 0038966bug_revision_view_page.php?bugnote_id=0038966#r15839

Notes
(0038956)
Loci   
2018-11-20 18:59   
Please upload a save demonstrating this problem to DFFD ( http://dffd.bay12games.com/ [^] ) and post a link to it here.
(0038958)
PatrikLundell   
2018-11-21 01:58   
This may be related to 0010561 (petitioner blocking expedition leader on stairs, causing the expedition leader to starve).

If you're using DFHack, you should be able to use the "teleport" command to move one of the units to break the deadlock (but don't do that until a save has been uploaded).
(0038959)
peccan   
2018-11-21 13:35   
@Loci Where are DF saves stored, i.e. what do I need to upload specifically?

@PatricLundell I am using DFHack and actually tried "teleport" elsewhere but it just returned an error that said it needs to be in Adventurer mode.
(0038960)
Shonai_Dweller   
2018-11-21 14:12   
Saves are in the /data/save folder. Zip the folder with files in it (probably called region1 or something similar) and upload that to DFFD.
(0038962)
peccan   
2018-11-21 15:08   
Here we go.
http://dffd.bay12games.com/file.php?id=14121 [^]
(0038963)
peccan   
2018-11-21 15:52   
(edited on: 2018-11-21 15:54)
Concerning teleport, I studied the code a bit and lo and behold, moving the panda 1 tile away didn't fix the deadlock (dwarf still refused to move) but moving the dwarf into the next tile over did apparently satisfy the "path finished" condition and the poor creature...

/edit are you kidding me? the dorf was about to lead the panda up where I'd expect but he turned around, went down the stairs, and they're stuck again, identically to the original set-up.

(0038965)
Loci   
2018-11-22 01:19   
Thank you for the save. Your panda is inaccessible because it is outside your active civilian alert burrows (0000600). Either extend the burrows, cancel the alert, deactivate the pasture, or unassign the panda to "free" your dwarf.

While dwarves shouldn't leave the alert burrows to perform the pasturing job, they should be smart enough not to accept impossible jobs, or at least not to get stuck in a loop accepting and canceling the same impossible job.
(0038966)
peccan   
2018-11-22 01:35   
(edited on: 2018-11-22 01:37)
How embarrassing. I had absolutely assumed my TD be included in one or more of the burrows.

The panda must have become "inaccessible" because it was being led down stairs at the edge of the burrow area allowed for that dorf, and the "control of animal" check does not recognise that situation.

So I'd rename this report to "Dwarf loses control of hauled animal in stairs, gets stuck at edge of burrow" but looks like this tracker doesn't give submitters edit power.