wine/dlls/x11drv x11drv_main.c

Mike Hearn mike at
Fri Dec 5 05:12:55 CST 2003

On Fri, 2003-12-05 at 10:05, Rein Klazes wrote:
> On Thu, 4 Dec 2003 15:59:51 -0600, you wrote:
> > Log message:
> > 	Initialize Xlib threading support to see what it breaks...

There is a known deadlock in libXi:

A fix has been committed to XFree CVS, however it's only available in
4.3 builds when applied by the distro vendor. I thought Debian had also
applied it, but it's possible that because you're using XFree 4.2 you
are hitting this bug.

Certainly a backtrace of the deadlock would be interesting, if it is the
Xi bug it'll look like this:

#0  0x0f04e044 in sigsuspend () from /lib/
#1  0x0f17cadc in __pthread_wait_for_restart_signal ()  from /lib/
#2  0x0f17ec3c in __pthread_alt_lock () from /lib/
#3  0x0f17b02c in pthread_mutex_lock () from /lib/
#4  0x0ef7e700 in _XLockDisplay (dpy=0x10056640) at locking.c:478
#5  0x0edf2238 in XGetExtensionVersion (dpy=0x10056640, name=0xedf5a18 "XInputExtension") at XGetVers.c:108
#6  0x0edf4dfc in _XiCheckExtInit (dpy=0x10056640, version_index=1) at XExtInt.c:198
#7  0x0edf3004 in XListInputDevices (dpy=0x10056640, ndevices=0x7ffff67c)  at XListDev.c:85 

thanks -mike

More information about the wine-devel mailing list