Possible critical section bug - lock by invalid thread

Alexandre Julliard julliard at winehq.org
Tue Aug 30 04:24:34 CDT 2005

Alex Villací­s Lasso <a_villacis at palosanto.com> writes:

> Could anybody who knows about Wine critical sections comment on this? I 
> do not really understand the implementation of critical sections at the 
> wineserver side (other than the fact that a select() is used somewhere), 
> so I could take a long time to unravel this bug. This problem does not 
> seem specific to DirectSound as far as I could tell, so this might be 
> affecting a couple other apps under Wine. Also, comments on how I could 
> supply more information on this are welcome.

The most likely cause is that a thread got killed while trying to
release the section. If you see calls to TerminateThread that would be
a prime suspect.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list