[Scummvm-tracker] [ScummVM :: Bugs] #15035: AGS: No-Action Jackson - Segmentation fault upon player being given control

ScummVM :: Bugs trac at scummvm.org
Wed Mar 27 18:33:55 UTC 2024


#15035: AGS: No-Action Jackson - Segmentation fault upon player being given control
----------------------------------------+--------------------------
Reporter:  dfsgand                      |       Owner:  (none)
    Type:  defect                       |      Status:  new
Priority:  normal                       |   Component:  Engine: AGS
 Version:                               |  Resolution:
Keywords:  crash AGS No-Action Jackson  |        Game:
----------------------------------------+--------------------------
Comment (by dfsgand):

 I did some more digging and it seems that the problem is due to
 GetHotspotProperty being called with hss=-1. In turn that appears to be
 due to AGS3::Sc_GetHotspotProperty being called with params->IValue=-1.

 Patching GetHotspotProperty (engines/ags/engine/ac/global_hotspot.cpp) to
 return -1 if hss < 0 fixes the problem, but I don't know if that's just
 covering up a bug elsewhere.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15035#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list