Opened 14 years ago

Closed 14 years ago

Last modified 10 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
Version: 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 14 years ago.
Savegame for Replication
scummvm00000.png (24.2 KB ) - added by digitall 14 years ago.
Screenshot of error

Download all attachments as: .zip

Change History (16)

by digitall, 14 years ago

Attachment: pq1sci.005 added

Savegame for Replication

comment:1 by digitall, 14 years ago

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 by digitall, 14 years ago

Checked with HEAD (r51493). Still occurs.

comment:3 by bluegr, 14 years ago

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 by digitall, 14 years ago

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.

by digitall, 14 years ago

Attachment: scummvm00000.png added

Screenshot of error

comment:5 by m-kiewitz, 14 years ago

got the backtrace:

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

comment:6 by bluegr, 14 years ago

Priority: normallow

comment:7 by bluegr, 14 years ago

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 by bluegr, 14 years ago

Status: newclosed

comment:9 by bluegr, 14 years ago

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

comment:10 by bluegr, 14 years ago

Keywords: original added
Owner: set to bluegr

comment:11 by m-kiewitz, 11 years ago

finally fixed today by ed865856dc1b486c52e0a22ae6d39f686e9a79ab

comment:12 by m-kiewitz, 11 years ago

Owner: changed from bluegr to m-kiewitz

comment:13 by m-kiewitz, 10 years ago

Resolution: fixed

comment:14 by m-kiewitz, 10 years ago

Woops, I forgot to change status accordingly

Note: See TracTickets for help on using tickets.