Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003651Dwarf FortressUndeathpublic2010-11-17 00:092012-03-02 17:41
ReporterDeon 
Assigned ToToady One 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version0.31.18 
Target VersionFixed in Version0.31.22 
Summary0003651: Ghost appearing/disappearing causes a massive slowdown
DescriptionWhenever I see a "ghostly" creature and it appears and disappears (which leads to it appearing and disappearing from the list) my game becomes "stuck" in specified periods of time, leading to an overall massive slowdown.

The moment the ghost is put to rest, the game runs smoothly again.
Steps To ReproduceHave a ghost on your map.
TagsSave Included
Attached Files

- Relationships
has duplicate 0003815resolvedDwarfu Upon reload game stops a few times, results in crash within a few minutes 
has duplicate 0003916resolvedDwarfu Bizarre intermittent lag, possibly due to ghosts (save provided) 
has duplicate 0003931resolvedLogical2u Haunting Dwarf Ghost couses Game Stuttering 
has duplicate 0004241resolvedFootkerchief game blocks after 15s into this save 
related to 0004053new Encountering extensive lag during gameplay 
related to 0004207resolvedToady One Inescapable, inevitable, intolerable lag 

-  Notes
(0013954)
takaratiki (reporter)
2010-11-17 07:47

Correct. Suffering massive delays as the ghost blinks in and out. This is on the Linux version with a world rendered on 31.18.
(0014064)
fflaguna2 (reporter)
2010-11-20 14:42
edited on: 2010-11-20 14:42

Same here on Windows. It's game-breaking until you memorialize the ghost, which takes forever due to the massive slowdowns.

For the record, the ghost that caused this bug was a caravan merchant who died.

(0014132)
Cruxador (reporter)
2010-11-21 21:17
edited on: 2010-12-20 01:14

It's not gamebreaking for me, though it's annoying. I've got a pretty good computer, so that could account for the difference, but I just get a pause of about 30 seconds to a minute. I have lots of ghosts going on, since I've had gratuitous amounts of death and am not burying or memorializing anyone.

It's still an important bug, though. This is probably the most annoying bug I've experienced.

EDIT: Okay, different embark, and it's gamebreaking for me now.

(0014163)
nordak (reporter)
2010-11-22 23:25

I'm not taking a hit in fps or a pause. Windows and good system with i7 processor.
(0014360)
nosesquid (reporter)
2010-12-02 05:30

It's happening in Mac 31.18 too. Could this be connected to bug 0003708? I've had plenty of ghosts before (nobody from before the 4th migrant wave is still alive) but no problems until a "nameless" ghost showed up.
(0014632)
Kolbur (reporter)
2010-12-19 14:44

I have the same problem but it's very strange. I have ghosts on my map since the very beginning of my fortress when one miner got encased in ice while trying to pierce an aquifer. I've intentionally not buried or memorialized anyone to get ghosts and it was no problem until now (more than 3 years into the game now). Suddenly the breaks started (I have like 4 ghosts now) and got longer very quickly. Unfortunately it's gamebreaking for me too. Cpu usage goes through the roof and the game freezes up to a minute. The actual fps between the breaks seems to be ok. But the freezes seems to come every other step now. :(
(0014666)
Dwarfu (manager)
2010-12-20 21:17

CapnRis also has this save from 0003815 that seems to be the same issue.

http://dffd.wimbli.com/file.php?id=3558 [^]
(0014891)
Kogut (reporter)
2011-01-16 21:38

My bet: it is caused by pathfinder.
Ghost can move in all directions so
(a) it will path in (2*n)^3 cube to travel n tiles
(b) it is using useless for him cached data
(c) maybe part of ghost is not pathfinding, so it is why only part is killing FPS.
 
Solution - just move ghost without pathfinding.
====
And it just happened for me.
====
And it wasn't nameless ghost.
(0014914)
monk12 (reporter)
2011-01-20 16:16

I can report that it doesn't appear to happen every time I have a ghost. In some instances I've had a ghost quietly haunting the well he drowned in, and in others I've experienced incredibly erratic FPS issues. I believe it is related to ghosts pathing through unexplored underground areas. The reason I believe this is because the ghost was not on the unit list during the largest instances of lag, but by zooming in on it via the relationships menu the cursor centered on a point that could only be Hell.
(0014965)
Vercingetorix (reporter)
2011-02-01 21:56

Same problem confirmed here. My game started to lag for no apparent reason and there were no visible ghosts in the unit list. I ran DF reveal and I was able to find the two spirits and put them to rest. In my case they were in conventional unexplored layers.

Carving up two slabs now so things should be fine.
(0015275)
Lord Herman (reporter)
2011-02-19 02:41

I think I'm having the same problem. 0.31.19, windows. Game started pausing 1-3 seconds with increasing frequency ever since my first ghost appeared. Right now it runs for about a second, then pauses for two or three seconds, then runs for a second again. At some point it seems to hang completely, and I have to close DF via the task manager. During the pauses, the game window won't respond to alt-tabbing et cetera.
(0015524)
dravus (reporter)
2011-02-26 10:46

I just started getting the same issue

complete freezes for up to 30secs to 1 min at a time

had to forcefully close the process to get my system back from the game
(0015528)
DoctorZuber (reporter)
2011-02-26 14:49

On a side note, I hate the interface for engraving a slab. Here is a summary of my process.

1. units menu, find the offending ghost
2. remember/write down the ghost's name
3. open the craft workshop and engrave a slab
4. page through the MANY MANY MANY pages of names until you find the right one.

With my rather evolved fortress, I have several HUNDRED names to search through anytime I need to engrave a slab. Some of the names aren't even visible and simply say (engrave a slab) without any associated name.

It would be a HUGE timesaver if we could enter names to engrave with a partial alphabetical match like is used for ordering manangement tasks.
(0015930)
Footkerchief (manager)
2011-03-07 15:46

JimiD uploaded this save at 0004053:0015925: http://dffd.wimbli.com/file.php?id=3921 [^]
(0016129)
JimiD (reporter)
2011-03-11 14:53

Another save, this one with definite lag and ghost activity.

http://dffd.wimbli.com/file.php?id=3951 [^]

Ghost appears on the western edge of the map, at ground level, in the stream.
(0016213)
MaDeR Levap (reporter)
2011-03-13 15:12

Ghosts, as non-material being, should not need any pathfinding at all. Just make straight line from x1,y1,z1 to x2,y2,z2. Maybe in some cases game incorrectly uses pathfinder instead of simplest case?
(0016333)
Footkerchief (manager)
2011-03-17 09:01

gpmfuchs posted this save at 0004241: http://dffd.wimbli.com/file.php?id=3980 [^]

- Issue History
Date Modified Username Field Change
2010-11-17 00:09 Deon New Issue
2010-11-17 07:47 takaratiki Note Added: 0013954
2010-11-20 14:42 fflaguna2 Note Added: 0014064
2010-11-20 14:42 fflaguna2 Note Edited: 0014064 View Revisions
2010-11-21 21:09 Cruxador Issue Monitored: Cruxador
2010-11-21 21:17 Cruxador Note Added: 0014132
2010-11-22 23:25 nordak Note Added: 0014163
2010-12-02 05:30 nosesquid Note Added: 0014360
2010-12-02 07:46 Footkerchief Category Dwarf Mode -- Idle Behavior => Undeath
2010-12-19 14:44 Kolbur Note Added: 0014632
2010-12-19 15:18 Dwarfu Relationship added related to 0003815
2010-12-20 01:14 Cruxador Note Edited: 0014132 View Revisions
2010-12-20 21:15 Dwarfu Relationship replaced has duplicate 0003815
2010-12-20 21:15 Dwarfu Issue Monitored: CapnRis
2010-12-20 21:17 Dwarfu Note Added: 0014666
2010-12-20 21:18 Dwarfu Tag Attached: Save Included
2010-12-20 21:18 Dwarfu Tag Attached: Save Needs Testing
2011-01-16 21:38 Kogut Note Added: 0014891
2011-01-20 16:16 monk12 Note Added: 0014914
2011-02-01 21:56 Vercingetorix Note Added: 0014965
2011-02-02 14:04 mrchinchin25 Issue Monitored: mrchinchin25
2011-02-03 09:02 Dwarfu Relationship added has duplicate 0003916
2011-02-03 09:02 Dwarfu Issue Monitored: Solra Bizna
2011-02-04 19:20 Logical2u Relationship added has duplicate 0003931
2011-02-19 02:41 Lord Herman Note Added: 0015275
2011-02-19 02:42 Lord Herman Issue Monitored: Lord Herman
2011-02-26 10:46 dravus Note Added: 0015524
2011-02-26 14:49 DoctorZuber Note Added: 0015528
2011-03-07 11:43 Footkerchief Relationship added related to 0004053
2011-03-07 15:46 Footkerchief Note Added: 0015930
2011-03-09 00:39 Khym Chanur Issue Monitored: Khym Chanur
2011-03-11 14:51 JimiD Issue Monitored: JimiD
2011-03-11 14:53 JimiD Note Added: 0016129
2011-03-13 15:12 MaDeR Levap Note Added: 0016213
2011-03-13 22:05 Footkerchief Sticky Issue No => Yes
2011-03-16 12:06 Footkerchief Relationship added related to 0004207
2011-03-17 09:01 Footkerchief Relationship added has duplicate 0004241
2011-03-17 09:01 Footkerchief Note Added: 0016333
2011-03-19 16:49 Toady One Status new => resolved
2011-03-19 16:49 Toady One Fixed in Version => 0.31.22
2011-03-19 16:49 Toady One Resolution open => fixed
2011-03-19 16:49 Toady One Assigned To => Toady One
2011-03-19 20:03 Khym Chanur Issue End Monitor: Khym Chanur
2011-03-22 04:42 JimiD Issue End Monitor: JimiD
2011-03-22 22:50 Footkerchief Sticky Issue Yes => No
2011-04-08 15:55 CapnRis Issue End Monitor: CapnRis
2011-05-06 21:32 Cruxador Issue End Monitor: Cruxador
2012-03-02 17:41 Dwarfu Tag Detached: Save Needs Testing


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker