|
|
Reporter | c0reDump | Assigned To | lethosor | |
---|
Priority | normal | Severity | major | Reproducibility | always |
---|
Status | resolved | Resolution | duplicate | |
---|
Product Version | 50.11 | |
---|
|
|
Summary | 0012608: Missing error handling on disk write failures -- saved state can be lost |
---|
Description | All versions appear to be lacking disk I/O error handling. Game's state will be lost if there is an issue writing to disk, with no warnings given to the user and no option for the user to take corrective actions before the state is irrevocably lost -- the error is "silently ignored" (and nothing is written to the gamelog.txt or to the terminal console).
Disk write failures can happen for many reasons: disk/partition is full, lack of write permissions issue with the "save" folder, disk is network attached and lost its mount (becomes read-only on intermittent network issue), etc. |
---|
Steps To Reproduce | An easy way to reproduce a disk write failure is to change the permissions of the "save" folder so the current user does not have write access -- then create a new world, and save/exit back to the main menu. Notice that there is no warning in the user interface letting the user know that there was a problem writing the state to disk, and the save folder remains empty. |
---|
Additional Information | Suggest implementing a modal popup notifying the user of the failure to save the game's state to disk (with all the details), and provide user with options to either "Retry" or "Ignore" the failure. |
---|
Tags | No tags attached. |
---|
|
|