Opened 2 months ago
Last modified 2 months ago
#15539 new defect
SCUMM: HE: Assertion error crash in Spy Fox 2 "Things From Space" minigame
Reported by: | joeraz | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Spy Fox 2 |
Description
Hello,
I'm running into an issue where ScummVM crashes while I'm playing the spy watch minigame in Spy Fox 2: "Things From Space". This crash seems to occur if I die on level 6 of the game. I've died in earlier levels, and the game continues as normal. According to the console, the crash is due to an assertion error, though the console goes away too quickly before I can capture any more detail.
I've had this happen in the 2.9 prelease, 2.8, and some prior versions as well (it's been happening for a few versions - I thought it was reported before, but can't find any bug report). I've tested in both Windows 10 and 11.
Change History (2)
comment:1 by , 2 months ago
Summary: | Assertion error crash in Spy Fox 2 "Things From Space" minigame → SCUMM: HE: Assertion error crash in Spy Fox 2 "Things From Space" minigame |
---|
Great find! This happens because the game is trying to load a bunch of images which have resource id equal to 0. This is allowed in the original and effectively yields a valid image file.
We disallow it because of this piece of code in
ScummEngine::ensureResourceLoaded()
:It's not clear to me why this piece of code is here... I'll investigate and then let you know.