Opened 8 weeks ago
SCUMM: FT: seg fault in the imuse_digi submodule when a game action is attempted.
|Reported by:||nniro||Owned by:|
I am testing this on a raspberry pi 4 with the bleeding edge scummvm which I compiled myself. I'm not sure if the same issue happens on other platforms, please check.
At the beginning of the game, when you are next to the dumpster. If you attempt to use your hand or leg on the dumpster there is a 50% chance of a crash. On the next screen (in front of the bar), when you use your eyes on the window of the bar, the game crashes on all attempts. Doing actions pretty much always end up in a crash.
Running scummvm with gdb gave me this result :
0x0007d0c0 in Scumm::IMuseDigital::switchToNextRegion (track=0x2bbd6d0, this=0x2bfa640) at engines/scumm/imuse_digi/dimuse.cpp:582
Program terminated with signal SIGSEGV, Segmentation fault.
I used git blame to check which commit actually made changes around that line and found 3 possible commits :
The problem was solved after reverting these 3 commits. Do note however that I don't think all of these 3 commits caused the regression.