[Scummvm-tracker] [ScummVM :: Bugs] #14924: [SCI] Crash at portal in lighthouse
ScummVM :: Bugs
trac at scummvm.org
Tue Feb 6 06:42:58 UTC 2024
#14924: [SCI] Crash at portal in lighthouse
-------------------+--------------------------
Reporter: vvs- | Owner: sluicebox
Type: defect | Status: pending
Priority: normal | Component: Engine: SCI
Version: | Resolution: fixed
Keywords: | Game: Lighthouse
-------------------+--------------------------
Changes (by sluicebox):
* owner: (none) => sluicebox
* status: new => pending
* resolution: => fixed
Comment:
Hello! Thank you for reporting this; it's a script bug in the original
that relies on the undefined value of an uninitialized variable.
Fixed in:
https://github.com/scummvm/scummvm/commit/5a12df7b4b54b572860fce812bc516f6e2cd4d52
This is so straightforward from looking at the scripts that I didn't
bother setting up Lighthouse to test this. Please confirm that the fix
works and I'll close this.
You saw different behavior because that was a release build. Uninitialized
variable reads are so common in SCI games that in release builds, we just
guess a value and proceed in the hopes that the game works, and log a
warning. In non-release builds it's an error so that it gets the attention
it needs: an investigation to supply the correct value the buggy script
needs to work. We've taken care of most of them, every now and again we
find out about a straggler like this.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14924#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list