[Scummvm-tracker] [ScummVM :: Bugs] #15595: SCUMM: HE: Crash / ThreadSanitizer data race when quitting 'Humongous Interactive Catalog'

ScummVM :: Bugs trac at scummvm.org
Sun Dec 15 12:04:09 UTC 2024


#15595: SCUMM: HE: Crash / ThreadSanitizer data race when quitting 'Humongous
Interactive Catalog'
---------------------+---------------------------
Reporter:  dwatteau  |      Owner:  (none)
    Type:  defect    |     Status:  new
Priority:  normal    |  Component:  Engine: SCUMM
 Version:            |   Keywords:
    Game:            |
---------------------+---------------------------
 I've found a French copy (PC/Mac) of Freddi Fish 4 in a thrift store
 yesterday, and the CD also has a copy of the more obscure HE entry I know:
 `Humongous Interactive Catalog (Preview/French)` (full MD5 of the the
 Preview.cup file: `ca7d371621c113c2c8b3df041bc0bebf`).

 Of course this means I had to stress it a bit on some of my environments
 ;)

 How to reproduce:

 1. Have `gui_return_to_launcher_at_exit=true` and ScummVM in windowed mode
 2. Either build ScummVM with ThreadSanitizer on (e.g. `--enable-tsan
 --enable-debug`) or launch it on something like my OSX PPC that's good at
 hitting data race issues :p
 3. After the first purple HE screen is done being displayed, and when the
 first scene with Putt-Putt appears, close the ScummVM window to quit the
 preview

 I then either hit a `data race on vptr (ctor/dtor vs virtual call)` error
 with ThreadSanitizer, or an invalid address given to memcpy() after some
 Audio::RawStream calls.

 Full logs attached below.

 The builds are done on `branch-2-9`.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15595>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list