Problem: java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed.

Just updated to fedora 8.

It seemed like a good idea at the time. The biggest problem that I’ve found is with this Java error:

java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed.

There are many fixes out there, some of which including sed’ing an .so file. That got me part of the way there, but didn’t actually fix it for me. So I went back to the drawing board. I found that the fix (for me, at least, YMMV), seems to be in this rather simple fix. Place this:

export LIBXCB_ALLOW_SLOPPY_LOCK=1

In your /etc/profile, and log out.

When you log back in again, it should all come back working. The only part of the fix that I’ve not tried is that I did try updating XCB from the development tree. This didn’t fix it, but if the above doesn’t work for you, then you might need a combination of the two. I would try the export first.

Hope this helps!

BlackXanthus


Posted

in

by

Tags:

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.