Opened 7 months ago

Closed 7 months ago

#15141 closed defect (fixed)

SCI: Betrayed Alliance v1.3.2: Uninitialized read

Reported by: dfsgand Owned by: sluicebox
Priority: normal Component: Engine: SCI
Version: Keywords: crash
Cc: Game: SCI Fanmade

Description

ScummVM version: ScummVM 2.9.0git4897-g054e28f118a on Linux (amd64, Debian 11.9)

Game: Betrayed Alliance v1.3.2, https://github.com/Slattstudio/BetrayedAllianceBook1/releases/tag/release-v1.3.2

Upon being given control after choosing New Game and watching the intro, selecting the "Notes" option from the "Character" menu opens the ScummVM debug console with an uninitialized read message. Exiting from this console crashes the game.

The game supports running a native SCI interpreter through DOSBox. Doing so works: selecting the Notes option shows a dialog box instead of crashing the game. (See the attached screenshot.)

Scummvm's terminal output is:

WARNING: SDL mixer output buffer size: 512 differs from desired: 1024!
User picked target 'sci-fanmade-fallback' (engine ID 'sci', game ID 'sci-fanmade')...
   Looking for a plugin supporting this target... SCI [all games]
Running Fanmade SCI Game (DOS/English)
resource.001: e160dce04115c5f6bfd68870b8adbf8f, 3355630 bytes.
resource.map: 6f5d48443ad7f8f67190cc59a6c27af4, 4896 bytes.
[sci-fanmade-fallback 0/997 TheMenuBar::handleEvent @ 0468]: Uninitialized read for temp 507!
Debugger started, type 'exit' to return to the game.
Type 'help' to see a little list of commands and variables.
ERROR: [sci-fanmade-fallback 0/997 TheMenuBar::handleEvent @ 0468]: Uninitialized read for temp 507!

Attachments (1)

betrayed_alliance.png (11.3 KB ) - added by dfsgand 7 months ago.

Download all attachments as: .zip

Change History (3)

by dfsgand, 7 months ago

Attachment: betrayed_alliance.png added

comment:1 by sluicebox <22204938+sluicebox@…>, 7 months ago

In b4a2c8d5:

SCI: Add Betrayed Alliance uninit variable workaround

Ticket #15141

comment:2 by sluicebox, 7 months ago

Owner: set to sluicebox
Resolution: fixed
Status: newclosed

Thanks; added a workaround for this script bug in b4a2c8d51240a18b3a2c143bebb04aecc73eed66

Emailing the author now! =)

Note: See TracTickets for help on using tickets.