[Scummvm-tracker] [ScummVM :: Bugs] #13661: SAGA: IHNM: "createThread wrong scriptEntryPointNumber" when starting with Benny
ScummVM :: Bugs
trac at scummvm.org
Thu Sep 29 15:18:21 UTC 2022
#13661: SAGA: IHNM: "createThread wrong scriptEntryPointNumber" when starting with
Benny
----------------------+------------------------------
Reporter: dwatteau | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SAGA
Version: | Resolution:
Keywords: threading | Game: I Have No Mouth
----------------------+------------------------------
Comment (by dwatteau):
ASAN (with clang++ on macOS 12.6) detects a heap-use-after-free with the
same Benny action. Git HEAD is 20c1dbb50d.
{{{
==13418==ERROR: AddressSanitizer: heap-use-after-free on address
0x00011d412a38 at pc 0x000100775ccc bp 0x00016fd61760 sp 0x00016fd61758
READ of size 4 at 0x00011d412a38 thread T0
#0 0x100775cc8 in Saga::HitZone::getFlags() const objectmap.h:56
#1 0x1006ec924 in Saga::Actor::stepZoneAction(Saga::ActorData*,
Saga::HitZone const*, bool, bool) actor.cpp:551
#2 0x100712a0c in Saga::Actor::handleActions(int, bool)
actor_walk.cpp:695
#3 0x10071da30 in Saga::Actor::direct(int) actor_walk.cpp:727
#4 0x1007d2f48 in Saga::SagaEngine::run() saga.cpp:357
#5 0x1000dc7e0 in runGame(Plugin const*, Plugin const*, OSystem&,
Common::String const&) main.cpp:318
#6 0x1000d8130 in scummvm_main main.cpp:619
#7 0x1000cf19c in main macosx-main.cpp:44
#8 0x1024b1088 in start+0x204 (dyld:arm64e+0x5088)
}}}
I'm attaching the full ASAN log below.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13661#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list