Opened 3 years ago

Closed 3 years ago

#12381 closed patch (pending)

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

Reported by: Khatoblepas Owned by: dreammaster
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 3 years ago.
ScummVM save game before the crash (exit room to trigger)
agssave.001 (1.4 MB ) - added by Khatoblepas 3 years ago.
AGS save game in the same location.

Change History (5)

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)

comment:2 by Khatoblepas, 3 years 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.

comment:3 by dreammaster, 3 years ago

Owner: set to dreammaster
Resolution: pending
Status: newclosed

I'm hopeful that the new codebase will have fixed the error. Unfortunately, the old savegames are no longer loadable, and I haven't been able to find a walkthrough to play through to the given point. So it would be appreciated if you can validate whether the problem still persists, and if so, attach a new savegame from the room. Thanks.

Note: See TracTickets for help on using tickets.