[Xcb] please test: Xlib/XCB fixes

Jamey Sharp jamey at minilop.net
Sun Apr 18 23:33:04 PDT 2010

Josh and I sorted out a bunch of Xlib bugs this week, especially in
support for multi-threaded applications. I'm embarrassed that I hadn't
realized the thread support was so bad--but there are so few threaded
Xlib apps, and even fewer that are open source.

One important fix is in libxcb master. Several more fixes are in libX11
master, but my invasive rework of xcb_io.c is in an
xlib-xcb-thread-fixes branch pending testing and/or review.


These changes need testing to make sure I didn't introduce regressions
for the single-threaded applications that were already working. And of
course, if anyone has multi-threaded apps that were failing, please
retest them and let me know if these patches helped.

Also, please review these patches. The final patch of the libX11 series
adds lots of comments--including things I had to explain to Josh while
he was reviewing--and the new invariants it maintains are relatively
straightforward, so I hope others can make sense of it too.

While most of the bugs we fixed affected only clients using the
connection from multiple threads, some additional fixes affect
single-threaded applications as well. I believe at least these bugs have
been solved by these changes:

- https://bugs.freedesktop.org/show_bug.cgi?id=26545
- https://bugs.freedesktop.org/show_bug.cgi?id=27595
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535534

If you can take some time to go through your favorite bug tracking
system looking for other bugs that sound relevant, please do. Since I
have all this stuff swapped in now, this would be a good time to bring
more Xlib/XCB-related bug reports to my attention... :-)

Hoping to be Done With Xlib any day now,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20100418/e086d709/attachment.pgp>

More information about the Xcb mailing list