Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002587Dwarf FortressTechnical -- Saving/Loadingpublic2010-07-07 15:462015-06-29 13:32
ReporterSeveQ 
Assigned Tolethosor 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version0.31.08 
Target VersionFixed in Version 
Summary0002587: Saving fails silently when folder is not writeable (due to full disk, permissions, etc)
DescriptionI've just lost a well running fortress to save game corruption caused by a full harddisk.

In my opinion DF should at least tell me that it can't save the game for any reason and give me options to retry saving (after freeing up some space), abort saving completely (means losing the fortress) or return to the fortress.

Just silently killing the savegame is kind of irritating.
Tagssaving
Attached Files

- Relationships
has duplicate 0003271resolvedLogical2u DF does not check for available diskspace when saving game 
has duplicate 0005773resolvedFootkerchief Crashes when accepting newly generated world 
related to 0004824new DF doesn't notice if "export image/info" fails due to file system permissions etc 
related to 0002017newlethosor Using COMPRESSED_SAVES causes save corruption on some systems 

-  Notes
(0009892)
smjjames (reporter)
2010-07-10 15:55

Thats your problem right there, just remove some stuff off the harddisk or move the DF directory to a different disk, or move stuff on the harddisk to a flash drive.
(0010810)
SeveQ (reporter)
2010-07-22 05:28

Yeah, sure. My full harddisk causes this. But DF shouldn't silently ignore that and destroy the savegame. Other software that isn't able to save its data to the harddisk due to insufficient space throws error messages at you with the opportunity to correct the problem before the next attempt to save. IMHO DF should do likewise.

DF could somehow estimate the size of the savegame the moment the user chooses "Save" from the game menu (might be cumbersome). Or save process could be put before the quit event so that the game is only eventually quit on a successful save.

It's really a minor thing that won't appear as long as you keep enough free space on your harddisk. But sometimes, yeah, sometimes, unexpectedly... I've lost a very good turn to that.
(0012791)
Quietust (reporter)
2010-09-18 09:37
edited on: 2010-09-18 09:38

Considering that Dwarf Fortress, for the very purpose of avoiding savegame corruption if it happens to crash while saving, always saves your game as a copy in the "Current" folder and then, once it has finished, moves it into the appropriate region folder (after deleting the previous contents), I'd say that it should absolutely be handling this situation more gracefully.

(0018942)
zwei (reporter)
2011-11-04 03:15

I had ths happen recently, it is quite annoying to loose season because of simple oversight.

Autosave with autobackup eats up disk space steadily.

Lack of disk space definitelly calls for some kind of soluton other than "crash df" or "corrupt savegame".
(0032822)
Loci (manager)
2015-06-29 12:38

Still occurs in v0.40.24.

- Issue History
Date Modified Username Field Change
2010-07-07 15:46 SeveQ New Issue
2010-07-10 14:19 SeveQ Tag Attached: saving
2010-07-10 15:55 smjjames Note Added: 0009892
2010-07-22 05:28 SeveQ Note Added: 0010810
2010-09-18 09:37 Quietust Note Added: 0012791
2010-09-18 09:38 Quietust Note Edited: 0012791 View Revisions
2010-09-18 10:44 Logical2u Relationship added has duplicate 0003271
2011-11-04 03:08 zwei Issue Monitored: zwei
2011-11-04 03:15 zwei Note Added: 0018942
2014-01-21 19:55 Footkerchief Relationship added has duplicate 0005773
2014-01-21 19:56 Footkerchief Relationship added related to 0004824
2014-01-21 19:57 Footkerchief Summary DF silently fails to save game when disk is full => DF silently fails to save game when folder is not writeable (due to full disk, permissions, etc)
2014-01-21 19:57 Footkerchief Summary DF silently fails to save game when folder is not writeable (due to full disk, permissions, etc) => Saving fails silently when folder is not writeable (due to full disk, permissions, etc)
2015-06-29 12:38 Loci Note Added: 0032822
2015-06-29 13:32 lethosor Assigned To => lethosor
2015-06-29 13:32 lethosor Status new => confirmed
2015-06-29 13:33 lethosor Relationship added related to 0002017


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker