#5113 closed defect (fixed)
SCI Fanmade - Circus Quest: Crash when starting
Reported by: | SF/escarlate | Owned by: | lskovlun |
---|---|---|---|
Priority: | normal | Component: | Engine: SCI |
Version: | Keywords: | script | |
Cc: | Game: | SCI Fanmade |
Description
Crashes right away, when loading the game. The console spews out:
[VM] Stack index 4180 out of valid range [0..4095]!
Game Version: DOS/English ScummVM Version: 1.2.0SVN51672 Operating System: Win32 (XP SP2)
Ticket imported from: #3038686. Ticket imported from: bugs/5113.
Change History (4)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Fixed by lskovlun in rev 54150. From his comments on the issue:
"This is an interesting bug indeed. I'd say it's a compiler bug; it happens because SCI Companion generates pushSelf instructions with the low bit set. In some SCI versions this is a debug marker (the .file "opcode") so we skip ahead until the next NUL byte in that case. But in the SCI Companion case, the instruction is an actual pushSelf instruction.
The fix is easy, but I've marked it fanmade only as this variant is only generated by non-Sierra compilers. I'd say our interpretation is "right" as there are other SCI tools that also fail to work with these two games (try looking at the Circus script 999 in SCI Viewer, for example)."
Closing
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 14 years ago
Keywords: | script added |
---|---|
Owner: | set to |
The game enters a seemingly infinite recursion. The same happens with The Farm Nightmare.