[Scummvm-tracker] [ScummVM :: Bugs] #12381: AGS: Reading empty music channel's properties causes null pointer exception. (was: Reading empty music channel's properties causes null pointer exception.)

ScummVM :: Bugs trac at scummvm.org
Thu Apr 8 22:28:12 UTC 2021


#12381: AGS: Reading empty music channel's properties causes null pointer
exception.
------------------------+--------------------------
Reporter:  Khatoblepas  |       Owner:  (none)
    Type:  patch        |      Status:  new
Priority:  normal       |   Component:  Engine: AGS
 Version:               |  Resolution:
Keywords:  audio, ags   |        Game:
------------------------+--------------------------
Changes (by Khatoblepas):

 * summary:
     Reading empty music channel's properties causes null pointer
     exception.
     =>
     AGS: Reading empty music channel's properties causes null pointer
     exception.


Old description:

> 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.

New description:

 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.

--
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/12381#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list