[Scummvm-tracker] [ScummVM :: Bugs] #16287: SCUMM: DIG: Game crashes when moving to another area

ScummVM :: Bugs trac at scummvm.org
Fri Oct 17 21:32:51 UTC 2025


#16287: SCUMM: DIG: Game crashes when moving to another area
---------------------+----------------------------
Reporter:  ianperez  |       Owner:  AndywinXp
    Type:  defect    |      Status:  closed
Priority:  normal    |   Component:  Engine: SCUMM
 Version:            |  Resolution:  fixed
Keywords:            |        Game:  The Dig
---------------------+----------------------------
Changes (by AndywinXp):

 * owner:  (none) => AndywinXp
 * resolution:   => fixed
 * status:  new => closed

Comment:

 In [changeset:"ec98389ca5cc5240c7fddb9c21bf18a58cdc6f87" ec98389c]:
 {{{#!CommitTicketReference repository=""
 revision="ec98389ca5cc5240c7fddb9c21bf18a58cdc6f87"
 SCUMM: DIG/DiMUSE: Post-load fix for corrupted savegames

 Fixes #16287:

 "SCUMM: DIG: Game crashes when moving to another area"

 There has been a small wave of corrupted savegames which
 were seemingly connected to ticket #15215:

 "SCUMM: DIG: Error box 29 is out of bounds in ScummVM 2.8.1"

 In affected savegames, the _attributes array from the iMUSE system
 seems to contain byteswapped 32-bit values in a few of the slots,
 suggesting some kind of data corruption happening behind the scenes.

 While the issue was solved in eefca8b ("SCUMM: (DIG) - fix
 setActorWalkSpeed"),
 there is no guarantee that a previous savegame won't be affected and won't
 cause
 a chain reaction in playDigMusic(), causing an out of bounds array read.

 This is a pretty reliable way to detect if the savegame was corrupted.

 Hopefully.
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/16287#comment:6>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list