Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#5229 closed defect (fixed)

SQ4FLOPPY: Crash while flying in Skate-o-Rama

Reported by: SF/kuroshiro Owned by: bluegr
Priority: normal Component: Engine: SCI
Version: Keywords:
Cc: Game: Space Quest 4


Space Quest 4 (Floppy/Dos/English) ScummVM 1.2.0SVN 52047 Windows 7 x64

This crash is a bit unpredictable. Sometimes the game just crashes when other skaters come on screen, sometimes it doesn't. When the crash happens it is with the message: "Send to invalid selector 0x1eb of object at 002e:06a0!"

Ticket imported from: #3044050. Ticket imported from: bugs/5229.

Attachments (2)

sq4-1.003 (46.3 KB ) - added by SF/kuroshiro 13 years ago.
save before entering Skate-o-Rama
sq4-de.006 (39.5 KB ) - added by bluegr 13 years ago.
Savegame from German version from bug #3112964

Download all attachments as: .zip

Change History (12)

by SF/kuroshiro, 13 years ago

Attachment: sq4-1.003 added

save before entering Skate-o-Rama

comment:1 by m-kiewitz, 13 years ago

please enter "bt" into console when this happens and post the output of that command in here. (only the 2-3 last lines of the output are needed)

comment:2 by SF/kuroshiro, 13 years ago

Ok, managed to reproduce this crash after a few tries. The last few lines of output from "bt" is:

a: [9] vsrewrite rm406::style (0000:0028) by 9 obj@002a:0228 pc:none argp:ST:0023 b: script 994 - rm406::setScript(002a:03b4, 0000:0000, 0000:019b) by 9 obj@002a:0228 pc=0010:0985 sp=ST:0025 fp=ST:0025 argp:ST:001e c: script 999 - enterScript::init(002a:0228, 0000:0000, 0000:019b) by b obj@002a:03b4 pc=0007:071e sp=ST:002a fp=ST:002a argp:ST:0026 d: script 406 - enterScript::changeState(0000:0000) by c obj@002a:03b4 pc:002a02c8 sp=ST:003f fp=ST:003f argp:ST:002b

I'm pretty certain that this actually has something to do with the Sequel Police appearing, and maybe Roger leaving the screen at the same time.

comment:3 by fingolfin, 13 years ago

What is the status of this item?

comment:4 by fingolfin, 13 years ago

Component: Engine: SCI
Game: Space Quest 4

comment:5 by bluegr, 13 years ago

Summary: SQ4FLOPPY: Second crash in Skate-o-RamaSQ4FLOPPY: Crash while flying in Skate-o-Rama

comment:6 by bluegr, 13 years ago

Merged in duplicate report #3112964

Same situation, error thrown is: "Send to invalid selector 0x21b of object at 0027:06a2!"

Attaching savegame from that bug

by bluegr, 13 years ago

Attachment: sq4-de.006 added

Savegame from German version from bug #3112964

comment:7 by bluegr, 13 years ago

Forgot to mention that the version in bug #3112964 is the German version:

Space Quest IV: Roger Wilco and the Time Rippers (DOS/German) ScummVM 1.3.0svn54358 (Nov 19 2010 12:19:12)

comment:8 by bluegr, 13 years ago

In both situations, this occurs while flying in the skate-o-rama while the Sequel Police are shooting at you. The object in question in both cases is eSwimCode. Here's what happens before the crash:

English version: Send to 002e:06a0 (eSwimCode), selector 0066 (init):Funcselector(0001:00d8) at 0030:0004 Send to 002e:06a0 (eSwimCode), selector 01f0 (inertizing):Send to invalid selector 0x1f0 of object at 002e:06a0!

German version: Send to 0027:06a2 (eSwimCode), selector 006b (init):Funcselector(0001:00fa) at 002a:0004 Send to 0027:06a2 (eSwimCode), selector 021b (inertizing):Send to invalid selector 0x21b of object at 0027:06a2!

The odd thing is that the selector is there, so I believe that the problem lies with a bug withing eSwimCode:init()

comment:9 by bluegr, 13 years ago

Fixed in rev #54415

comment:10 by bluegr, 13 years ago

Owner: set to bluegr
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.