http://bugs.winehq.org/show_bug.cgi?id=7229
--- Comment #44 from Daniel Garcia Romero realheadcrusher@hotmail.com 2008-03-08 21:52:54 --- I logged wine with WINEDEBUG=+dsound,+winmm, 2.5gb later I got the bug. Before the first ocurrence of "err:ntdll:RtlpWaitForCriticalSection" there are sequences of trace:dsound:mix16,they happen all the time, and more important, before that:
trace:dsound:SecondaryBufferImpl_Lock trace:dsound:IDirectSoundBufferImpl_Lock ->4096.0 and trace:dsound:IDirectSoundCaptureBufferImpl_Unlock trace:dsound:SecondaryBufferImpl_Unlock
Is this bug related to the sound buffer lock and unlock functions? They happen a lot in the log file I recorded.
I will attach 2 files. The first one is a 50mb file with all that was recorded near the occurrence the bug, it's the first ocurrence of the err:ntdll, and the second one, another 50mb file, that mentions thread locked, right after locking and unlocking of the sound buffers. (3.8mb zipped)