Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#5681 closed defect (fixed)

SCI: KQ6: Crash when browsing inventory

Reported by: (none) Owned by: m-kiewitz
Priority: normal Component: Engine: SCI
Version: Keywords: original
Cc: Game: King's Quest 6

Description

When the inventory spans two pages, if you swap between them enough times without closing the inventory window the game will crash with the message:

ERROR: [VM] Stack index 4130 out of valid range [0..4095]

King's Quest VI (CD/Windows/English) ScummVM 1.3.0git4605-g42a0ebc MacOS 10.6

Ticket imported from: #3293954. Ticket imported from: bugs/5681.

Change History (9)

comment:1 by bluegr, 13 years ago

Keywords: script added
Priority: normallow

comment:2 by bluegr, 13 years ago

This sounds like a script bug

Lowering the priority of this one for now, since it's an adge case and doesn't affect normal gameplay (this helps distinguish which bugs are release critical)

comment:3 by bluegr, 13 years ago

Priority: lownormal

comment:4 by wjp, 13 years ago

The number of stack frames grows by 4 every time you switch pages. At some point that overflows the stack. I don't think this is something we can fix.

comment:5 by wjp, 13 years ago

Summary: KQ6: Crash when browsing inventorySCI: KQ6: Crash when browsing inventory

comment:6 by wjp, 13 years ago

Closing, but added on wiki at http://wiki.scummvm.org/index.php/SCI/Bugs#Script_bugs .

comment:7 by wjp, 13 years ago

Owner: set to wjp
Resolution: wontfix
Status: newclosed

comment:8 by m-kiewitz, 10 years ago

was a script bug, that also occurs in sierra SCI

fixed today using a script patch via commit e14fc8a8561725c74d2923aed995de3dcfff68e7

comment:9 by m-kiewitz, 10 years ago

Keywords: original added; script removed
Owner: changed from wjp to m-kiewitz
Resolution: wontfixfixed
Note: See TracTickets for help on using tickets.