Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5684 closed defect (fixed)

SCI: QFG3: Script error in tarna

Reported by: tsoliman Owned by: wjp
Priority: normal Component: Engine: SCI
Keywords: script Cc:
Game: Quest for Glory 3

Description

Unexpected request for outgoing references from clone at 002c:04f6!

Backtrace:
Call stack (current base: 0x0):
0: script 994 - Glory::replay()
obj@0001:34d2 pc=0004:04e5 sp=ST:0001 fp=ST:0000 argp:ST:0001
1: script 0 - Glory::doit()
by 0 obj@0001:34d2 pc=0001:0324 sp=ST:0006 fp=ST:0003 argp:ST:0002
2: script 994 - Game::doit()
by 1 obj@0001:34d2 pc=0004:0628 sp=ST:000b fp=ST:0008 argp:ST:0007
3: script 999 - timers::eachElementDo(0000:0039)
by 2 obj@0004:123c pc=0003:0449 sp=ST:0013 fp=ST:000e argp:ST:000c

linux self compiled git version a896125

savegame attached. To reproduce, try to go to the temple stairs. As soon as the screen switches, the error occurs.

Ticket imported from: #3295849. Ticket imported from: bugs/5684.

Attachments (1)

qfg3-thief.068 (50.2 KB ) - added by tsoliman 8 years ago.
savegame: exit the shop and head towards the temple

Download all attachments as: .zip

Change History (8)

by tsoliman, 8 years ago

Attachment: qfg3-thief.068 added

savegame: exit the shop and head towards the temple

comment:1 by bluegr, 8 years ago

Same as bug #3299458, fixed in rev 35086fe17c

comment:2 by bluegr, 8 years ago

Owner: set to bluegr
Resolution: fixed
Status: newclosed

comment:3 by wjp, 8 years ago

While trying to find the core cause for this I ran into the following issue with this savegame:

debug> vo ?egoTell.1
Information on the object at the given address:
[0053:171d] egoTell : 16 vars, 1 methods
-- member variables:
Segmentation fault

comment:4 by wjp, 8 years ago

Furthermore, the "unexpected request" is from "clone at 002c:04f6".

This value comes from the okButton variable of the barter object at 0046:18ce, in script 47.

comment:5 by wjp, 8 years ago

c01fed7159c313680e55458efb6529d332ebc8b0 has a new fix for this.

comment:6 by wjp, 8 years ago

Owner: changed from bluegr to wjp

comment:7 by wjp, 8 years ago

Also committed a fix for the vo debugging segfault I mentioned (5fc5265b).

Note: See TracTickets for help on using tickets.