Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001367Dwarf FortressDwarf Mode -- Abandonment of Fortpublic2010-04-20 06:542017-07-18 09:35
Assigned ToToady One 
PlatformOSWindows VistaOS Version
Product Version0.31.03 
Target VersionFixed in Version0.31.06 
Summary0001367: Game crashes on save/abandon
DescriptionThere have been a couple forts I have that after awhile crash when saving. It seemed as though it was always crashing, but it looks like it might work now.

The window stays normal for a few minutes, then says that it is not responding and locks up.
Steps To ReproduceIt is my largest fort yet, so perhaps make a large fort and try to save.

My other forts seem to work fine. Again, this is my largest fort so that my be part of it. The population was in the 60's.
Additional InformationIf I had to guess, it is taking too long for it to save, so windows says it is not responding or something. I am not really sure.
Tagscrash, saving
Attached Files

- Relationships
duplicate of 0000827resolvedToady One Crash on save or abandonment of Fortress 
has duplicate 0006059resolvedFootkerchief Crash on abandon 

-  Notes
JimboOmega (reporter)
2010-04-20 06:59
edited on: 2010-04-20 07:13

There seem to be issues at a certain size threshold where crashes become more numerous - around 50/60 (around when you get a mayor).

See also: [^]
and I think both of yours are a duplicate of: [^]

I posted a save in 629 that demonstrates all these issues - actually, I never tried abandoning, but it crashes on save and crashes within a minute of being started... [^]

It's a game breaker for me - crash on save was bad, but since the save wasn't corrupted, it was okay. Crash after a few minutes is a ruiner, though.

UPDATE: As expected, it crashes on abandon too

Footkerchief (manager)
2010-04-20 09:38

This didn't need two separate reports. You can add extra info in a note. I'm merging the reports now.

How large is the save folder currently? What's the setting for the COMPRESSED_SAVES init option? How high does DF's memory usage get during the save/abandon process?
JimboOmega (reporter)
2010-04-20 11:52
edited on: 2010-04-20 11:54

Footkerchief - I can answer for my own save experiencing identical problems in addition to a crash left running (the save/abandon issue cropped up first):
Compressed Saves is ON in my case

Memory usage on opening my save game shoots up to a little over 500MB. It stays there until a crash, whether caused by save or abandon, or letting the game run. It does seem possible it's bouncing off a 512MB cap and that is causing my crashes (how could I find out?)

The save folder was about 30MB in both cases. I uploaded a copy linked in a previous comment if you want to take a look.

Footkerchief (manager)
2010-04-20 12:20

512MB is no problem. The memory limit is 2 GB. I was wondering if the RAM usage gets that high during the process of saving the game -- some large worlds and embark areas are blowing out the limit in this version -- but if your save is only 30MB, that's probably not the case.
JimboOmega (reporter)
2010-04-20 12:53

Does the save crash for you on save, abandon, and run? I have had the problem on both computers I tried it on. (Both Windows XP).

I was thinking it was 512 MB becasue all of those lead to a crash for me. My thinking was it starts about there and when any of save, run, or abandon uses even a little more memory, it crashes since it hits the limit. But based on what you said, I suppose not.

The trouble started with the save (and possibly abandon) issue a few real life hours before it came to its current state (where running even briefly leads to a crash).

My only real guess is it has something to do with the # of immigrants - most people seem to start hitting this around 50/60. Or possibly hospital or military related - I have an almost obscene number of injured dwarves and someone suggested it could be related to a recently set up hospital.
Footkerchief (manager)
2010-04-20 13:43

Save crash: check
Abandon crash: check
Run-for-a-few-minutes crash: check
Nimrod (reporter)
2010-04-21 01:56

I can reproduce a save crash when i got some (ex goblin) copper items marked for melting. I removed the melting tag - no more save crash

Maybe thats related
JimboOmega (reporter)
2010-04-21 06:58

I can confirm that my save (the one I posted) does NOT crash on save (didn't check abandon) when all the melt designations are removed. (via z-stocks)

My save still crashes when allowed to run for a time, unfortunately. Two separate issues, it seems like.

Perhaps the reason this is associated with a higher number of dwarves is because that's also when higher numbers of goblins - and their stuff which gets tagged for melting - appears.
SkilledNewbie (reporter)
2010-05-05 18:48

Here's a save that crashes on abandon but does not crash while saving. [^]
Toady One (administrator)
2010-06-05 07:37

I didn't get a chance to check if JimboOmega's save is still broken, but SkilledNewbie's save still had an abandon crash in 0.31.05. It comes from abandoning if you have a box/cabinet master room assigned to somebody. This is fixed for 0.31.06.
Footkerchief (manager)
2011-04-05 16:12

Reminder sent to: JimboOmega

Does your save still crash in 0.31.25?

- Issue History
Date Modified Username Field Change
2010-04-20 06:54 stolide New Issue
2010-04-20 06:59 JimboOmega Note Added: 0004328
2010-04-20 07:13 JimboOmega Note Edited: 0004328 View Revisions
2010-04-20 09:35 Footkerchief Relationship added has duplicate 0001365
2010-04-20 09:36 Footkerchief Summary The same fort I reported a few minutes ago for crashing on saving also crashes on abandonment. => Game crashes on save/abandon
2010-04-20 09:36 Footkerchief Description Updated View Revisions
2010-04-20 09:36 Footkerchief Steps to Reproduce Updated View Revisions
2010-04-20 09:36 Footkerchief Additional Information Updated View Revisions
2010-04-20 09:38 Footkerchief Note Added: 0004338
2010-04-20 09:39 Footkerchief Relationship added child of 0000629
2010-04-20 09:41 Footkerchief Issue Monitored: Footkerchief
2010-04-20 09:46 Kennel Tag Attached: crash
2010-04-20 09:46 Kennel Tag Attached: saving
2010-04-20 11:52 JimboOmega Note Added: 0004364
2010-04-20 11:54 JimboOmega Note Edited: 0004364 View Revisions
2010-04-20 12:20 Footkerchief Note Added: 0004369
2010-04-20 12:53 JimboOmega Note Added: 0004374
2010-04-20 13:43 Footkerchief Note Added: 0004378
2010-04-21 01:56 Nimrod Note Added: 0004423
2010-04-21 06:53 JimboOmega Issue Monitored: JimboOmega
2010-04-21 06:58 JimboOmega Note Added: 0004437
2010-04-23 15:15 Footkerchief Relationship deleted child of 0000629
2010-04-23 15:15 Footkerchief Relationship added child of 0000609
2010-04-23 15:15 Footkerchief Relationship deleted child of 0000609
2010-04-23 15:15 Footkerchief Relationship added child of 0001046
2010-05-05 18:48 SkilledNewbie Note Added: 0006225
2010-05-21 11:14 Footkerchief Relationship deleted child of 0001046
2010-05-21 11:14 Footkerchief Relationship added has duplicate 0002014
2010-06-03 12:16 Footkerchief Relationship added child of 0000827
2010-06-03 12:22 Footkerchief Relationship added child of 0000277
2010-06-03 12:22 Footkerchief Relationship deleted child of 0000827
2010-06-03 12:23 Footkerchief Relationship deleted has duplicate 0001365
2010-06-03 12:24 Footkerchief Relationship deleted has duplicate 0002014
2010-06-05 07:37 Toady One Note Added: 0007719
2010-06-05 07:37 Toady One Assigned To => Toady One
2010-06-05 07:37 Toady One Status new => acknowledged
2011-04-05 16:12 Footkerchief Note Added: 0017111
2011-04-05 16:12 Footkerchief Tag Attached: AWAITING UPDATE
2011-04-05 16:12 Footkerchief Relationship added duplicate of 0000827
2011-04-05 16:12 Footkerchief Relationship deleted child of 0000277
2012-09-11 20:55 Footkerchief Relationship added has duplicate 0006059
2014-01-20 18:41 Footkerchief Status acknowledged => resolved
2014-01-20 18:41 Footkerchief Resolution open => fixed
2014-08-04 15:01 Footkerchief Tag Detached: AWAITING UPDATE
2017-07-18 09:35 lethosor Fixed in Version => 0.31.06

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker