Bug 6543 - Savegames corrupted (possibly level 8 onwards)
Status: RESOLVED MOVED
Alias: None
Product: Descent 3
Classification: Unclassified
Component: everything
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: Ryan C. Gordon
QA Contact: Ryan C. Gordon
URL:
Depends on:
Blocks:
 
Reported: 2020-04-09 19:18 EDT by Hunter
Modified: 2022-08-25 10:09:41 EDT
3 users (show)

See Also:



Description Hunter 2020-04-09 19:18:18 EDT
After saving the game during the middle of a level, such as level 8, restoring the save results in the game crashing to desktop. I've noticed this and confirmed at least 3 times now when attempting to save the game before dealing with the cooling fan (as mentioned in a previous bug). 

The only way around the problem is to finish the level before saving. Saving at the start of any given level seems to work OK, but I suspect save points mid level are becoming corrupted somehow. Possibly a scripting or object paging issue, if I were a betting man. This makes testing and reproducing this bug a little time consuming.
Comment 1 Hunter 2020-04-26 22:35:57 EDT
Did a few more games, can confirm savegames are corrupting on pretty much every level. It seems to happen after about 5-10 minutes of playing whatever level you're on. If you save at that point, and attempt to restore it later, the game crashes to desktop.
Comment 2 bugzilla 2020-07-06 05:18:51 EDT
I can confirm this bug occurs even on level 1.

I haven't got past that yet!
Comment 3 Federico 2021-07-06 07:19:02 EDT
Stack trace of the crash: 

Thread 1 "descent3" received signal SIGSEGV, Segmentation fault.
0x000000000065a452 in ObjUnlink(int) ()
(gdb) bt
#0  0x000000000065a452 in ObjUnlink(int) ()
#1  0x000000000065acd1 in ObjDelete(int) ()
#2  0x0000000000601a86 in LGSObjects(CFILE*, int) ()
#3  0x00000000006024ff in LoadGameState(char const*) ()
#4  0x00000000005c992b in LoadCurrentSaveGame() ()
#5  0x00000000005cf635 in GameSequencer() ()
#6  0x00000000005bbad4 in PlayGame() ()
#7  0x00000000005b316f in MainLoop() ()
#8  0x00000000005b3937 in Descent3() ()
#9  0x000000000048d8c7 in main ()
Comment 4 Ryan C. Gordon 2022-08-25 10:09:41 EDT
This bug report has migrated to our GitHub issue tracker:

https://github.com/icculus/descent3-bugs/issues/15