Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0007775Dwarf FortressDwarf Mode -- Militarypublic2014-07-31 23:082014-09-05 14:28
Toady One 
0007775: Military dwarves randomly get stuck on 'Eat/Drink', won't path to stockpile
Military dwarves randomly get stuck on 'Eat' or 'Drink' while training, will not path to food stockpiles. They're stuck until they die of dehydration.

http://dffd.wimbli.com/file.php?id=9225 [^]
Save is focused on the problem, z98.

Looks like:
http://www.bay12games.com/dwarves/mantisbt/view.php?id=499 [^]

No visible errors in the error/game log.
This seems to happen at random intervals to military dwarves in training. No known trigger.

I've seen this on multiple forts, so possibly related to my training layout.

armor rack
Sometimes fixes:
- Occasionally, adding affected dwarves to a burrow will allow them to escape.
- Occasionally, setting up a danger room style upright spear will work (unconscious>rescued).
- Placing food/drink in the same tile will remove the status, but they still don't path.
- Building items underneath them (bed/table/chair)

Does not work:
- Deconstructing the barracks
- Station elsewhere
- Removing affected from the squad/military does not help
- Changing schedule
- Changing min number of dwarves in the order
No tags attached.
Issue History
2014-07-31 23:08fortunawhiskNew Issue
2014-08-03 16:27fortunawhiskNote Added: 0028248
2014-08-21 19:45EuiusNote Added: 0029468
2014-08-21 19:45EuiusNote Edited: 0029468bug_revision_view_page.php?bugnote_id=0029468#r11345
2014-08-21 20:17FootkerchiefAssigned To => Footkerchief
2014-08-21 20:17FootkerchiefStatusnew => confirmed
2014-09-02 16:48clanlNote Added: 0029907
2014-09-02 16:59smjjamesNote Added: 0029908
2014-09-05 14:28Toady OneNote Added: 0029976
2014-09-05 14:28Toady OneStatusconfirmed => resolved
2014-09-05 14:28Toady OneFixed in Version => Next Version
2014-09-05 14:28Toady OneResolutionopen => fixed
2014-09-05 14:28Toady OneAssigned ToFootkerchief => Toady One

2014-08-03 16:27   
Retested attached save with 40.06, no change to existing stuck dwarves.
After freeing dwarves via spear, problem repeats itself with different dwarves.

Appears to be:
Single tile training space:
Two dwarves from the same squad
No other stuck dwarves in the same tile.
2014-08-21 19:45   
Just wanted to confirm that in 40.08 I'm also getting this issue, and while it's more prevalent in military it also occurs in other dwarves.

I know you're not interested in dfhack issues, but I was unable to snap the dwarves out of it, and after one starved to death while standing on a stockpile with food in it, just set the "unit.counters.unconscious" timer of another dwarf similarly affected to 10, where upon they immediately woke back up and started operating normally.

Civilian dwarves are getting stuck on "storing in stockpile", while standing on top of a bin. They can be revived by dumping the bin.

2014-09-02 16:48   
It might be worth investigating if this is related to 0005992 (Conflict between hauling jobs (i.e. filling containers) and other jobs using items in those containers).
The food/drinks they want to get might be in a barrel currently carried by someone else; consequently, the dwarf in question might get stuck, because the job item is not accessible, but can't cancel the job similar to 0006842
2014-09-02 16:59   
I occasionally had this happen in a similar way in 34.11 where occasionally a soldier dwarf (usually one of my marksdwarves, but it can happen to any) would freeze up with a pickup equipment job or something and would be stuck until they fall asleep. I forget if hunger or thirst snapped them out of it.

What I observed then might be similar to this.
Toady One   
2014-09-05 14:28   
They were wrestling, but the wrestle had become corrupted somehow. I put in a fix for wrestles that become problematic, so there won't be stuck dwarves, but I'm still looking into the broken wrestle.