Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0004695Dwarf FortressDwarf Mode -- Jobs, Cleaningpublic2011-06-11 03:392012-03-03 16:55
Win7 Pro
0004695: Clean self loop (soap)
31.25 has seen some great fixes to soap and clean self in particular to combat the cancelation spams.

I have noticed however that a faliure case still exists for clean self.

A dwarf that is too injured to perform 'clean self' will head to a bar of soap to clean, realise he is too injured and walk away (3-4 tiles) before turning around and trying again.

No cancelation message is generated
You need a really crippled dwarf to reproduce this. No arms will do it, or motor nerve damage to both hands. I have always been able to spot this bug sooner or later with a suitably injured dwarf so bug could count as 'always reproducable' however does not always happen immediately and is hard to spot
Since the dwarf does not spam a cancelation I have no idea if the loop is truly infinite, I've watched armless dwarves loop for several thousand game ticks however.

Loop can be immediately broken by forbidding the soap bar, it seems the dwarf will not immediately pick another to get stuck on but usually returns to idling for a bit before getting caught again. (this injured a dwarf is permenantly idle)

Note that since no cancelation is generated this bug is often invisible. I only ever notice by happening to scroll past stuck dwarf or noticing his job task in 'u' list being stuck on clean self.
No tags attached.
related to 0000306resolved Toady One Injured soldier tries to pick up equipment with broken arms- message spam 
has duplicate 0006234resolved Dwarfu clean self job for dwarf with no ability to grasp 
related to 0006022new  Woodcrafter cancels Report Crime: Too injured. (message spam) 
Issue History
2011-06-11 03:39celemNew Issue
2011-06-11 09:43DwarfuRelationship addedduplicate of 0002222
2011-06-11 09:43DwarfuStatusnew => resolved
2011-06-11 09:43DwarfuResolutionopen => duplicate
2011-06-11 09:43DwarfuAssigned To => Dwarfu
2011-06-13 16:35celemNote Added: 0017992
2011-06-13 16:35celemStatusresolved => needs feedback
2011-06-13 16:35celemResolutionduplicate => reopened
2011-06-13 16:39celemNote Edited: 0017992bug_revision_view_page.php?bugnote_id=0017992#r6716
2011-06-13 16:44celemNote Edited: 0017992bug_revision_view_page.php?bugnote_id=0017992#r6717
2011-06-13 16:49celemNote Edited: 0017992bug_revision_view_page.php?bugnote_id=0017992#r6718
2011-06-13 16:51celemNote Edited: 0017992bug_revision_view_page.php?bugnote_id=0017992#r6719
2011-06-13 16:54celemNote Edited: 0017992bug_revision_view_page.php?bugnote_id=0017992#r6720
2011-06-13 17:02celemNote Edited: 0017992bug_revision_view_page.php?bugnote_id=0017992#r6721
2011-06-13 17:04celemNote Edited: 0017992bug_revision_view_page.php?bugnote_id=0017992#r6722
2011-06-13 17:06celemNote Edited: 0017992bug_revision_view_page.php?bugnote_id=0017992#r6723
2011-06-13 17:06celemNote Edited: 0017992bug_revision_view_page.php?bugnote_id=0017992#r6724
2011-06-13 17:07celemNote Edited: 0017992bug_revision_view_page.php?bugnote_id=0017992#r6725
2011-06-14 05:44Hieronymous AlloyIssue Monitored: Hieronymous Alloy
2011-07-06 16:51ZoomulatorNote Added: 0018147
2011-07-06 16:52ZoomulatorNote Edited: 0018147bug_revision_view_page.php?bugnote_id=0018147#r6779
2011-07-22 17:13VheridIssue Monitored: Vherid
2011-07-27 09:20DwarfuRelationship deleted0002222
2011-07-27 09:24DwarfuNote Added: 0018337
2011-07-27 09:24DwarfuAssigned ToDwarfu =>
2011-07-27 09:24DwarfuStatusneeds feedback => new
2011-07-27 09:24DwarfuRelationship addedrelated to 0000306
2011-08-19 19:07monk12Note Added: 0018579
2012-03-03 00:12WatsstNote Added: 0021018
2012-03-03 16:55gpmfuchsIssue Monitored: gpmfuchs
2012-10-28 11:01DwarfuRelationship addedhas duplicate 0006234
2012-12-25 07:38DwarfuRelationship addedrelated to 0006022

2011-06-13 16:35   
(edited on: 2011-06-13 17:07)
Not certain this is resolved as described (possibly not duplicate).

Have just now spotted the bug again and the dwarf in question is not missing any limbs.

Checking dwarfs inventory shows sutures and own blood on right ankle (old injury)
Rest of inventory clear (rotted clothing) so its this blood he's after.

Is he failing the clean due to the injuries on both his lower arms? Neither is missing, he has motor nerves severed (does this leave him no graspers?).

As before loops within a few tiles of soap, repeatedly and silently. This time round its a modded world (genesis plus a bit), original report was vanilla 25.

http://dffd.wimbli.com/file.php?id=4517 [^] Should load centered on dwarf in question.
Its probably still the ssame bug, just more insight into it :)

Incidentaly, after uploading i unpaused and forbid the horse soap to break loop. Dwarf went direct to well with 'clean self'. Dwarf left again with 'on break', at this point he had a full body water covering but still the splatter (and suture) on right ankle, if the bloods still there along with a suture after everything else has rotted... He was military so got rained on a lot and hes bathing in the well at least. Are bloodstains on sutured parts being stubborn?

2011-07-06 16:51   
(edited on: 2011-07-06 16:52)
Same bug showing in my current fortress. My poor legendary miner ran into a cave croc that scratched off both my miner's hands in a single swoop.
Now she spends her days walking back and forth to the soap, trying to pick it up with her stumps.

It's blood splatter in three places on her body. Oddly enough, one of them is on the "third finger, right hand", which isn't exactly present either.

version 0.31.25

2011-07-27 09:24   
Thanks for your follow-up.

I would think that having motor nerve damage that disables both hands/graspers is the same as not having hands at all.

I'll add this as a common relation of 0002222 to 0000306, as it is the same over-arching problem with picking up equipment, sans message spam but unique to soap.
2011-08-19 19:07   
I can report this as well- poor dwarf has been stuck for a while now. Thanks for the workaround.

It may be worth noting that the dwarf can still clean himself fine without soap (as he did immediately after the soap was forbidden)- there simply seems to be no "can grasp" check associated with the Clean Self job in regards to soap.
2012-03-03 00:12   
still present in .34.04