|Anonymous | Login | Signup for a new account||2023-03-20 15:23 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details [ Jump to Notes ]||[ Issue History ] [ Print ]|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008442||Dwarf Fortress||Pathfinding||public||2014-10-18 05:45||2017-05-06 14:37|
|Platform||x86_64||OS||Arch Linux||OS Version||-|
|Target Version||Fixed in Version|
|Summary||0008442: <5 FPS, 100% CPU Usage: Stuck dwarf interrupts others|
|Description||I don't know exactly how to reproduce it, but it's the second time in 2 different regions, where a dwarf gets stuck in my stair tower:|
It seems to be a pathfinding algorithm which eats up the CPU and let's the FPS drop towards 0 and so, leaves the game nearly unplayable.
I didn't notice if the dwarf got stuck before or after he was taken by a fey mood.
See the savegame: http://www.0pointer.org/~choopm/stuckmidair-region.zip [^]
It's my chief medical dwarf flying on -13 Z-levels from the wagon spawn (F1).
If k-looked onto the tile, it clearly says "Open Space".
I wonder how a stuck dwarf could interrupt other dwarves. If I zoom to the location hilighted in announcements, it takes me near where the dwarf should have been if he wasn't stuck.
Sorry for the few informations I could provide :(
|Steps To Reproduce||see description|
|Additional Information||see description|
|Tags||No tags attached.|
Update: I let the game up and running for a few hours.
The moment the chief medical dwarf went insane because of his dehydration it cancels the strange mood order. The game is now running smooth again.
So it seems the issue here might be:
If a dwarf get's into a strange mood and is trapped or stuck in your fortress, the pathfinding algorithm will be started over and over again. This results in 100% CPU usage and minimum FPS.
One approach could be a priority system, e.g. if a dwarf's path finding fails, it would get more and more less attention every frame iteration to a minimum where it would try to find a path every minute.
|I have also seen this, once with an cave swallow that somehow teleported itself into my stair area and tried to patch out. It can also happen if you use dfhack reveal and unreveal and some dwarfs get stuck in the "unknown area" instantly dropping fps to 0.|
|We've had cases of stuck dwarfs in fey moods causing fps drop before; but they've been marked resolved: 0007284. Maybe Toady just addressed the sticking issue and there's other ways to get stuck.|
|2014-10-18 05:45||choopm||New Issue|
|2014-10-18 05:47||choopm||Issue Monitored: choopm|
|2014-10-18 05:47||choopm||Issue End Monitor: choopm|
|2014-10-19 03:29||choopm||Note Added: 0030670|
|2014-10-19 06:35||Kirkegaard||Note Added: 0030672|
|2014-10-19 09:55||Lac||Note Added: 0030673|
|2014-11-19 12:36||Footkerchief||Relationship added||related to 0007998|
|2017-05-06 14:37||lethosor||Relationship added||related to 0008324|
|Copyright © 2000 - 2010 MantisBT Group|