[Bug 28042] deadlock introduced/exposed with recent changes to winmm

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 22 15:10:27 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28042

--- Comment #4 from Andrew Eikum <aeikum at codeweavers.com> 2011-08-22 15:10:25 CDT ---
Looks like it's caused by the applications being buggy. With the Stalingrad
demo, the call stack looks like:

0009:Call PE DLL (proc=0x110d309,module=0x1100000
L"sfx.dll",reason=PROCESS_ATTACH,res=(nil))
0009:Call msvcrt._initterm(01112000,011120b4) ret=0110d2bc
0009:Call winmm.mixerGetNumDevs() ret=0113e1a0

however DLLs aren't supposed to call mixerGetNumDevs() from within DllMain. In
fact, the application fails to launch on my Windows Vista VM, including in
WinXP compatibility mode. It might be interesting to run it on actual hardware,
but I'm not sure what we can do to work around this.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list