[Scummvm-tracker] [ScummVM :: Bugs] #12188: Crash on comi (iMuse)

ScummVM :: Bugs trac at scummvm.org
Wed Feb 24 06:18:59 UTC 2021


#12188: Crash on comi (iMuse)
----------------------------+---------------------------
Reporter:  orgads           |      Owner:  (none)
    Type:  defect           |     Status:  new
Priority:  normal           |  Component:  Engine: SCUMM
 Version:                   |   Keywords:  imuse comi
    Game:  Monkey Island 3  |
----------------------------+---------------------------
 I'm using a development build. ScummVM crashed shortly after I threw the
 cheese to the volcano. I can't reproduce, but the error was that the
 following assertion was violated:

 `assert(region >= 0 && region < soundDesc->numRegions);`

 Saved game attached, but like I said - it doesn't reproduce.

 I attached a debugger and found that region is 1 and numRegions is also 1.

 These are the values of the other variables:

 {{{
 buf 0x0 byte*
 header_outside false bool
 header_size 443791488 int
 offset 0 int32
 offset_data 0 int32
 region 1 int
 region_length 0 int32
 region_offset 442622752 int32
 size 3307 int32
 soundDesc @0x2131a63f810 Scumm::ImuseDigiSndMgr::SoundDesc
 allData 0x0 byte*
 bits 12 byte
 bundle 0x0 Scumm::BundleMgr*
 channels 1 byte
 compressed false bool
 compressedStream 0x0 Audio::SeekableAudioStream*
 disk 2 int
 endFlag false bool
 freq 11025 uint16
 inUse true bool
 jump @0x2131937c2b0 Scumm::ImuseDigiSndMgr::Jump
 dest 531 int32
 fadeDelay -25723 int16
 hookId 73 byte
 offset -1878423586 int32
 lastFileName
 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
 char[24]
 littleEndian false bool
 marker @0x2131a73baf0 Scumm::ImuseDigiSndMgr::Marker
 length 13 int32
 pos 138 int32
 ptr "LAVABBL2.44S" char*
 name "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
 char[15]
 numJumps 0 int
 numMarkers 2 int
 numRegions 1 int
 numSyncs 0 int
 offsetData 138 int32
 region @0x2131937c2f0 Scumm::ImuseDigiSndMgr::Region
 length 59530 int32
 offset 138 int32
 resPtr "iMUS" byte*
 soundId 595 int16
 sync @0x2131937c300 Scumm::ImuseDigiSndMgr::Sync
 ptr 0x800173009b88e952 byte*
 size -2139588797 int32
 type 1 int
 volGroupId 2 int
 start 531 int32
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/12188>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list