Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000827Dwarf FortressTechnical -- Saving/Loadingpublic2010-04-08 15:012012-03-02 17:42
rdwulfe 
Toady One 
highcrashalways
resolvedfixed 
PCWindows XP ProVersion 2002 SP3
0.31.01 
0.31.06 
0000827: Crash on save or abandonment of Fortress
Game has been running well with no issues or problems. Nothing unusual, normal little bugs here and there, and my military is having issues with selecting their equipment, but that seems normalish for this release.

When last attempted to save out to go do something else, the game crashed. I reloaded to check on it, and it was fine, with no loss of data. I make a copy to experiment on that world with the adventure mode, and went to abandon the world, and it crashes again.

Reload, and it didn't finish abandoning. I cannot seem to abandon this fort.

While Saving, it crashes during the 'cleaning up objects' phase.



Attempt to save specific save again. I do not lose any data, I double-triple checked, just in case. The save seems fine, but does not want to 'unload' from the game.

Below is the crash report.

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="dwarfort.exe" FILTER="GRABMI_FILTER_PRIVACY">
    <MATCHING_FILE NAME="dwarfort.exe" SIZE="7267328" CHECKSUM="0xB8FB68AB" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="04/01/2010 08:55:53" UPTO_LINK_DATE="04/01/2010 08:55:53" />
    <MATCHING_FILE NAME="fmod.dll" SIZE="161280" CHECKSUM="0x2B8556BE" BIN_FILE_VERSION="3.7.4.0" BIN_PRODUCT_VERSION="3.7.4.0" PRODUCT_VERSION="3.74" FILE_DESCRIPTION="FMOD" COMPANY_NAME="Firelight Technologies Pty, Ltd" PRODUCT_NAME="FMOD" FILE_VERSION="3.74" ORIGINAL_FILENAME="fmod.dll" INTERNAL_NAME="FMOD" LEGAL_COPYRIGHT="Copyright © 1994-2004, Firelight Technologies Pty, Ltd." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="3.7.4.0" UPTO_BIN_PRODUCT_VERSION="3.7.4.0" LINK_DATE="10/18/2004 03:04:41" UPTO_LINK_DATE="10/18/2004 03:04:41" VER_LANGUAGE="English (Australia) [0xc09]" />
    <MATCHING_FILE NAME="opengl32.dll" SIZE="146944" CHECKSUM="0x98E5DD93" BIN_FILE_VERSION="2.1.0.0" BIN_PRODUCT_VERSION="2.1.0.0" PRODUCT_VERSION="2, 1, 0, 0" FILE_DESCRIPTION="Dwarf Fortress OpenGL Acceleration shim" COMPANY_NAME="" PRODUCT_NAME="GLTrace" FILE_VERSION="2, 1, 0, 0" ORIGINAL_FILENAME="opengl32.dll" INTERNAL_NAME="opengl32" LEGAL_COPYRIGHT="Copyright © 1999 Phil Frisbie, Jr. & K. Harrison" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x30194" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.1.0.0" UPTO_BIN_PRODUCT_VERSION="2.1.0.0" LINK_DATE="11/28/2008 14:04:14" UPTO_LINK_DATE="11/28/2008 14:04:14" VER_LANGUAGE="English (United Kingdom) [0x809]" />
    <MATCHING_FILE NAME="optipng.exe" SIZE="81920" CHECKSUM="0x2C8428A3" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x10000" LINK_DATE="01/28/2007 16:02:02" UPTO_LINK_DATE="01/28/2007 16:02:02" />
    <MATCHING_FILE NAME="reveal\reveal2.exe" SIZE="287458" CHECKSUM="0xF70696E6" MODULE_TYPE="WIN32" PE_CHECKSUM="0x4958F" LINKER_VERSION="0x10000" LINK_DATE="05/24/2009 22:38:38" UPTO_LINK_DATE="05/24/2009 22:38:38" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
    <MATCHING_FILE NAME="kernel32.dll" SIZE="989696" CHECKSUM="0x2D998938" BIN_FILE_VERSION="5.1.2600.5781" BIN_PRODUCT_VERSION="5.1.2600.5781" PRODUCT_VERSION="5.1.2600.5781" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.5781 (xpsp_sp3_gdr.090321-1317)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xFE572" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.5781" UPTO_BIN_PRODUCT_VERSION="5.1.2600.5781" LINK_DATE="03/21/2009 14:06:58" UPTO_LINK_DATE="03/21/2009 14:06:58" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>
No tags attached.
has duplicate 0002009closed Footkerchief Crash upon saving 
has duplicate 0001320closed Footkerchief Crash on death of last dwarf 
has duplicate 0001365closed Footkerchief The game crashes sometimes when saving. 
has duplicate 0002014closed Footkerchief the game crashes on any attempt to abandon my fort 
has duplicate 0000991resolved Footkerchief Crash when final dwarf dies 
has duplicate 0001866resolved Footkerchief When my last dwarf dies, the game crashes. 
has duplicate 0001631closed Logical2u Crash on Save 
has duplicate 0001367resolved Toady One Game crashes on save/abandon 
related to 0000277acknowledged Toady One Game crash during saving game - cleaning objects phase 
Issue History
2010-04-08 15:01rdwulfeNew Issue
2010-04-08 15:09rdwulfeNote Added: 0002166
2010-04-08 15:21FootkerchiefIssue Monitored: Footkerchief
2010-04-08 16:33FootkerchiefIssue End Monitor: Footkerchief
2010-04-11 02:30oliverIssue Monitored: oliver
2010-04-11 02:36FootkerchiefRelationship addedrelated to 0000991
2010-04-18 15:21rdwulfeNote Added: 0004123
2010-04-18 15:21rdwulfeNote Edited: 0004123bug_revision_view_page.php?bugnote_id=0004123#r1381
2010-05-08 13:03seekerdarksteelNote Added: 0006424
2010-05-11 23:30seekerdarksteelNote Edited: 0006424bug_revision_view_page.php?bugnote_id=0006424#r2440
2010-05-11 23:31seekerdarksteelIssue Monitored: seekerdarksteel
2010-05-13 19:28Logical2uRelationship addedrelated to 0001866
2010-06-03 12:09FootkerchiefNote Added: 0007620
2010-06-03 12:14FootkerchiefTag Attached: AWAITING UPDATE
2010-06-03 12:16FootkerchiefRelationship replacedparent of 0000991
2010-06-03 12:16FootkerchiefRelationship replacedparent of 0001866
2010-06-03 12:16FootkerchiefRelationship addedparent of 0001367
2010-06-03 12:16FootkerchiefRelationship addedrelated to 0000277
2010-06-03 12:19FootkerchiefRelationship addedhas duplicate 0002009
2010-06-03 12:22FootkerchiefRelationship replacedchild of 0000277
2010-06-03 12:22FootkerchiefRelationship deletedparent of 0000991
2010-06-03 12:22FootkerchiefRelationship deletedparent of 0001866
2010-06-03 12:22FootkerchiefRelationship deletedparent of 0001367
2010-06-03 12:22FootkerchiefRelationship deletedhas duplicate 0002009
2010-06-05 07:40Toady OneNote Added: 0007720
2010-06-05 10:22FootkerchiefTag Detached: AWAITING UPDATE
2010-06-06 18:23seekerdarksteelNote Added: 0007844
2010-06-06 18:24seekerdarksteelNote Edited: 0007844bug_revision_view_page.php?bugnote_id=0007844#r2944
2010-07-08 08:20FootkerchiefCategoryGeneral => Technical -- Saving/Loading
2011-03-31 15:20FootkerchiefTag Attached: Save Needs Testing
2011-04-05 11:25KumquatNote Added: 0017089
2011-04-05 11:45FootkerchiefNote Added: 0017094
2011-04-05 11:45FootkerchiefStatusnew => resolved
2011-04-05 11:45FootkerchiefFixed in Version => 0.31.06
2011-04-05 11:45FootkerchiefResolutionopen => fixed
2011-04-05 11:45FootkerchiefAssigned To => Toady One
2011-04-05 16:01FootkerchiefRelationship addedhas duplicate 0000991
2011-04-05 16:01FootkerchiefRelationship addedhas duplicate 0001866
2011-04-05 16:02FootkerchiefRelationship deletedhas duplicate 0000991
2011-04-05 16:05FootkerchiefRelationship deletedhas duplicate 0001866
2011-04-05 16:07FootkerchiefRelationship addedhas duplicate 0002009
2011-04-05 16:07FootkerchiefRelationship addedhas duplicate 0001320
2011-04-05 16:08FootkerchiefRelationship addedhas duplicate 0001365
2011-04-05 16:08FootkerchiefRelationship addedhas duplicate 0002014
2011-04-05 16:10FootkerchiefRelationship addedhas duplicate 0000991
2011-04-05 16:10FootkerchiefRelationship addedhas duplicate 0001866
2011-04-05 16:11FootkerchiefRelationship addedhas duplicate 0001631
2011-04-05 16:12FootkerchiefRelationship addedhas duplicate 0001367
2011-04-05 16:13FootkerchiefRelationship replacedrelated to 0000277
2012-03-02 17:42DwarfuTag Detached: Save Needs Testing

Notes
(0002166)
rdwulfe   
2010-04-08 15:09   
Oh, this might be helpful. Here's the save.

http://dffd.wimbli.com/file.php?id=2038 [^]
(0004123)
rdwulfe   
2010-04-18 15:21   
I've another fortress doing this to me now, too, under 31.03. It started after I set up my hospital. I'm unsure if this is connected or not. I will upload this save after I do a bit more testing.

(0006424)
seekerdarksteel   
2010-05-08 13:03   
(edited on: 2010-05-11 23:30)
I have a save which is showing identical behavior on save or abandon. However it also will crash often, around every 10 minutes at this point. (It started off pretty rare that it would crash, but gradually got worse until it's no longer possible to make forward progress). I am using Winxp Pro x64.

Save is here:

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

edit: Just figured out, the periodic crash in my save is due to the melting crash. I stopped melting and the game runs fine, but still has the crash on save or abandon.

(0007620)
Footkerchief   
2010-06-03 12:09   
Does the above save still crash in 31.04?
(0007720)
Toady One   
2010-06-05 07:40   
I fixed a crash for 0.31.06 that occurs on abandon if you have a box/cabinet master room assigned to a dwarf. I didn't get a chance to see if that applied here. Maybe not -- I don't think it causes a crash if you are saving, only on abandon.
(0007844)
seekerdarksteel   
2010-06-06 18:23   
(edited on: 2010-06-06 18:24)
The save I have above no longer crashes on save or abandon in .05

(0017089)
Kumquat   
2011-04-05 11:25   
Confirmed lack of crash in .24, both saving and abandon.
(0017094)
Footkerchief   
2011-04-05 11:45   
Thanks! We'll call it fixed, then.