Opened 5 years ago

Closed 2 months ago

Last modified 2 months ago

#12717 closed defect (fixed)

ILLUSIONS: Duckman: SIGSEGV in startMoveActor() when clicking too early in the first scene

Reported by: dwatteau Owned by: bluegr
Priority: high Component: Engine: Illusions
Version: Keywords: illusions, duckman, crash, actor, cursor
Cc: Game:

Description

This is with ScummVM c84c8cbe28cf49bc3736a0896bb05423e93eaff2 (2021-07-02) on Debian 11 (amd64).

With Duckman, if you do the following:

  1. Start a new game.
  2. When the first scene with the army guy starts, quickly press Escape. The "Game Paused" menu appears.
  3. Press Escape again, so that this menu closes.
  4. The game unpauses, and the cursor has been switched on (with a Duckman face).
  5. Left-click with the mouse.

then, the game crashes.

gdb backtrace is attached.

Attachments (1)

duckman_actorTypeId_crash_gdb.txt (18.2 KB ) - added by dwatteau 5 years ago.
gdb backtrace

Download all attachments as: .zip

Change History (5)

by dwatteau, 5 years ago

gdb backtrace

comment:1 by dwatteau, 3 months ago

Priority: normalhigh

Rising priority, since it's quite trivial to crash the engine just after starting a new game.

comment:2 by Filippos Karapetis <bluegr@…>, 2 months ago

In 845cfd9d:

ILLUSIONS: Handle invalid object IDs in opStartMoveActorToObject

Fixes bug #12717

comment:3 by bluegr, 2 months ago

Owner: set to bluegr
Resolution: fixed
Status: newclosed

comment:4 by Filippos Karapetis <bluegr@…>, 2 months ago

In 5895641e:

ILLUSIONS: Handle invalid object IDs in opStartMoveActorToObject

Fixes bug #12717

Note: See TracTickets for help on using tickets.