Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0008240Dwarf FortressDwarf Mode -- Thoughts and Preferencespublic2014-09-04 20:062014-09-07 09:20
Loci 
Footkerchief 
normalminorhave not tried
needs feedbackopen 
0.40.10 
 
0008240: Injured dwarf remains "overcome by terror" through months of hospital care
My cook noticed an unconscious goblin inside my fortress and became "overcome by terror!". He proceeded to run towards the goblin, out of the "safety" burrow, out of the fortress, and into a bridge trap. After falling 8 z-levels he broke his leg and arm and passed out. He was recovered and carried back to the hospital on the 7th of Limestone. On the 11th of Sandstone he was finally diagnosed while resting in bed, still "overcome by terror!". On the 27th of Sandstone he was placed in a traction bench, still "overcome by terror!". It is now the 1st of Granite and he remains in the traction bench, having been "overcome by terror!" for six months straight.
No tags attached.
Issue History
2014-09-04 20:06LociNew Issue
2014-09-04 20:28smjjamesNote Added: 0029955
2014-09-04 23:27FootkerchiefNote Added: 0029956
2014-09-04 23:27FootkerchiefAssigned To => Footkerchief
2014-09-04 23:27FootkerchiefStatusnew => needs feedback
2014-09-05 07:57LociNote Added: 0029960
2014-09-05 07:57LociStatusneeds feedback => assigned
2014-09-05 08:36smjjamesNote Added: 0029961
2014-09-05 09:01smjjamesNote Edited: 0029961bug_revision_view_page.php?bugnote_id=0029961#r11644
2014-09-05 09:34FootkerchiefNote Added: 0029962
2014-09-05 09:34FootkerchiefStatusassigned => needs feedback
2014-09-06 14:25LociNote Added: 0029998
2014-09-06 14:25LociStatusneeds feedback => assigned
2014-09-06 14:55Dame de la LicorneNote Added: 0030000
2014-09-06 15:28Dame de la LicorneNote Edited: 0030000bug_revision_view_page.php?bugnote_id=0030000#r11666
2014-09-06 16:32smjjamesNote Added: 0030001
2014-09-06 18:19LociNote Added: 0030003
2014-09-07 09:20FootkerchiefNote Added: 0030013
2014-09-07 09:20FootkerchiefStatusassigned => needs feedback

Notes
(0029955)
smjjames   
2014-09-04 20:28   
This sounds exactly like the 'stuck in traction' bug, have you tried deconstructing the traction table?

Also, do you have the save of this happening? If so, could you post on DFFD?
(0029956)
Footkerchief   
2014-09-04 23:27   
Does it reproduce in 0.40.11?
(0029960)
Loci   
2014-09-05 07:57   
@smjjames: No; some injuries do indeed take 6+ months to heal. But the bug I'm reporting here is that the "overcome by terror" flag is not being cleared for hospitalized dwarves. I don't think the flag is interfering with treatment in any way, it's just odd/broken to be in mortal terror for 6 months straight.

 

@Footkerchief: I don't know.
(0029961)
smjjames   
2014-09-05 08:36   
(edited on: 2014-09-05 09:01)
True Loci, but have you tried to see if it does anything?

Though if the injuries are so bad that they take 6+ months to heal, I guess it's something like PTSD?

Also, what are the stats of that dwarf, like their discipline, courage/bravery, etc?

(0029962)
Footkerchief   
2014-09-05 09:34   
Need a save for 0.40.11+.
(0029998)
Loci   
2014-09-06 14:25   
Is there some reason to believe that this behavior has changed in v0.40.11? I see nothing in the changelog that suggests this bug has been fixed.
(0030000)
Dame de la Licorne   
2014-09-06 14:55   
(edited on: 2014-09-06 15:28)
Bugs can get fixed unintentionally, without a mention in the change/dev logs. In any case, the more recent the save, the easier Toady can track down the cause.

(0030001)
smjjames   
2014-09-06 16:32   
Have you even tried to see if deconstructing the traction bench removes that state? You can just make a copy of the save if you don't want to redo the 6+ months of healing for that dwarf.

Toady One just marked off the 'stuck in traction' reports as being fixed by that rest+knockout bug fix for the next version, so, unless that dwarf has finished healing by the time 4.12 is released, you should definetly check if it happens in that version.
(0030003)
Loci   
2014-09-06 18:19   
The dwarf eventually does heal completely while remaining "overcome by terror!". Removing the traction bench frees the dwarf and removes the "overcome by terror!" status shortly thereafter, whether the dwarf has finished healing or not. Assuming that the dwarf would no longer be stuck in traction in v0.40.12, he would still have been "overcome by terror!" for 6 months straight, which, in my opinion, is still clearly buggy behavior.

I really don't think this is a grand or mysterious bug. There is a flag set when a dwarf becomes terrified. This flag apparently did not get cleared when a dwarf was hospitalized while unconscious, nor during the following 6 months of treatment/rest. This flag probably should be cleared upon hospitalization, or possibly some time shortly after.
(0030013)
Footkerchief   
2014-09-07 09:20   
My guess is that you're right, but it's hard to be sure of the problem (and whether the solution works) without a save.