[Scummvm-tracker] [ScummVM :: Bugs] #13221: SCUMM: Monkey Island 2 Segfault (Midi related)
ScummVM :: Bugs
trac at scummvm.org
Sun Jan 16 16:06:17 UTC 2022
#13221: SCUMM: Monkey Island 2 Segfault (Midi related)
----------------------+------------------------------
Reporter: mgerhardy | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: | Game: Monkey Island 2
----------------------+------------------------------
Comment (by athrxx):
I can't reproduce that with your savegame on Windows, neither with
hardware MT-32 nor with the emulator. So, maybe it only happens with ALSA.
Since at least the direct cause of the segfault is kind of obvious from
your post (still no idea why _player->_se qould ever be null): Could you
please try to change line 333 in `imuse_parts.cpp` from
`if (_instrument.isValid())`
to
`if (_player && _player->_se && _player->getMidiDriver() &&
_instrument.isValid())`
and see if that solves the issue?
--
Ticket URL: <https://bugs.scummvm.org/ticket/13221#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list