[Scummvm-tracker] [ScummVM] #7011: RINGWORLD2: Deadlock in the sound code
Colin Snover
trac at scummvm.org
Mon Nov 20 18:39:49 CET 2017
#7011: RINGWORLD2: Deadlock in the sound code
----------------------------------+---------------------------
Reporter: bgK | Owner: (none)
Type: defect | Status: new
Priority: blocker | Component: Engine: TsAGE
Resolution: | Keywords: has-backtrace
Game: Return to Ringworld |
----------------------------------+---------------------------
Comment (by csnover):
This is basically the same as the other audio deadlocks in the game:
1. The main thread calls to sfAddToPlayList which locks the game’s sound
manager mutex;
2. The audio thread is triggered, which locks the system mixer mutex, then
the OPL callback tries to lock the game’s sound manager mutex and blocks;
3. The main thread calls to a mixer method which tries to lock the system
mixer mutex, which blocks;
3. Deadlock.
--
Ticket URL: <https://bugs.scummvm.org/ticket/7011#comment:5>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list