Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0011960 [DCSS] Bug Report minor always 2019-04-23 01:26 2020-05-02 19:06
Reporter Siegurt View Status public  
Assigned To
Priority normal Resolution open  
Status confirmed   Product Branch 0.24 old branch
Summary 0011960: Broken save file
Description Somehow I ended up with a broken save file, I can't go "up" in the attached save (it says something about empty blocks)
Additional Information
Tags No tags attached.
Attached Files ? file icon Rosita.cs [^] (277,377 bytes) 2019-04-23 01:26
? file icon Rosita Initial at 10am.cs [^] (277,377 bytes) 2019-04-23 22:06
? file icon Rosita at 1pm.cs [^] (277,377 bytes) 2019-04-23 22:06
zip file icon Rosita Saves.zip [^] (1,433,561 bytes) 2019-04-23 23:07

- Relationships
related to 0011486confirmed When I try to go upstairs, the game crashes 

-  Notes
(0033222)
advil (administrator)
2019-04-23 02:43
edited on: 2019-04-23 02:43

This looks very similar to 0011486 to me (same error, possibly similar configuration of 0d data in the save file. It didn't sound like you did anything particularly unusual that led to that one, but I don't think we've seen any other reports like this so 2 instances is enough for me to suspect that it may be something about your system.

I took a quick look at the save file and I'm not sure this one is recoverable either, at least with my save editing skills, but I'll try to take a deeper look.

(0033223)
Siegurt (reporter)
2019-04-23 09:40

This was particularly straightforward, I started a game in the same version, played for a while, tried to flee upstairs from Psyche and crashed, came back and different tactics led to another crash on the same upstairs, then just to verify re-loaded the game and took the nearby upstairs and crashed the game just to verify reproducability.

There are two things I can think of which might possibly be odd: One is that I have a tendency to start a game on my laptop, play in short bursts, and leave it idle for long periods of time (I typically play crawl while I'm waiting for a rebuild all to happen on my work computer as that takes upwards of 10 minutes at a stretch) As such it's not uncommon for my computer to have gone to sleep with the game open.

The second thing I can think of is that I have my save/morgue folders located inside a google drive synced folder, so that I can switch between my big laptop and my travel laptop while continuing the same game. I'm not sure why being located in a would make a difference, but that's really the only thing that seems like a possible oddity.

In both cases (this one and the related issue) the games were started and played entirely on a single computer and the other computer which could possibly sync to the same folder wasn't so much as powered on.

I play a lot of DCSS (typically 8-10 games a day) and this is only the second time it's happened, and I've had my current laptop for almost two years. It seems like it might be something about my laptop's setup tied to a very rare timing issue of some sort, if it starts cropping up more I'll try to see if there's something more I can do to isolate it, but a problem that comes up once a year or so is pretty hard to definitively isolate.

Is it possible that the save game was saved and then synced in some sort of intermediate indeterminate state and subsequent edits to it were oddly discarded by gdrive somehow? I'm not terribly familiar with DCSS's save game method, but if the state it's in right now might be an artifact of the order in which things are written and subsequently updated on disk, that might be a solid lead to what's going on here.
(0033224)
advil (administrator)
2019-04-23 19:47

Thanks for the detailed response. The google drive observation does look suspicious if the app is doing something like intercepting fs calls. Even if it's not actively syncing to another computer it will be syncing to google's servers. Can you look in the web interface to see the file history? If you find it in "My Drive" and click on it, you should be able to select an activity tab that will show you any sync history. Not sure if you can access the old versions for non-gdocs-items though.

Unless something is wrong with the filesystem flush call I'm pretty sure it shouldn't ever save in an indeterminate state like that (see e.g. 0004039 ). I don't think sleeping should matter either, unless there's actually something wrong with the computer or hard drive.
(0033225)
Siegurt (reporter)
2019-04-23 22:07

In addition to the "current" revision, there were two earlier ones, one when the file was created at 10 am and one midday at 1pm, I've uploaded both of those for reference
(0033226)
Siegurt (reporter)
2019-04-23 23:02

Further info, the activity log in gdrive is actually *not* the list of revisions, it's just a list of things that happened, the files I attached were actually just copies of the same exact file, I'm going to remove them and get the actual stored revisions out (FFI, in the web interface right-click and do 'manage versions')
(0033227)
Siegurt (reporter)
2019-04-23 23:02

Further info, the activity tab in gdrive is actually *not* the list of revisions, it's just a list of things that happened, the files I attached were actually just copies of the same exact file, I'm going to remove them and get the actual stored revisions out (FFI, in the web interface right-click and do 'manage versions')
(0033228)
Siegurt (reporter)
2019-04-23 23:08

I don't have permission to delete the duplicate files, I've uploaded a .zip with all the save revisions from google drive.
(0033785)
advil (administrator)
2020-05-02 19:06

Possibly related? https://github.com/crawl/crawl/issues/1345 [^]

- Issue History
Date Modified Username Field Change
2019-04-23 01:26 Siegurt New Issue
2019-04-23 01:26 Siegurt File Added: Rosita.cs
2019-04-23 02:39 advil Relationship added related to 0011486
2019-04-23 02:43 advil Note Added: 0033222
2019-04-23 02:43 advil Status new => confirmed
2019-04-23 02:43 advil Note Edited: 0033222
2019-04-23 09:40 Siegurt Note Added: 0033223
2019-04-23 19:47 advil Note Added: 0033224
2019-04-23 22:06 Siegurt File Added: Rosita Initial at 10am.cs
2019-04-23 22:06 Siegurt File Added: Rosita at 1pm.cs
2019-04-23 22:07 Siegurt Note Added: 0033225
2019-04-23 23:02 Siegurt Note Added: 0033226
2019-04-23 23:02 Siegurt Note Added: 0033227
2019-04-23 23:07 Siegurt File Added: Rosita Saves.zip
2019-04-23 23:08 Siegurt Note Added: 0033228
2020-05-02 19:06 advil Note Added: 0033785


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker