Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0002606Dwarf FortressDwarf Mode -- Jobs, Healthcarepublic2010-07-09 18:512015-12-03 13:14
cephalo 
Toady One 
normalminorrandom
resolvedfixed 
0.31.08 
0.40.12 
0002606: prisoner died of dehydration, plenty of water, labor.
I just had a dwarf die of dehydration in prison. I have two healthcare workers who have no other job but feeding/watering, plus nearly all of my other dwarves have this labor enabled. My wells are active there are buckets everywhere. Previous prisoners did fine, but this was my first 101 day sentence.

You know what... I hate mandates with a passion. The only solution is to murder all nobles, which is extremely goofy, even though its become accepted practice. I just hate the whole mechanic.
dehydration, give food, give water, jail, justice, prison, prisoner, save, starving
has duplicate 0003031resolved Dwarfu dwarves in jail die of thirst (every time) 
has duplicate 0005735resolved Knight Otu Prisoner dehydrated and not given water 
child of 0000703confirmed Dwarfu Chained mother "cancels seek infant" until death from dehydration, and other imprisonment issues 
Issue History
2010-07-09 18:51cephaloNew Issue
2010-07-09 21:18TomiTapioNote Added: 0009858
2010-07-09 21:18TomiTapioTag Attached: dehydration
2010-07-09 21:18TomiTapioTag Attached: justice
2010-07-09 21:18TomiTapioTag Attached: jail
2010-07-09 21:19TomiTapioNote Edited: 0009858bug_revision_view_page.php?bugnote_id=0009858#r3802
2010-07-09 21:19TomiTapioTag Attached: prison
2010-07-09 21:19TomiTapioTag Attached: prisoner
2010-07-09 21:19TomiTapioTag Attached: give water
2010-07-09 23:52DawideIssue Monitored: Dawide
2010-07-09 23:52DawideIssue End Monitor: Dawide
2010-07-10 07:47cephaloNote Added: 0009880
2010-07-10 08:05TomiTapioNote Added: 0009881
2010-07-10 08:06TomiTapioNote Edited: 0009881bug_revision_view_page.php?bugnote_id=0009881#r3811
2010-07-12 01:37bobbensNote Added: 0010010
2010-07-12 05:32cephaloNote Added: 0010021
2010-07-12 10:46FootkerchiefRelationship addedchild of 0000703
2010-07-12 10:46FootkerchiefNote Added: 0010045
2010-07-12 12:22cephaloNote Added: 0010057
2010-07-12 16:33cephaloNote Added: 0010081
2010-07-31 16:58SergiusNote Added: 0011342
2010-07-31 19:51cephaloNote Added: 0011343
2010-08-14 17:34DwarfuRelationship addedhas duplicate 0003031
2010-09-12 13:39ValgurisNote Added: 0012598
2010-09-12 13:42ValgurisNote Edited: 0012598bug_revision_view_page.php?bugnote_id=0012598#r4900
2010-09-12 13:42ValgurisNote Edited: 0012598bug_revision_view_page.php?bugnote_id=0012598#r4901
2010-09-15 06:07HebaruSanIssue Monitored: HebaruSan
2010-11-20 03:03wRARIssue Monitored: wRAR
2011-03-10 19:03Granite26Note Added: 0016072
2011-03-19 19:35greycatNote Added: 0016384
2011-04-25 15:54malvadoNote Added: 0017513
2011-04-26 02:23AlumineNote Added: 0017517
2011-04-27 08:23KonIssue Monitored: Kon
2011-05-26 11:58ponomNote Added: 0017859
2011-05-26 12:59QuietustNote Added: 0017860
2011-07-11 04:08FarmerbobNote Added: 0018198
2011-07-11 04:31FarmerbobNote Edited: 0018198bug_revision_view_page.php?bugnote_id=0018198#r6805
2011-07-11 05:15FarmerbobNote Added: 0018199
2011-07-11 05:27FarmerbobNote Added: 0018200
2011-07-11 05:27FarmerbobIssue Monitored: Farmerbob
2011-07-22 16:50VheridIssue Monitored: Vherid
2012-03-31 03:37Knight OtuRelationship addedhas duplicate 0005735
2012-03-31 03:38Knight OtuNote Added: 0021936
2012-03-31 04:07InfiltratorIssue Monitored: Infiltrator
2012-03-31 04:10InfiltratorNote Added: 0021937
2014-05-16 20:48UristDaVinciNote Added: 0024760
2014-05-16 20:50UristDaVinciNote Edited: 0024760bug_revision_view_page.php?bugnote_id=0024760#r9259
2014-05-17 08:36UristDaVinciNote Edited: 0024760bug_revision_view_page.php?bugnote_id=0024760#r9260
2014-08-08 18:42cephaloNote Added: 0028628
2014-08-08 19:09FootkerchiefNote Added: 0028629
2014-08-08 21:194maskwolfIssue Monitored: 4maskwolf
2014-08-09 11:05DwarfuAssigned To => Dwarfu
2014-08-09 11:05DwarfuStatusnew => acknowledged
2014-08-12 14:10FootkerchiefStatusacknowledged => confirmed
2014-08-13 08:04KribyNote Added: 0028940
2014-08-13 13:33KribyNote Edited: 0028940bug_revision_view_page.php?bugnote_id=0028940#r11116
2014-08-13 13:34KribyNote Edited: 0028940bug_revision_view_page.php?bugnote_id=0028940#r11117
2014-08-13 13:39KribyIssue Monitored: Kriby
2014-08-17 15:04KribyNote Edited: 0028940bug_revision_view_page.php?bugnote_id=0028940#r11205
2014-08-17 15:10KribyTag Attached: give food
2014-08-17 15:10KribyTag Attached: save
2014-08-17 15:10KribyTag Attached: starving
2014-09-07 11:35Toady OneStatusconfirmed => resolved
2014-09-07 11:35Toady OneFixed in Version => Next Version
2014-09-07 11:35Toady OneResolutionopen => fixed
2014-09-07 11:35Toady OneAssigned ToDwarfu => Toady One
2014-09-08 08:164maskwolfIssue End Monitor: 4maskwolf
2014-10-06 00:38wRARIssue End Monitor: wRAR
2015-12-03 13:14KonIssue End Monitor: Kon
2016-10-01 07:06InfiltratorIssue End Monitor: Infiltrator

Notes
(0009858)
TomiTapio   
2010-07-09 21:18   
(edited on: 2010-07-09 21:19)
Did you set up the justice-chain next to food and booze barrels?

(0009880)
cephalo   
2010-07-10 07:47   
I will from now on! I actually tried to do that at first, but it seems that you can't actually put booze in 1 tile stockpile. I have extended those to two tiles so they don't get filled up with empty barrels, so that this won't happen to me anymore.

Still, any one of 65 dwarves could have given the guy water, but nobody did. He died one square out of reach from a bucket full of 8 water. It has to be kindof a priority when some innocent and useful dwarf's life is at stake. Usually it seems to be that way, but I'm thinking that this must have been a bug.
(0009881)
TomiTapio   
2010-07-10 08:05   
(edited on: 2010-07-10 08:06)
Someone should try this with justice-cages too.

One can mod some noble positions out, to have a more Fun game.

(0010010)
bobbens   
2010-07-12 01:37   
Had the same issue, solved it by temporarily destroying the jail to let the prisoners eat/drink and then rebuilding it. The task manager did not list give drink to the prisoners at all.
(0010021)
cephalo   
2010-07-12 05:32   
After I had let my booze stocks get too low to fill his pile, I had another prisoner who clearly was not going to be given water. He was thirsty and hungry and about 10 dwarves were listed as 'no job'. I had to cut his chain. I think maybe prisoner feeding might be broken in this fort. Patient feeding is clearly working however.
(0010045)
Footkerchief   
2010-07-12 10:46   
This one will probably be hard to fix without a save that demonstrates the problem. You can upload to http://dffd.wimbli.com/ [^]
(0010057)
cephalo   
2010-07-12 12:22   
I could upload something, but nobody is in jail right now. Is there a way to force someone to commit a crime? If I see it one more time I will upload while the guy is still in jail.

I will also report back if I actually see someone feed a prisoner or have that job description.
(0010081)
cephalo   
2010-07-12 16:33   
Had a buildup of bugs to report so I do have a save after all.

http://dffd.wimbli.com/file.php?id=2670 [^]

I have had two prisoners in a row that were not fed by my dwarves. I expect the next one to be the same. Mayor likes adamantine, so it's just a matter of time for a new prisoner. You'll have to remove the food and drink stockpiles near his chain if you want to watch him get hungry/thirsty.
(0011342)
Sergius   
2010-07-31 16:58   
I *think* the problem might be that the game is designating somebody specific to do the job, and that guy is busy. For some reason, I had this problem, but I stopped mining and suddenly one of my miners decided he was going to "give water". So it may be a good idea to disable the job for the guys that may have busy for long periods of time, such as miners.
(0011343)
cephalo   
2010-07-31 19:51   
I should add that I never have this problem with guys in the hospital. Yet I lost a third prisoner because I accidently let my booze get low. My furniture stockpile was full so they weren't moving the barrels! I thought I had plenty.
(0012598)
Valguris   
2010-09-12 13:39   
(edited on: 2010-09-12 13:42)
I have similar problem, here is save:
http://dffd.wimbli.com/file.php?id=3099 [^]

Dwarves won't feed prisoner no matter what will I do and I can't release her from cage.
Oh, it seems they gave her water once, long time ago. ~ 70 days ago.

(0016072)
Granite26   
2011-03-10 19:03   
No save, but had this in 31.19
(0016384)
greycat   
2011-03-19 19:35   
Similar problem in 0.31.21: http://dffd.wimbli.com/file.php?id=3996 [^]

Prisoner is dehydrated. Prisoner is in a cell with booze, and also a bucket of water. But he won't drink it -- he's stuck on "No Job (Chained)". Nobody else will bring him another bucket of water, either.

After saving, I tried deconstructing the rope. The prisoner switched job to "Drink" but pursued some booze farther away. Before he could get him some booze, the captain of the guard captured him and put him in the other cell.

Rebuilt the first rope, and deconstructed the second cell's rope. He went for the far away booze again, and got caught again, and was placed back in the first cell.

This time I tried locking the cell door, so he couldn't attempt to path to the far away booze that he wanted. Success! He switched job to "Drink", moved to the booze in his cell, picked it up, and started drinking.
(0017513)
malvado   
2011-04-25 15:54   
Can confirm that this problem still persists in 31.25
Only way around it is to micro-manage the prison by de-constructing and locking the Guard Captain in his own rooms...

Prisoners ocassionally gets food and drink , but it's very rare and inconsistent.
Seems prisons will need a prison guard that only works there.

I have more dwarven deaths by the justice system than I have currently by goblins and megabeasts...
(0017517)
Alumine   
2011-04-26 02:23   
Also confirmed for .25
(0017859)
ponom   
2011-05-26 11:58   
prisoner seecking for child refuse to drink/eat, generate lot of spam and die of dehydratation although chained next to well.
it seems the only job for him is trying to get his child.

31.24
(0017860)
Quietust   
2011-05-26 12:59   
I had one prisoner who started repeatedly trying to get a drink from a distant stockpile - he'd get the "Drink" job and then fall over once he reached the end of his chain, repeating over and over. Upon locking his cell, he'd cancel Drink with "Could not find path" and sit still, but unlocking the door would just cause it to start up all over again. When he was first imprisoned, he was given a bucket of water, but I had to place a 2-tile booze stockpile next to him to keep him alive.

Food didn't seem to be a problem, though.
(0018198)
Farmerbob   
2011-07-11 04:08   
(edited on: 2011-07-11 04:31)
Verified this problem still exists. I have a vanilla .25 save that I have uploaded to DFFD here: No matter what you do, you cannot get the prisoner to be fed or watered. Plenty of buckets, wells nearby, food all over the place. Booze is a bit short supply, but still plenty if they want to give him that.

No matter who I try to free up and give feed/water labor to, everyone ignores him. The mayor, the lawgiver, the chief medical dwarf, & his lover. All of them completely ignore his status.

http://dffd.wimbli.com/file.php?id=4653 [^]

Vanilla 0.25 world, no dwarf civ, no elf civ, never seen a human, and We've been locked inside the mountain for 23 years. 19 adult and 37 child dwarves. You would think at least one of the kids would feed him. Nope.

I am going to attempt to remove every single job from every single dwarf in the entire fortress and assign them to the job.

Really, feeding one prisoner should not be a megaproject.

Please note, that in this save, the problem is infinitely repeatable. I just freed up every single dwarf from every single labor except feed/water and they all ignored him till he died. They will not under any circumstances feed the prisoner.

(0018199)
Farmerbob   
2011-07-11 05:15   
Oh, Good Lord. I've been trying everything I can think of. His lover came by, with only feed/water jobs enabled, and spent TWO breaks standing next to him, while he was starving and dehydrating. Then someone called a party at the well, 20 tiles away, and she left him, then he died.

I'm going to TRY to get two mechanisms connected to the cage after I remove it from a justice room, put food in the room, lock the doors to keep the hammerer out, then pull the lever. This is utterly insane.
(0018200)
Farmerbob   
2011-07-11 05:27   
No luck. I'm actually watching dwarves with no job at all except feed water and move furniture go out of their way and path farther from the cage than they need to when they go through the jail. Except his lover, who will walk over and whisper sweet nothings in his ear as he dies.

Going to have to save scum and rebuild the jail with chains rather than cages.
(0021936)
Knight Otu   
2012-03-31 03:38   
Infiltrator posted a 34.07 save at 0005735
(0021937)
Infiltrator   
2012-03-31 04:10   
I swear that I did a search for "prisoner" before posting a new bug; and I kewn that I'd seen this bug before.

Anyway, save at http://dffd.wimbli.com/file.php?id=6047 [^]

It takes about a month from unpausing until the prisoner dies. Have three nurse dwarves that sit around on "No Job" even though they actually fed and watered the prisoner before (you can see the "received water/food" messaged in the prisoner's thoughts).
(0024760)
UristDaVinci   
2014-05-16 20:48   
(edited on: 2014-05-17 08:36)
Dwarf fortress units/creatures have "misc traits" such as Migrant, RoomComplaint, UnnamedResident, ClaimTrinketCooldown, ClaimClothingCooldown, WantsDrink, LikesOutdoors, Hardened, TimeSinceBreak, OnBreak, CaveAdapt, IdleAreaCooldown, PartiedOut, WoundsCleaned, MilkCounter, HadDrill, CompletedDrill, EggSpent, GroundedAnimalAnger, TimeSinceSuckedBlood, DrinkingBlood, RevertWildTimer.

At least those are the names that the DFHack team gives to the values. Some of the traits or cooldowns are unknown. Misc traits 0 and 1 are used as cooldowns for creatures being watered or fed respectively. These cooldowns are set at 2000 when a creature is being brought water/food, and appear to count down once every 10 ticks or so. Once the countdown reaches zero, another water/food job can be created.

HOWEVER, in some cases these water/food countdowns are stopping or being reset to 2000 without a creature being fed/watered, so the creature eventually dies. Manually setting the countdowns to zero with DFHack results in the creation of GiveWater and GiveFood jobs.

EDIT: Using DFHack I have been able to zero the countdowns and have Prisoners (caged or chained), patients, and loose babies given water or food. I did NOT have to touch the job list.

EDIT 2: It looks like the misc trait cooldown is being reset once it has been identified that the unit needs watering/feeding, but BEFORE it is checked if there is a valid "nurse" dwarf (has no job, has appropriate labor enabled, is physically able to path to patient, etc.) able to provide assistance. So if at that instant there is no nurse dwarf able to take the job to water/feed the unit, the cooldown is reset. Is this the purpose of the cooldown?

(0028628)
cephalo   
2014-08-08 18:42   
in 40.05 I had to release a few prisoners to get food and water right before death.
(0028629)
Footkerchief   
2014-08-08 19:09   
A recent save might be helpful for this.
(0028940)
Kriby   
2014-08-13 08:04   
(edited on: 2014-08-17 15:04)
Had this happen in 40.08 using LNP 40.08 r1. (DF + DT)

The prisoner died and my previous save is exactly prior to the start of incarceration, however. If it reproduces from that save I will upload a save from there.

Edit:

Got it. Additionally, the prisoner -did- receive water and food from his co-dwarves initially. Now he's left to rot, though.

Rovod is the prisoner, F5 zooms to him.

http://dffd.wimbli.com/file.php?id=9384 [^]


Using DFHack to reset a cooldown belonging to the imprisoned dwarf caused him to immediately be given water and fed, so this is probably the same problem UristDaVinci reports above.

http://www.bay12forums.com/smf/index.php?topic=138609.msg5286137#msg5286137 [^] has a work-around.