SCI : loading savegames crashes when loading is disabled
|Reported by:||misterhands||Owned by:||wjp|
SCUMMVM 1.6.0git1351-g74d5214 Win64
This occurs in certain SCI games, like QFG1VGA, and LSL2. This may happen in other SCI games too.
When you load a savegame at a time when you're not supposed to (and loading is disabled in the original interpreter), quite logically, SCUMMVM crashes, with output that looks like this :
For LSL2, when trying to load at the copy protection screen : WARNING: Attempt to free Hunk from address 001a:0004: Invalid segment type! WARNING: getObject(): Trying to get an invalid object! lookupSelector(): Attempt to send to non-object or invalid script. Address was 0017:00c0!
For QFG1VGA, when trying to load at the legal messages at the start of the game : WARNING: getObject(): Trying to get an invalid object! lookupSelector(): Attempt to send to non-object or invalid script. Address was 002c:00cc!
So the fix would be to either disable loading at these places like the original, or make sure that everything is properly initialized so that a savegame can be loaded without crashing. I think the latter would be better, if that's possible.
Ticket imported from: #3565505. Ticket imported from: bugs/6136.
Change History (23)
comment:11 by , 11 years ago
|Summary:||SCI : crash when loading a savegame → SCI : loading savegames crashes when loading is disabled|