Opened 5 weeks ago

Last modified 5 weeks ago

#12381 new patch

AGS: Reading empty music channel's properties causes null pointer exception.

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
https://www.adventuregamestudio.co.uk/site/games/game/2170/
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.

Attachments (2)

ags-fallback-1.001 (1.1 MB ) - added by Khatoblepas 5 weeks ago.
ScummVM save game before the crash (exit room to trigger)
agssave.001 (1.4 MB ) - added by Khatoblepas 5 weeks ago.
AGS save game in the same location.

Change History (4)

by Khatoblepas, 5 weeks ago

Attachment: ags-fallback-1.001 added

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

by Khatoblepas, 5 weeks ago

Attachment: agssave.001 added

AGS save game in the same location.

comment:1 by Khatoblepas, 5 weeks ago

Description: modified (diff)

comment:2 by Khatoblepas, 5 weeks ago

Description: modified (diff)
Summary: Reading empty music channel's properties causes null pointer exception.AGS: Reading empty music channel's properties causes null pointer exception.
Note: See TracTickets for help on using tickets.