lure crashes when waiting for patrol
|Reported by:||SF/tneumann||Owned by:||dreammaster|
|Game:||Lure of the Temptress|
At one point during the gameplay (savegame attached) one has to wait in front of the shop for a patrol to enter the shop. This causes scummvm to crash, probably in the moment when the patrol should enter the screen.
To reproduce it load the attached save game and wait a bit (usually less than a minute). This is with scummvm-20071230.tar.bz2.
I tried to run scummvm in gdb but found no obvious bug. The stack trace is included below, apparently one of the NPCs has a NULL-pointer as hotspot, which causes a crash in npcWalkingCheck.
#0 0x000000000072ed26 in Lure::Hotspot::npcWalkingCheck (this=0x117bf00,
hotspot=0x0) at engines/lure/hotspots.cpp:1988
#1 0x000000000072b698 in Lure::Hotspot::doAction (this=0x117bf00,
#2 0x000000000072ba01 in Lure::Hotspot::npcSupportOffsetConditional (
this=0x117bf00, hotspot=0x0) at engines/lure/hotspots.cpp:2020
#3 0x000000000072b698 in Lure::Hotspot::doAction (this=0x117bf00,
#4 0x000000000072b7df in Lure::Hotspot::doAction (this=0x117bf00)
#5 0x00000000007321af in Lure::HotspotTickHandlers::standardCharacterAnimHandler (h=@0x117bf00) at engines/lure/hotspots.cpp:2535
#6 0x000000000072793d in Lure::Hotspot::tick (this=0x117bf00)
Ticket imported from: #1865552. Ticket imported from: bugs/3549.