View Issue Details

IDProjectCategoryView StatusLast Update
0004572Dwarf FortressGeneralpublic2014-08-04 15:01
Reporterstormyseasons Assigned Touser6 
PrioritynormalSeveritycrashReproducibilityrandom
Status resolvedResolutionunable to reproduce 
PlatformWindowsOSVista 
Product Version0.31.25 
Summary0004572: Crashes when DF attempts save - e.g. when accepting a genned world, or seasonal autosave
DescriptionPeriodically .25 will crash for me when apparently saving at autosave times, or when I have accepted a map in worldgen and the map is being saved. Sometimes when this happens, Windows tells me that this is because Data Execution Prevention has closed DF. Since this only seems to happen sometimes when DF is trying to save something, it seems to be somehow using system memory that DEP thinks is only for 'Windows and other authorised programs', to quote the Windows' help. This does not seem to occur everytime, some worldgens are successfully saved, and early fort saves seem to occur normally, although I have no hard data collation. I have yet to verify if running DF from my thumbdrive produces the same sort of problem.
Tagscrash

Activities

stormyseasons

2011-04-25 07:29

reporter   ~0017505

Have just experienced a crash when running DF from thumbdrive on laptop. Occurred at about right time for season change and yearly autosave. Did not get the DEP close message this time, just that Windows has detected a problem and needs to close DF.

Shidoni

2011-04-25 11:33

reporter   ~0017507

I'm getting the same problem. "Windows has detected a problem and needs to close."

Kogut

2011-04-25 13:43

reporter   ~0017510

Can you replicate it with certain worldgen seed or save?

stormyseasons

2011-05-08 05:42

reporter   ~0017656

It does not appear to be related to the worldgen or seed. I started a new fortress in a new world that was freshly generated. This happened in about, the 2nd or 3rd year or so.. After about the 3rd migrant incoming and after the human caravan left. Might have been at the yearly autosave point, if its in autumn. Fortress population was over 60, had a mayor, may have been over 70 at the latest migrant wave. If needed I can upload my current fortresses which have encountered this.. But I suspect its related to how DF uses memory, or something like that.

user6

2011-05-08 13:19

  ~0017661

Are you using Vista 64-bit? If so, try disabling COMPRESSED_SAVES in init.txt.

stormyseasons

2011-05-09 06:01

reporter   ~0017667

I'm using a 32 bit vista, but I'll try that.

TomiTapio

2011-05-09 06:35

reporter   ~0017669

I had one at-end-of-worldgen crash, right before region would have been saved.
Win7 64bit. Have [COMPRESSED_SAVES:YES].

user6

2011-05-09 10:55

  ~0017671

TomiTapio, try COMPRESSED_SAVES:NO.

stormyseasons

2011-05-24 18:47

reporter   ~0017840

I've turned compressed saves off, and managed to get the frequency of crashes down. I still get one at seasonal autosave every now and then... Not entirely sure why. And at worldgen, when saving a map I've decided to use. Again, there does not seem to be a pattern as to how or why this occurs.

Jssra

2011-05-24 22:19

reporter   ~0017841

This also happens to me occasionally. I'm using 32-bit Vista and have autosaves turned off, but save compression on. At first it appeared to be random, but now that I think about it the most recent one was right before the turn of the third year.

cysten

2011-08-21 12:14

reporter   ~0018605

I have this problem to.

The game appears to crash around the time of the seasonal autosave. I have had no worldgen crashes to date.

I kept loading from the previous autosave and it would crash again and again around the same time. I then installed a new dwarf fortress (ironhand) directory and copied teh saves over. The problem went away for about a year or so. Now it is back.

I'll try the compressed saves thing.

I am using XP.

user6

2014-07-28 09:41

  ~0027782

Please PM a manager on the forums if this bug is still present.

Issue History

Date Modified Username Field Change
2011-04-25 07:14 stormyseasons New Issue
2011-04-25 07:29 stormyseasons Note Added: 0017505
2011-04-25 07:30 stormyseasons Tag Attached: crash
2011-04-25 11:33 Shidoni Note Added: 0017507
2011-04-25 13:43 Kogut Note Added: 0017510
2011-05-08 05:42 stormyseasons Note Added: 0017656
2011-05-08 13:19 user6 Note Added: 0017661
2011-05-08 13:19 user6 Tag Attached: AWAITING UPDATE
2011-05-09 06:01 stormyseasons Note Added: 0017667
2011-05-09 06:35 TomiTapio Note Added: 0017669
2011-05-09 10:55 user6 Note Added: 0017671
2011-05-24 18:47 stormyseasons Note Added: 0017840
2011-05-24 22:19 Jssra Note Added: 0017841
2011-08-21 12:14 cysten Note Added: 0018605
2014-07-28 09:41 user6 Note Added: 0027782
2014-07-28 09:41 user6 Status new => resolved
2014-07-28 09:41 user6 Resolution open => unable to reproduce
2014-07-28 09:41 user6 Assigned To => user6
2014-08-04 15:01 user6 Tag Detached: AWAITING UPDATE