View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002017 | Dwarf Fortress | Technical -- Saving/Loading | public | 2010-05-21 15:59 | 2019-10-07 14:14 |
Reporter | Hydrall | Assigned To | Loci | ||
Priority | high | Severity | crash | Reproducibility | random |
Status | acknowledged | Resolution | open | ||
OS | Windows 7 | ||||
Product Version | 0.31.04 | ||||
Summary | 0002017: Using COMPRESSED_SAVES causes save corruption on some systems | ||||
Description | I created my fortress, started digging etc, and then saved. As far as I am aware, the saving process didn't encounter any problems and didn't crash. However, whenever I attempt to open the file now, it crashes. My other file in adventurer mode does not crash when opened, and plays just fine. | ||||
Tags | crash, load, save game | ||||
related to | 0002587 | confirmed | lethosor | Saving fails silently when folder is not writeable (due to full disk, permissions, etc) |
has duplicate | 0002610 | resolved | Crash during game load, runtime error | |
has duplicate | 0002998 | resolved | Savegame corruption - Compressed file error | |
has duplicate | 0003699 | resolved | Logical2u | Game Save is corrupted |
has duplicate | 0004351 | resolved | While trying to start playing on some worlds, or when loading some save games, reproducible crash | |
has duplicate | 0004538 | resolved | Dwarf Mode save loading crash | |
has duplicate | 0004933 | resolved | crash on load | |
has duplicate | 0005795 | resolved | In version 34.05 and 34.06 I have started a fort, saved, and then DF crashes when I try to load the save. | |
has duplicate | 0006204 | resolved | "One of the compressed files on disk has errors on it". Save directory ("current") blank. | |
related to | 0002212 | resolved | lethosor | Incompatible saves between Intel and PPC Macs-OSX |
related to | 0004915 | resolved | Crashing when loading save | |
related to | 0004863 | resolved | Saved game crashes on unpausing or 'stepping' after loading | |
related to | 0005036 | resolved | lethosor | Save file gets corrupted, doesn't show up in list |
|
Where's the game installed? If you installed it in Program Files, that causes problems on Windows 7 and Vista. Install it somewhere else instead. |
|
I did not install it in program files, I did it in Documents. And if I can't save it there, where else can it go? |
|
Documents should be fine as long as you have administrator write access to the folder. Does your error log have anything useful in it after attempting to load the game? |
|
No, the error log is completely unchanged. |
|
Are you on a 64-bit OS? If so, you should try disabling COMPRESSED_SAVES in init.txt. For some reason, save compression frequently results in corruption on 64-bit systems. |
|
Any updates? |
|
It appears to be working! Thank you very much! |
|
Cool. Wish we knew why save compression causes crashes on 64-bit. |
|
I am using Win 7 64 bit. Have had no issues with save compression. |
|
I am using mac os x snow leopard 64bit and no issues with save compression. |
|
Win XP Pro, 64-bit. Also no problems with save compression. |
|
I've just had the same thing happen myself. I wish I had known in advance to avoid it. Fedora Linux 64-bit here. |
|
WORKAROUND: For Windows users. In your INI, disable compressed saves. Then in Explorer right click on the «save» folder. Select «Properties». Click «Advanced». Check «Compress contents to save disk space». This will let Windows compress the save games for you. In addition to the game not corrupting it is faster to save and load than when DF does compression itself. Windows can typical compress my saves to 20% of their uncompressed size with no risk of corruption. For GNU/Linux users who have ReiserFS a similar workaround may work for you. |
|
Phazorx has a save from 0004933: [file removed] |
|
I might have something like this but i can't even see my save in the loading screen... EDIT oops sorry for necro |
|
This may be related to 0002587. Compressing with x64 may increase the chance of a "non-fatal" i/o exception, which Dwarf Fortress blithely ignores, leading to the corruption. I received this error on a (consistently working) x64 machine when disk space was critically low. |
|
There are a few instances of corruption occurring on 32-bit systems (e.g. 0002610:0010218). In addition, none of the saves I could track down in this report actually exhibit corruption caused by compression. In some cases, the data that is actually compressed is corrupted, but it can be decompressed without issues (i.e. it was most likely corrupted during serialization, before it was compressed). Others, like the save from 0002610, are truncated but otherwise valid, which could be due to 0002587. I'm not sure what caused these issues, but I don't see how any of these saves can be linked to faulty compression. |
|
It's unclear what feedback you are hoping for here. The issue remains that *enabling* compression seems to cause corruption (and, conversely, *disabling* compression prevents it). Though the compression itself may not be at fault, the corruption is a problem that needs to be tracked and fixed. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-05-21 15:59 | Hydrall | New Issue | |
2010-05-21 16:01 |
|
Note Added: 0007148 | |
2010-05-21 16:03 |
|
Note Edited: 0007148 | |
2010-05-28 03:07 | Hydrall | Note Added: 0007415 | |
2010-05-28 03:08 | Hydrall | Tag Attached: crash | |
2010-05-28 03:08 | Hydrall | Tag Attached: load | |
2010-05-28 03:08 | Hydrall | Tag Attached: save game | |
2010-05-28 04:51 | Logical2u | Note Added: 0007416 | |
2010-06-01 11:43 | Hydrall | Note Added: 0007536 | |
2010-06-01 11:51 |
|
Note Added: 0007538 | |
2010-06-03 12:17 |
|
Note Added: 0007624 | |
2010-06-03 12:17 |
|
Tag Attached: AWAITING UPDATE | |
2010-06-04 12:39 | Hydrall | Note Added: 0007668 | |
2010-06-21 12:18 |
|
Note Added: 0008898 | |
2010-06-21 12:18 |
|
Status | new => resolved |
2010-06-21 12:18 |
|
Resolution | open => no change required |
2010-06-21 12:18 |
|
Assigned To | => user6 |
2010-06-21 12:19 |
|
Assigned To | user6 => |
2010-06-21 12:19 |
|
Status | resolved => new |
2010-06-21 12:21 |
|
Summary | Crashes on startup => Using COMPRESSED_SAVES causes save corruption on 64-bit systems |
2010-06-21 12:34 | Morbs | Note Added: 0008904 | |
2010-06-21 15:52 |
|
Relationship added | related to 0002212 |
2010-06-28 06:45 | jaked122 | Note Added: 0009211 | |
2010-06-28 07:07 | Telarin | Note Added: 0009213 | |
2010-06-28 07:23 |
|
Summary | Using COMPRESSED_SAVES causes save corruption on 64-bit systems => Using COMPRESSED_SAVES causes save corruption on some 64-bit systems |
2010-06-29 07:38 |
|
Category | Technical => Technical -- General |
2010-06-29 20:46 |
|
Category | Technical -- General => Technical -- Saving/Loading |
2010-06-29 20:46 |
|
Tag Detached: AWAITING UPDATE | |
2010-07-13 23:27 |
|
Relationship added | has duplicate 0002610 |
2010-08-10 06:05 |
|
Relationship added | has duplicate 0002998 |
2010-11-20 17:39 | Logical2u | Relationship added | related to 0003699 |
2010-11-20 22:03 | Logical2u | Relationship replaced | has duplicate 0003699 |
2011-01-11 14:02 | maluraq | Note Added: 0014842 | |
2011-01-24 19:50 | zilpin | Note Added: 0014925 | |
2011-02-06 15:16 |
|
Resolution | no change required => open |
2011-03-26 23:27 |
|
Relationship added | has duplicate 0004351 |
2011-04-17 19:28 | Logical2u | Relationship added | related to 0004538 |
2011-10-05 11:26 |
|
Relationship added | related to 0004915 |
2011-10-05 19:18 |
|
Relationship deleted | related to 0004915 |
2011-12-11 08:47 |
|
Relationship added | related to 0004915 |
2011-12-11 08:50 |
|
Relationship replaced | has duplicate 0004538 |
2011-12-11 09:04 |
|
Relationship added | related to 0004863 |
2011-12-15 07:26 |
|
Relationship added | has duplicate 0004933 |
2011-12-15 07:27 |
|
Note Added: 0019178 | |
2012-01-30 11:39 |
|
Relationship added | related to 0005036 |
2012-01-30 11:57 | ninjanomnom | Note Added: 0019435 | |
2012-01-30 11:59 | ninjanomnom | Note Edited: 0019435 | |
2012-04-11 11:52 |
|
Relationship added | has duplicate 0005795 |
2012-09-20 08:06 |
|
Relationship added | has duplicate 0006204 |
2014-12-30 20:18 |
|
Relationship replaced | has duplicate 0005036 |
2015-06-29 12:36 | Loci | Note Added: 0032821 | |
2015-06-29 13:33 | lethosor | Relationship added | related to 0002587 |
2015-07-06 17:23 | lethosor | Note Edited: 0019178 | |
2015-07-06 17:49 | lethosor | Relationship deleted | has duplicate 0005036 |
2015-07-06 17:54 | lethosor | Relationship added | related to 0005036 |
2015-07-06 18:40 | lethosor | Note Added: 0032853 | |
2015-07-06 18:40 | lethosor | Status | new => feedback |
2015-07-06 18:40 | lethosor | Summary | Using COMPRESSED_SAVES causes save corruption on some 64-bit systems => Using COMPRESSED_SAVES causes save corruption on some systems |
2015-07-06 18:41 | lethosor | Note Edited: 0032853 | |
2015-07-08 14:30 | Loci | Note Added: 0032864 | |
2015-09-02 10:39 | lethosor | Reproducibility | always => random |
2015-09-02 10:39 | lethosor | Assigned To | => lethosor |
2015-09-02 10:39 | lethosor | Status | feedback => new |
2018-05-08 08:01 | lethosor | Assigned To | lethosor => |
2019-10-07 14:14 | Loci | Assigned To | => Loci |
2019-10-07 14:14 | Loci | Status | new => acknowledged |