Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0002528Dwarf FortressDwarf Mode -- Jobs, Sleepingpublic2010-06-30 10:482010-07-12 14:39
furiousfish 
 
normalminorhave not tried
newopen 
 
 
0002528: Sleeping dwarf begins drowning, doesn't wake up
A dwarf mined into an underground lake and immediately decided to go to sleep. He became submerged in water and soon drowned (died of suffocation, actually) without ever waking up.
drown, sleep, tired
has duplicate 0003269resolved Logical2u Dwarf sleeps while drowning. 
has duplicate 0006064resolved Logical2u Dwraf sleep while drowning 
related to 0001740new  Civilian sleeps through skeletal fox attack 
related to 0008770assigned Footkerchief Sleeping militia commander will not wake up 
Issue History
2010-06-30 10:48furiousfishNew Issue
2010-06-30 10:51furiousfishNote Added: 0009384
2010-06-30 10:53smjjamesNote Added: 0009385
2010-06-30 11:02furiousfishNote Added: 0009387
2010-06-30 11:10FootkerchiefSummaryUnconscious dwarf did not wake up while drowning => Sleeping dwarf begins drowning, doesn't wake up
2010-06-30 11:35hyndisNote Added: 0009389
2010-06-30 12:12QuietustNote Added: 0009392
2010-06-30 12:13ThrelicusNote Added: 0009393
2010-07-01 10:17furiousfishNote Added: 0009464
2010-07-01 11:43hyndisNote Added: 0009467
2010-07-10 01:23Khym ChanurIssue Monitored: Khym Chanur
2010-07-10 05:40TomiTapioTag Attached: sleep
2010-07-10 05:41TomiTapioTag Attached: drown
2010-07-10 05:41TomiTapioTag Attached: tired
2010-07-12 14:39DoctorZuberNote Added: 0010067
2010-07-12 14:44DoctorZuberNote Edited: 0010067bug_revision_view_page.php?bugnote_id=0010067#r3903
2010-09-17 21:42Logical2uRelationship addedhas duplicate 0003269
2012-07-06 14:35Logical2uRelationship addedhas duplicate 0006064
2014-01-27 20:06FootkerchiefRelationship addedrelated to 0001740
2015-01-28 07:17FootkerchiefRelationship addedrelated to 0008770
2018-04-13 12:42HuntthetrollIssue Monitored: Huntthetroll

Notes
(0009384)
furiousfish   
2010-06-30 10:51   
Game version is 0.31.08.
(0009385)
smjjames   
2010-06-30 10:53   
Suicidal dwarf?

Anyways, are you sure that water pressure didn't slam him against a wall and knock him unconscious?
(0009387)
furiousfish   
2010-06-30 11:02   
I don't think so, his job was listed as "Sleep" and he had no visible injuries.
(0009389)
hyndis   
2010-06-30 11:35   
Haven't seen this in 31.08 since its very hard to do on demand, but I've seen it happen in 31.03.

Dwarf carved a fortification into the side of a brook. Water then began flowing into the plumbing system, but at a very slow pace. Not pressurized, and a dwarf can easily outrun the water.

The dwarf decided it was naptime and just laid down for a nap. He had no injuries at all, and the water filled up to 7/7 and he drowned without waking up.

Reproducing this will be very hard to do, since you need to time the task such that the dwarf wants to sleep right after finishing the task. If he doesn't do it right away then he won't be caught by the water and drown. Its a matter of luck getting the timing to reproduce the bug.
(0009392)
Quietust   
2010-06-30 12:12   
The fact that he suddenly went to sleep probably means he figured he couldn't path to his bed (or any bed) and instead decided to sleep on the ground.
(0009393)
Threlicus   
2010-06-30 12:13   
Should be easy to reproduce, actually. Build a burrow deathtrap and confine a dwarf to it. When he goes to sleep, open the floodgates.
(0009464)
furiousfish   
2010-07-01 10:17   
There were no beds in my fortress at the time, actually. Can't think of any reason he should have had pathing problems.
(0009467)
hyndis   
2010-07-01 11:43   
Had no beds in my fortress at the time either. If there are no beds dwarves will just snooze where they are.

I do think the idea of a burrow or meeting zone reproducing it would work. Make it two levels. Bottom level is the meeting zone. Have no beds. When dwarves get tired they will sleep on the floor. Slowly flood the meeting zone while at the same time allowing them to escape up ramps to dry ground.

The water should cause the dwarves to interrupt their sleeping to move to higher ground.
(0010067)
DoctorZuber   
2010-07-12 14:39   
(edited on: 2010-07-12 14:44)
I can reproduce the "sleep on command" effect reliably if you want. (0000733)

1. create burrow
2. assign dwarf to dig
3. let dwarf start digging and PAUSE
4. assign dwarf to burrow

Result:
dwarf will finish the current task, aka. digging.
dwarf will then become "stuck" on a nearby tile for several minutes.
while stuck, dwarf will use this time to take a nap if he is tired at all.