Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0008698Dwarf FortressDwarf Mode -- Moodspublic2015-01-04 07:552022-12-07 16:17
normalminorhave not tried
Windows 7 64 bit
0008698: Dwarf entering a strange mood when isolated (e.g. on a stepladder) causes severe lag
As soon as a carpenter entered strange mood, my framerate dropped from 80~90 to 12~13. He was standing on a stepladder and gathering fruits when he got moody and didn't move for 6 in-game days. After that he suddenly claimed a workshop and the same moment the framerate became normal.

http://dffd.bay12games.com/file.php?id=10380 [^] (0.40.23)
http://dffd.bay12games.com/file.php?id=10433 [^] (0.40.24, from 0008734)
No tags attached.
related to 0007284resolved Toady One Lag when dwarves stuck in a tree get a strange mood 
related to 0003869assigned Footkerchief Drop in FPS when moody dwarf can't path to workshop 
has duplicate 0008734resolved lethosor Strange mood blocked dwarf makes FPS drops significantly. 
has duplicate 0008865resolved lethosor Entering a strange mood while on a stepladder causes pathfinding issue and harsh FPS drop 
has duplicate 0008759resolved lethosor Herbalist gets mood while picking tree fruit, forgets he has a stepladder 
has duplicate 0008957resolved lethosor Dwarf in Fey Mood cannot path to workshop if standing on a stepladder 
has duplicate 0011176resolved Loci Fey mood dwarf in tree causes lag then floats after tree cut down 
has duplicate 0011633resolved Knight Otu Plant gatherer has mood while picking fruit on stepladder, unable to get down, destroys FPS 
related to 0008537assigned Footkerchief Surface Tree Growths Underground Hang Plant Gathering 
related to 0010538assigned Detros Military with a raid mission stuck on tree destroy fps 
Issue History
2015-01-04 07:55maqertasNew Issue
2015-01-04 08:38DetrosNote Added: 0031690
2015-01-04 09:07FootkerchiefRelationship addedrelated to 0007284
2015-01-04 09:08FootkerchiefNote Added: 0031691
2015-01-04 09:08FootkerchiefAssigned To => Footkerchief
2015-01-04 09:08FootkerchiefStatusnew => needs feedback
2015-01-04 10:01maqertasNote Added: 0031692
2015-01-04 10:01maqertasStatusneeds feedback => assigned
2015-01-12 14:25lethosorRelationship addedhas duplicate 0008734
2015-01-12 15:33FootkerchiefStatusassigned => confirmed
2015-03-22 12:24lethosorRelationship addedhas duplicate 0008865
2015-03-22 12:24lethosorSummaryStrange mood causing severe lag => Dwarf entering a strange mood on a stepladder causes severe lag
2015-03-22 12:26lethosorSummaryDwarf entering a strange mood on a stepladder causes severe lag => Dwarf entering a strange mood when isolated (e.g. on a stepladder) causes severe lag
2015-03-22 12:26lethosorNote Added: 0032395
2015-03-22 12:27lethosorAdditional Information Updatedbug_revision_view_page.php?rev_id=12988#r12988
2015-03-22 12:28lethosorRelationship addedhas duplicate 0008759
2015-03-22 12:28lethosorIssue Monitored: BenLubar
2015-05-13 13:05lethosorRelationship addedhas duplicate 0008957
2015-05-24 11:25lethosorSticky IssueNo => Yes
2015-06-07 19:27NW_KohakuNote Added: 0032765
2015-06-17 16:53lethosorRelationship addedrelated to 0008537
2015-07-01 08:51RobsoieNote Added: 0032828
2015-07-01 08:52RobsoieNote Edited: 0032828bug_revision_view_page.php?bugnote_id=0032828#r13158
2015-12-06 16:31ShurikaneNote Added: 0033530
2015-12-07 04:44Jiri PetruNote Added: 0033568
2015-12-18 01:43KillzemallgodNote Added: 0034010
2015-12-18 01:45KillzemallgodNote Edited: 0034010bug_revision_view_page.php?bugnote_id=0034010#r13702
2015-12-18 01:47KillzemallgodNote Edited: 0034010bug_revision_view_page.php?bugnote_id=0034010#r13703
2018-01-21 17:23DetrosRelationship addedrelated to 0010538
2018-02-12 13:39LociRelationship addedrelated to 0003869
2019-11-13 21:52LociRelationship addedhas duplicate 0011176
2019-11-13 21:54LociNote Added: 0039583
2020-04-30 13:56bugsubmitter20001Note Added: 0040520
2020-10-10 04:08Knight OtuRelationship addedhas duplicate 0011633
2021-02-20 08:32the_penguinsNote Added: 0040931
2022-12-07 16:17rickalbertNote Added: 0041353

2015-01-04 08:38   
Can you post a zipped save of your region folder to http://dffd.wimbli.com/ [^] please?
2015-01-04 09:08   
Please upload a save that reproduces the problem to http://dffd.wimbli.com/ [^] and post the link here.
2015-01-04 10:01   
Saved while the lag was still there.
http://dffd.wimbli.com/file.php?id=10380 [^]
2015-03-22 12:26   
From 0008734, this seems to apply if a dwarf is unable to access the fortress for other reasons as well.
2015-06-07 19:27   
For what it's worth, I've had this happen for a non-mooding miner who decided to go on break after channeling and digging away the supporting wall (such that climbing up would involve very complicated maneuvers) but not completing the digging orders that would have brought him back into the connectivity to the rest of the fortress.

Also, when ordering repeated vertical channeling, dwarves seem to prefer to climb out, rather than just keeping on channeling until they hit bottom. Lag spikes occur *PER TILE THEY MOVE*, implying some sort of pathfind on a per-tile basis, which is obviously quite inefficient.

(In general, this seems less "bug" and more "feature in severe need of optimization", as this appears to be the pathfinding working as intended in a kludge movement mode that lacks a proper connectivity map.)
2015-07-01 08:51   
(edited on: 2015-07-01 08:52)
Got recently the same problem in 40.24 :
http://www.bay12forums.com/smf/index.php?topic=151121.msg6338320#msg6338320 [^]
A dwarf climbed for no reason on top of a wall , and as i observed often dwarves that climb on top of something (walls/trees) seem to have no idea on how to climb back down to the ground, that dwarves was taken suddenly by a "fey mood" and the game crawled to unplayable level.

Only managed to save my fort thanks to dfhack use of the teleport function, as once i teleported that buggy dwarf to the ground, he was able to pathfind correctly and the framerate went back to playable.

It's not a new bug though, i had a similar problem in one of the early df2014 release ( a 40.0x) happening to a non-mood dwarf that, in a cavern for some reason jumped down from a bridge on to a giant mushroom top.
Once he was on top of it , there was no way for him to get back to the bridge (it was 2 Z level over his head) and the game went immediately to unplayable level so i couldn't even order the build of a stair to give a path to that dwarf.
And i without DFHack at the time, the fort was then completely lost due to that unplayable lag.

2015-12-06 16:31   
Same problem here: I had sealed away a vampire. The moment he got into a strange mood, the game instantly dropped to 1 FPS.

I let him out of his vault, and instantly everything returned to normal.
Jiri Petru   
2015-12-07 04:44   
Might be related to issue 1340:
http://www.bay12games.com/dwarves/mantisbt/view.php?id=1340 [^]
2015-12-18 01:43   
(edited on: 2015-12-18 01:47)
I have been getting pretty FPS drops just out of nowhere I think it could be pathfinding for singing and what not. Might be the big songs or dances that needs more people for it and it messes up other people coming into the tavern. might be related or at least caused more often by 0009252
http://www.bay12games.com/dwarves/mantisbt/view.php?id=9252 [^]

2019-11-13 21:54   
v0.44.12: apepers posted a save in 0011176:

http://dffd.bay12games.com/file.php?id=14606 [^]
2020-04-30 13:56   
This is still happening in 0.47.04

I've got a dwarf/werebeast citizen that I've isolated in a walled off area of my fort and just got the strange mood message. FPS dropped from 100 to 17
2021-02-20 08:32   
Just saw this in 0.47.05

Dwarf became possessed while picking fruit. He was standing in a tree directly above the stepladder but couldn't path to the workshops. An other gatherer eventually took his ladder and he was still stuck, so we cut down the tree and he immediately ran to the workshops.
2022-12-07 16:17   
This problem is still around in V50.01 on Steam.

Here's a link to my save file: https://dffd.bay12games.com/file.php?id=16191 [^]
And here is a video of the bug: https://youtu.be/k99HKejkAuA [^]

Hope this helps.