Investigating the XInitThreads deadlock bug

Alexandre Julliard julliard at
Wed Feb 4 16:22:50 CST 2004

"Sami Aario" <sami.aario at> writes:

> See how after four calls to RtlEnterCriticalSection, LockCount starts to be
> 0? So a pretty good theory is that the critical section is acquired, and
> then not released, during the loading and initialization of
> /usr/X11R6/lib/

Most likely this is the missing UnlockDisplay() call in
XRenderQueryFormat(). This was fixed in XFree 4.2.0.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list