Opened 5 months ago

#15234 new defect

DRAGONS: Crash when you use the turnstile at the Dragon Trap underground scene and let the animation loop

Reported by: AmigaMaster Owned by:
Priority: normal Component: Engine: Dragons
Version: Keywords:
Cc: Game: Blazing Dragons

Description

In the Dragon Trap Underground scene, use the turnstile and let the animation play. When it tries to loops for the 7th time, ScummVM crashes in https://github.com/scummvm/scummvm/blob/52e89ef174ffb00e4baf34b734c13f9dfefb62be/engines/dragons/sequenceopcodes.cpp#L61 with:

Assertion failed: opCall._op < DRAGONS_NUM_SEQ_OPCODES, file /data/src/engines/dragons/sequenceopcodes.cpp, line 61

Debug logs with Debuglevel >=5 shows the loop for exactly 6 times before the crash happens when Actor[2] execute sequenceOp is logged the 7th time:

Actor[2] execute sequenceOp
execSequenceOpcode(2) opSetFramePointerAndStop
ARG_INT16(framePointer = 1162)
set frame pointer 48A
Frame blockSize: 896 width: 56 height: 64
ActorId: 2 load frame header: (56,64)
(...)
Actor[2] execute sequenceOp

Savegame attached to this ticket.

ScummVM versions tested:
2.8.1 (Mar 16 2024 13:01:03)
2.9.0git5438-g00adc4642f6 (Jun 27 2024 04:46:55)

Game: Blazing Dragons
Language: German
Version of game: Sony Playstation
OS: Windows 10.0.19045.4412

Attachments (1)

dragons-de.000 (20.2 KB ) - added by AmigaMaster 5 months ago.

Download all attachments as: .zip

Change History (1)

by AmigaMaster, 5 months ago

Attachment: dragons-de.000 added
Note: See TracTickets for help on using tickets.