Hi,
I have found (part of) the cause of my deadlock problem with the X11 driver.
Wine gets stuck in the function X11DRV_IsClipboardFormatAvailable in dlls/x11drv/clipboard.c. I have appended the corresponding backtrace below.
When I replace this function by a function returning constantly FALSE, my programs runs without any problem.
Of course, this only is a workaround. Is there any malfunction to be expected by this workaround?
I do not have the expertise to go deeper into the X11 driver internals to find a real solution.
Is there a more detailed documentation for the X11 driver? In the wine documentation pages, on the page x11drv.html it is said that this has been extracted from wine/documentation/x11drv. But I could not find this in the CVS repository.
Till
#0 0x40318cc4 in ?? () #1 0x40ecb695 in _X11TransBytesReadable () from /usr/X11R6/lib/libX11.so.6 #2 0x40eaea80 in _XEventsQueued () from /usr/X11R6/lib/libX11.so.6 #3 0x40e92194 in XCheckTypedWindowEvent () from /usr/X11R6/lib/libX11.so.6 #4 0x40c6ce08 in X11DRV_GetClipboardData (wFormat=13) at clipboard.c:1138 #5 0x40c6cb22 in X11DRV_IsClipboardFormatAvailable (wFormat=13) at clipboard.c:1027 #6 0x409cadf7 in CLIPBOARD_RenderFormat (lpFormat=0x40a3fc74) at ../../windows/clipboard.c:423 #7 0x409cb21f in CLIPBOARD_RenderText (wFormat=1) at ../../windows/clipboard.c:621 #8 0x409cbd45 in GetClipboardData (wFormat=1) at ../../windows/clipboard.c:1060 #9 0x18003127 in ?? () #10 0x47fdbde7 in ?? () #11 0x1a048609 in ?? () #12 0x1a048609 in ?? () #13 0x1a0485fe in ?? () #14 0x1a04ac35 in ?? () #15 0x1a0485fe in ?? () #16 0x1a04ac35 in ?? () #17 0x1a0485fe in ?? () #18 0x1a0485fe in ?? () #19 0x1a0485fe in ?? () #20 0x1a0485fe in ?? () #21 0x1a048609 in ?? () #22 0x1a048609 in ?? () #23 0x1a048609 in ?? () #24 0x1a04ac35 in ?? () #25 0x1a04ac35 in ?? () #26 0x1a04ac35 in ?? () #27 0x1a0485fe in ?? () #28 0x1a048609 in ?? () #29 0x1a048609 in ?? () #30 0x1a04ac35 in ?? () #31 0x1a048170 in ?? () #32 0x486d2e34 in ?? () #33 0x2ee3db9b in ?? () Cannot access memory at address 0xc308c483