[Scummvm-tracker] [ScummVM] #10773: QFG4 floppy: Crash when asking Cranium for potions

Vhati trac at scummvm.org
Wed Oct 31 20:06:05 CET 2018


#10773: QFG4 floppy: Crash when asking Cranium for potions
--------------------------------+-------------------------
  Reporter:  Vhati              |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  high               |  Component:  Engine: SCI
Resolution:                     |   Keywords:  SCI32
      Game:  Quest for Glory 4  |
--------------------------------+-------------------------

Comment (by Vhati):

 Both error addresses above (00bb:03a6 and 00f2:03a6), in their respective
 savegames, refer to craniumThumbs.

 Script 69 delares craniumTalker, whose showAgain() is calling
 craniumThumbs::show(). At that moment, craniumThumbs has no valid plane to
 be drawn on. While chatting prior to the formula prompt, plane had been
 0012:0003.

 During a chat, I can toggle his visibility in the debugger without issue
 ("send craniumTalker hide" and "send craniumTalker showAgain"). The
 transition to the formula prompt, and back, must be removing Views from
 the plane, and not putting them back.

 Just before the prompt, "bp_kernel DeleteScreenItem break" says
 craniumTalker is getting disposed.

 See also: #10778 where hero's visibiliy wasn't getting restored as the
 room was disposed.

--
Ticket URL: <https://bugs.scummvm.org/ticket/10773#comment:6>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list