Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0007284Dwarf FortressDwarf Mode -- Jobs, Assignment of Jobspublic2014-07-14 11:242014-08-20 13:58
Commando Alex 
Toady One 
normalmajorhave not tried
resolvedfixed 
LaptopWindows 8.1
0.40.03 
0.40.10 
0007284: Lag when dwarves stuck in a tree get a strange mood
A dwarven child withdrew from society, he wandered around outside as I had no craftswarf workshops yet. Thus I built one, and it was claimed by the child, strange thing though, he claimed it from the top left of the map, outside, on top of a tree. I ignored it at first due to it not affecting me other than rendering a workshop and dwarf unusable, (As he would not climb down to claim items, and the workshop says he has claimed it, but does not say what he wants, possibly nothing)it soon after caused a massive fps drop. After unpause the graphical and tick fps dropped steadily to 3, upon pausing it returns to 100(42) at the same rate as it dropped.
This might be hard to reproduce as it's determined by the random strange moods.

1) Get Dwarven Child to have a strange mood.
2) Build Workshop.
3) Child claims workshop from outside of it.
4) Enjoy extreme lag.

Optional: Have a two biomes on some map, one being mountain?
The strange mood is listed in Jobs (j).
Menus browse at normal speed.
Path finding issue?
No tags attached.
related to 0006549new  Fortress unretirement causes lag / slowness with military usage 
related to 0006970resolved Toady One Strange mood items are teleported into the workshop 
related to 0003869assigned Footkerchief Drop in FPS when moody dwarf can't path to workshop 
has duplicate 0007373resolved Footkerchief Strange mood in tree will tank FPS 
has duplicate 0007706resolved Footkerchief FPS tanks when a Fey Mood dwarf can't path to workshop they've claimed 
has duplicate 0007737resolved Footkerchief Dwarf stuck in tree kills FPS 
related to 0008698confirmed Footkerchief Dwarf entering a strange mood when isolated (e.g. on a stepladder) causes severe lag 
related to 0008734resolved lethosor Strange mood blocked dwarf makes FPS drops significantly. 
related to 0008324new  Imprisoned Were-creature brings FPS to crawling hold 
Issue History
2014-07-14 11:24Commando AlexNew Issue
2014-07-14 11:25FootkerchiefNote Added: 0026342
2014-07-14 11:25FootkerchiefAssigned To => Footkerchief
2014-07-14 11:25FootkerchiefStatusnew => needs feedback
2014-07-14 11:37Commando AlexNote Added: 0026344
2014-07-14 11:37Commando AlexStatusneeds feedback => assigned
2014-07-14 12:09Commando AlexNote Added: 0026351
2014-07-14 22:05FootkerchiefRelationship addedrelated to 0006549
2014-07-14 22:10FootkerchiefRelationship addedrelated to 0006970
2014-07-16 08:07FootkerchiefSummaryDwarven Child Strange Mood Causes Unplayable Lag => Lag when dwarves stuck in a tree get a strange mood
2014-07-16 08:08FootkerchiefRelationship addedhas duplicate 0007373
2014-07-16 10:53RobsoieNote Added: 0026643
2014-07-16 10:53RobsoieNote Edited: 0026643bug_revision_view_page.php?bugnote_id=0026643#r9928
2014-07-23 18:45g1realNote Added: 0027372
2014-07-24 00:17g1realNote Deleted: 0027372
2014-07-29 07:05FootkerchiefRelationship addedhas duplicate 0007706
2014-07-30 08:35FootkerchiefRelationship addedhas duplicate 0007737
2014-08-08 09:04FootkerchiefStatusassigned => confirmed
2014-08-14 10:31FootkerchiefRelationship addedrelated to 0003869
2014-08-18 11:00CerbsenNote Added: 0029237
2014-08-20 13:58Toady OneStatusconfirmed => resolved
2014-08-20 13:58Toady OneFixed in Version => Next Version
2014-08-20 13:58Toady OneResolutionopen => fixed
2014-08-20 13:58Toady OneAssigned ToFootkerchief => Toady One
2015-01-04 09:07FootkerchiefRelationship addedrelated to 0008698
2015-01-12 14:26lethosorRelationship addedrelated to 0008734
2017-05-06 14:34lethosorRelationship addedrelated to 0008324

Notes
(0026342)
Footkerchief   
2014-07-14 11:25   
Please upload a save that demonstrates the problem to http://dffd.wimbli.com/ [^] and post the link here.
(0026344)
Commando Alex   
2014-07-14 11:37   
Here you go: http://dffd.wimbli.com/file.php?id=8968 [^]

It might not be the child, but something is causing it.
(0026351)
Commando Alex   
2014-07-14 12:09   
I cut down the tree after about 20 minutes, and it turns out the solution is to brutally murder the kid, he died when he hit the ground and fps went to about 28(28).
(0026643)
Robsoie   
2014-07-16 10:53   
I ran into a similar problem some days ago, though it does not seem related to moods but to some pathfinding problem happening for dwarves in trees that are unable to get back from them.

I pierced down to the 1st caverns in which there was a giant lake covered with several giant fungus working exaclty like trees on surface.

For reason i don't know, one of my dwarves decided to jump out on a fungus top that was just at 1 tile of distance + 1 below my stairs, despite there was nothing to do there.

The dwarf then stayed there, obviously unable to go back (as he would need to jump up 1 tile on top of 1 tile toward my stairs) and while it wasn't in a mood, the dwarf being stuck there completely destroyed the framerate to probably 1 frame every 10 seconds !

Unfortunately before i could save the game (pressed escape but DF didn't reacted to it), DF crashed, i guess the problem was too too severe at that point for stability.

(0029237)
Cerbsen   
2014-08-18 11:00   
I just downloaded the save and did some testing.

1) Cut down the tree, the child hit the ground and started to claim a workshop. Fps went up to 100.

2) Dug a channel around the tree, removed the ramps, sealed the channel and build a floor tile above the channel.
   After felling the tree and removing the floor tile the child hit the ground and was stunned. While stunned the fps went up to 100 and as soon as he woke up the fps went down to 11.
   As soon as you rebuild the floor the child starts to claim the workshop and fps goes up to 100.

Save with the child stuck on his "island"
http://dffd.wimbli.com/file.php?id=9432 [^]

So a dwarf with a strange mood unable to reach the desired workshop causes massive lag, being stuck in a tree is just a bonus.