Comment 45 for bug 220628

Revision history for this message
In , Karlt (karlt) wrote :

(In reply to comment #22)
> ...however, I suspect this was tracked down already in March (though ignored
> until November):
> http://osdir.com/ml/freedesktop.xcb/2008-04/msg00071.html
> http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2

Thanks for that link. It looks related but I'm not sure that it's the fix we need, because I don't think Mozilla uses XCreate* functions from more than 1 thread.

I'd be interested to hear if anyone is seeing the crash with a libX11 built without xcb. (This can be checked with "ldd /usr/lib*/libX11.so | grep xcb".)
All the stacks that I've seen here have libX11 built using libxcb.

All the stacks that I've seen involve a Create function that uses XAllocID. Usually the result of XAllocID is assigned to local variables in the Create function called "pid" as well as "req->pid" (and would be returned on success).
It could be useful to know what value either of these variables hold if this information can be obtained using a debugger after breaking on gdk_x_error.