[Scummvm-tracker] [ScummVM :: Bugs] #14638: SWORD1: Crashes due to data races (multi-threading)

ScummVM :: Bugs trac at scummvm.org
Wed Sep 27 21:55:06 UTC 2023


#14638: SWORD1: Crashes due to data races (multi-threading)
-------------------------+-----------------------------
Reporter:  PushmePullyu  |       Owner:  AndywinXp
    Type:  defect        |      Status:  pending
Priority:  normal        |   Component:  Engine: Sword1
 Version:                |  Resolution:  fixed
Keywords:                |        Game:  Broken Sword 1
-------------------------+-----------------------------
Comment (by PushmePullyu):

 It should work in a VM (I used real hardware with a 2+2HT core Pentium
 Gold 4417U).

 Build config was just:
 ./configure --disable-all-engines --enable-debug --disable-optimizations
 --enable-engine=sword1

 One could also use --enable-tsan (or use valgrind instead).

 I observed more crashes with video mode set to SDL Surface, but that could
 have been random.

 Valgrind with helgrind should prove helpful in debugging this, e.g.
 something like:
 valgrind --tool=helgrind --log-file=~/sword1_%p.log ./scummvm

 useful valgrind options:
 --scheduling-quantum=<number> (default is 100000)
 --free-is-write=yes (default is no)
 If you get to many bogus errors you can create a suppressions file:
 --gen-suppressions=<yes|no|all>
 --suppressions=<filename>

 Just ping if you need more testing done.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14638#comment:9>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list