Opened 3 years ago

Last modified 3 years ago

#12381 closed patch

Reading empty music channel's properties causes null pointer exception. — at Version 1

Reported by: Khatoblepas Owned by:
Priority: normal Component: Engine: AGS
Version: Keywords: audio, ags
Cc: Game:

Description (last modified by Khatoblepas)

Using: ScummVM 2.3.0git14968-g24048d0ae7 (Apr 7 2021 05:31:44), Windows 10 x64
Game: Terror of the Vampire! v1.33
Bug: When exiting Byron's room in the first act while no music is playing, ScummVM will quit with the following error:

In "room4.asc", line 326
Error: Error Running function 'room_Leave':
Error: Null pointer referenced

Line 326 is

if (music.PlayingClip!=aWatching_You)

and runs fine on the native interpreter.

Change History (3)

by Khatoblepas, 3 years ago

Attachment: ags-fallback-1.001 added

ScummVM save game before the crash (exit room to trigger)

by Khatoblepas, 3 years ago

Attachment: agssave.001 added

AGS save game in the same location.

comment:1 by Khatoblepas, 3 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.