Opened 8 years ago

Closed 8 years ago

#5818 closed defect (fixed)

LURE: Crash in first scene when talking to guard

Reported by: SF/agf863 Owned by: dreammaster
Priority: normal Component: Engine: Lure
Keywords: Cc:
Game: Lure of the Temptress

Description

In the first room, after being caught by the guard and returned, he came back in to check on the character after a minute or two. I right clicked and selected ask, and "wait! (something something)" came up on screen. then I right clicked again and selected talk, and the game crashed.

git 192b245d51ec3db542d9492f1f42154b730a32e4
compiled with msys and mingw-gcc-4.5.2 on Windows 7 x64

First time running the game, GOG download installed normally, then added to my scummvm and run.

Running in Fullscreen mode

In the text window:
WARNING: SDL mixer output buffer size: 5512 differs from desired: 2048!
User picked target 'lure' (gameid 'lure')...
Looking for a plugin supporting this gameid... Lure
Starting 'Lure of the Temptress'

In the crash popup:
Assertion failed!
engines/lure/hotspots.cpp
Line: 3426

Expression: talkDestCharacter != 0

Crash report:

Problem signature:
Problem Event Name: APPCRASH
Application Name: scummvm.exe
Application Version: 1.4.0.0
Application Timestamp: 4e3d42ed
Fault Module Name: msvcrt.dll
Fault Module Version: 7.0.7600.16385
Fault Module Timestamp: 4a5bda6f
Exception Code: 80000003
Exception Offset: 000667bc
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Ticket imported from: #3387204. Ticket imported from: bugs/5818.

Change History (5)

comment:1 Changed 8 years ago by digitall

Summary: Crash in first scene when talking to guardLURE: Crash in first scene when talking to guard

comment:2 Changed 8 years ago by digitall

Replicated this with latest Git master:
ScummVM 1.4.0git1396-gc3cfdd3-dirty (Aug 8 2011 23:04:10)
Features compiled in: TAINTED Vorbis FLAC MP3 ALSA SEQ TiMidity RGB zLib FluidSynth Theora AAC

The exact sequence for replication is:
1. Start Game.
2. Place cursor over "Torch" so that this is known.
3. Wait until Skorl Guard enters Cell.
4. Choose "Ask", "Torch" on Skorl Guard. Dermot will say "Wait! Wait!". Don't Click On The Box To Dismiss.
5. Chose "Talk To" on Skorl Guard (This is not blocked).
6. ScummVM will crash out with:
scummvm: engines/lure/hotspots.cpp:3426: void Lure::HotspotTickHandlers::talkAnimHandler(Lure::Hotspot&): Assertion `talkDestCharacter != 0' failed.

comment:3 Changed 8 years ago by dreammaster

Owner: set to dreammaster

comment:4 Changed 8 years ago by dreammaster

It was kind of tricky to come up with any clean way to handle this, so I've had to settle for simply preventing attempts to talk to a character whilst an ask sequence is active. This at least prevents the game from crashing.

comment:5 Changed 8 years ago by dreammaster

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.