Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0008325Dwarf FortressDwarf Mode -- Jobs, Animal Handlingpublic2014-09-20 13:542014-10-03 13:30
RoaryStar 
Footkerchief 
normalmajorhave not tried
needs feedbackopen 
0.40.13 
 
0008325: Butchering animal inside cage slows game to a crawl
I attempted to butcher a goose inside a cage. After the dwarf started to lead him, the game slowed to a crawl (9-10 fps). Cancelling the job fixed it.
Mark caged creature to be slaughtered, wait for the dwarf to come get it.
I was playing this with no raw modifications, though I had DFHack which I used for a few interface enhancements.
animals, butcher, lag
Issue History
2014-09-20 13:54RoaryStarNew Issue
2014-09-20 13:55RoaryStarTag Attached: animals
2014-09-20 13:55RoaryStarTag Attached: butcher
2014-09-20 13:55RoaryStarTag Attached: lag
2014-09-20 15:14QuietustNote Added: 0030276
2014-09-20 18:55RoaryStarNote Added: 0030280
2014-09-21 08:16RoaryStarNote Added: 0030284
2014-09-21 08:25RoaryStarIssue Monitored: RoaryStar
2014-09-21 09:04FootkerchiefNote Added: 0030288
2014-09-21 09:04FootkerchiefAssigned To => Footkerchief
2014-09-21 09:04FootkerchiefStatusnew => needs feedback
2014-09-21 11:07RoaryStarNote Added: 0030293
2014-09-21 11:07RoaryStarStatusneeds feedback => assigned
2014-10-03 05:21RoaryStarIssue End Monitor: RoaryStar
2014-10-03 13:29lethosorNote Added: 0030520
2014-10-03 13:30lethosorStatusassigned => needs feedback
2014-10-03 13:30lethosorNote Edited: 0030520bug_revision_view_page.php?bugnote_id=0030520#r11952

Notes
(0030276)
Quietust   
2014-09-20 15:14   
Was the cage sitting in a stockpile, or was it built?

Also, poorly-written DFHack scripts are absolutely capable of creating lag similar to what you're seeing - does it happen without DFHack?
(0030280)
RoaryStar   
2014-09-20 18:55   
It was sitting in a stockpile.

I've played past the save, but I'll try to see if I can make another save.
(0030284)
RoaryStar   
2014-09-21 08:16   
Okay, I've tested it in a new fort.

Before marking for slaughter, the FPS rate was about 140 - 150 with a few lag bumps.

With DFHack:
  The first one dropped the FPS rate to a steady 90.
  The second one did nothing to the FPS rate. (this was after everything froze)

I then uninstalled DFHack and switched the order...

Without DFHack:
  The first one dropped the FPS rate to a steady 95.
  The second one did nothing. (after everything froze, again)

The fort when I first noticed it had the FPS rate steadily at 45 or so, and it dropped to 10 when the dwarf started to lead it.
(0030288)
Footkerchief   
2014-09-21 09:04   
Please upload a save that reproduces the problem (with no use of DFHack) to http://dffd.wimbli.com/ [^] and post the link here.
(0030293)
RoaryStar   
2014-09-21 11:07   
Here it is:

http://dffd.wimbli.com/file.php?id=9759 [^]
(0030520)
lethosor   
2014-10-03 13:29   
(edited on: 2014-10-03 13:30)
I'm not sure if the lag is related to slaughtering these animals. Have you tried butchering them a week or so later (in-game)? I did notice some lag when first unpausing, but the FPS rate reached 150 again by the time the first animal was slaughtered.