Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#5044 closed defect (fixed)

PQ1VGA : Engine Abort When Putting Away Gun at Jail

Reported by: digitall Owned by: m-kiewitz
Priority: low Component: Engine: SCI
Keywords: original Cc:
Game: Police Quest 1

Description

An engine abort occurs when putting away your gun at the Jail (Room 34) while going to offer deal to Marie Wilkans :
"lookupSelector(): Attempt to send to non-object or invalid script. Address was 0000:0000!"

ScummVM 1.2.0svn51482 (Jul 29 2010 22:39:09)
Features compiled in: Vorbis FLAC MP3 ALSA SEQ RGB zLib FluidSynth
on Linux 2.4.34 x86_32

Ticket imported from: #3036933. Ticket imported from: bugs/5044.

Attachments (2)

pq1sci.005 (46.4 KB) - added by digitall 9 years ago.
Savegame for Replication
scummvm00000.png (24.2 KB) - added by digitall 9 years ago.
Screenshot of error

Download all attachments as: .zip

Change History (16)

Changed 9 years ago by digitall

Attachment: pq1sci.005 added

Savegame for Replication

comment:1 Changed 9 years ago by digitall

Reliable to replicate.

To replicate:
1. load the attached savegame,
2. click on the lockbox near the centre of screen,
3. click top left box,
4. click on the gun in inventory,
5. click gun on top left box. Gun will appear in box.
6. click on top left lockbox to close. Abort will occur.

Note that this does not render the game uncompletable
as you can just click outside the lockbox window and the
box is closed by default.

comment:2 Changed 9 years ago by digitall

Checked with HEAD (r51493). Still occurs.

comment:3 Changed 9 years ago by bluegr

I can't reproduce this, when I put the gun in the lockbox it closes before I have a chance to click on it (i.e. steps 5 to 6)

comment:4 Changed 9 years ago by digitall

You have to click on the red close toggle at the bottom of the box before the 2-3second timeout and autoclose on mine.
If it is very quick on your PC, I'd suggest doing a "double" click when you put the gun in.

Attached screenshot of error occuring.

Changed 9 years ago by digitall

Attachment: scummvm00000.png added

Screenshot of error

comment:5 Changed 9 years ago by m-kiewitz

got the backtrace:

pq1::replay()
User::doit()
User::handleEvent(7:644)
IconBar::handleEvent(7:644)

comment:6 Changed 9 years ago by bluegr

Priority: normallow

comment:7 Changed 9 years ago by bluegr

This is a very extreme edge case to me, you need to be very quick and use the gun on the locker at the very moment it closes (which happens almost instantly). I find this very hard to reproduce in an normal playthrough and it's a edge case of a script timing issue anyway, so I'm lowering the priority of this one

comment:8 Changed 9 years ago by bluegr

Status: newclosed

comment:9 Changed 9 years ago by bluegr

Moving to the wiki, known SCI bugs page:
http://wiki.scummvm.org/index.php/SCI/Bugs

comment:10 Changed 9 years ago by bluegr

Keywords: original added
Owner: set to bluegr

comment:11 Changed 6 years ago by m-kiewitz

finally fixed today by ed865856dc1b486c52e0a22ae6d39f686e9a79ab

comment:12 Changed 6 years ago by m-kiewitz

Owner: changed from bluegr to m-kiewitz

comment:13 Changed 4 years ago by m-kiewitz

Resolution: fixed

comment:14 Changed 4 years ago by m-kiewitz

Woops, I forgot to change status accordingly

Note: See TracTickets for help on using tickets.