lots of trouble with xorg git...

Jamey Sharp jamey at minilop.net
Wed Nov 15 15:16:47 PST 2006

On Wed, Nov 15, 2006 at 09:53:38PM +0100, Roland Scheidegger wrote:
> And last but not least, libX11/xcb issues. Lots of programs just fail an 
> assertion when launched (somewhat similar to these I guess, 
> https://bugs.freedesktop.org/show_bug.cgi?id=8650, 
> https://bugs.freedesktop.org/show_bug.cgi?id=8947, but a different 
> assertion).

No, I think your troubles are different from the locking bugs we
know and love. That assertion failure means that Xlib buffered a
request but, uh, forgot to tell XCB about it.

Did you configure Xlib with --disable-xthreads? Don't do that. To use
XCB, XTHREADS must be defined when building all libraries that use
Xlibint.h. This doesn't mean that Xlib actually has to support threads,
but the LockDisplay and UnlockDisplay macros must expand to their normal
code. If anybody really wants the ability to disable the rest of the
thread support, that can be arranged.

I notice both your examples are Gtk+ apps. Do all Gtk+ apps fail? Do any
non-Gtk+ apps fail? What version of Gtk+ are you running? I can't
reproduce this problem with Mozilla, Firefox, or xscreensaver-demo.
(Or anything else, but anyway...)

If the above comments don't help: Would you file a bug report, assign it
to me, and tell me what OS and architecture you're testing on? If you
can, please also provide a tcpdump/wireshark packet dump or xscope
output, along with the values of xcb_req and dpy->request when the
assertion fails.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20061115/74c14712/attachment.pgp>

More information about the xorg mailing list