View Issue Details

IDProjectCategoryView StatusLast Update
0001367Dwarf FortressDwarf Mode -- Abandonment of Fortpublic2017-07-18 09:35
Reporterstolide Assigned ToToady One  
PriorityhighSeveritymajorReproducibilitysometimes
Status resolvedResolutionfixed 
OSWindows Vista 
Product Version0.31.03 
Fixed 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

Relationships

duplicate of 0000827 resolvedToady One Crash on save or abandonment of Fortress 
has duplicate 0006059 resolveduser6 Crash on abandon 

Activities

JimboOmega

2010-04-20 06:59

reporter   ~0004328

Last edited: 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:

http://www.bay12games.com/dwarves/mantisbt/view.php?id=629
and I think both of yours are a duplicate of:
http://www.bay12games.com/dwarves/mantisbt/view.php?id=827

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...

http://dffd.wimbli.com/file.php?id=2127

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

user6

2010-04-20 09:38

  ~0004338

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

2010-04-20 11:52

reporter   ~0004364

Last edited: 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.

user6

2010-04-20 12:20

  ~0004369

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

2010-04-20 12:53

reporter   ~0004374

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.

user6

2010-04-20 13:43

  ~0004378

Save crash: check
Abandon crash: check
Run-for-a-few-minutes crash: check

Nimrod

2010-04-21 01:56

reporter   ~0004423

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

2010-04-21 06:58

reporter   ~0004437

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

2010-05-05 18:48

reporter   ~0006225

Here's a save that crashes on abandon but does not crash while saving.

http://dffd.wimbli.com/file.php?id=2303

Toady One

2010-06-05 07:37

administrator   ~0007719

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.

user6

2011-04-05 16:12

  ~0017111

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
2010-04-20 09:35 user6 Relationship added has duplicate 0001365
2010-04-20 09:36 user6 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 user6 Description Updated
2010-04-20 09:36 user6 Steps to Reproduce Updated
2010-04-20 09:36 user6 Additional Information Updated
2010-04-20 09:38 user6 Note Added: 0004338
2010-04-20 09:39 user6 Relationship added child of 0000629
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
2010-04-20 12:20 user6 Note Added: 0004369
2010-04-20 12:53 JimboOmega Note Added: 0004374
2010-04-20 13:43 user6 Note Added: 0004378
2010-04-21 01:56 Nimrod Note Added: 0004423
2010-04-21 06:58 JimboOmega Note Added: 0004437
2010-04-23 15:15 user6 Relationship deleted child of 0000629
2010-04-23 15:15 user6 Relationship added child of 0000609
2010-04-23 15:15 user6 Relationship deleted child of 0000609
2010-04-23 15:15 user6 Relationship added child of 0001046
2010-05-05 18:48 SkilledNewbie Note Added: 0006225
2010-05-21 11:14 user6 Relationship deleted child of 0001046
2010-05-21 11:14 user6 Relationship added has duplicate 0002014
2010-06-03 12:16 user6 Relationship added child of 0000827
2010-06-03 12:22 user6 Relationship added child of 0000277
2010-06-03 12:22 user6 Relationship deleted child of 0000827
2010-06-03 12:23 user6 Relationship deleted has duplicate 0001365
2010-06-03 12:24 user6 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 user6 Note Added: 0017111
2011-04-05 16:12 user6 Tag Attached: AWAITING UPDATE
2011-04-05 16:12 user6 Relationship added duplicate of 0000827
2011-04-05 16:12 user6 Relationship deleted child of 0000277
2012-09-11 20:55 user6 Relationship added has duplicate 0006059
2014-01-20 18:41 user6 Status acknowledged => resolved
2014-01-20 18:41 user6 Resolution open => fixed
2014-08-04 15:01 user6 Tag Detached: AWAITING UPDATE
2017-07-18 09:35 lethosor Fixed in Version => 0.31.06