Hi

After lurking on this list for many years, it's time I contributed.

Sun's Java under FC 8 is broken, and no Java apps that use X11 will run. Error is
        xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed
Other distros may have the same problem.

Sun claim it is a bug with XCB. XCB claim it is a long-standing bug with Java. Fedora won't include a workaround that just warns about broken locks instead of stopping. The problem seems to be Java making Xlib calls in a sequence not allowed under the Xlib replacement XCB.

The only workaround that actually seems to work for me so far has been to download and install the rpms libxcb-1.0-3.i_acknowledge_that_my_jdk_is_broken.fc9.i386.rpm and ibxcb-devel-1.0-3.i_acknowledge_that_my_jdk_is_broken.fc9.i386.rpm from http://ajax.fedorapeople.org/libxcb/. Then run Java with export LIBXCB_ALLOW_SLOPPY_LOCK=1. This replaces libxcb.1.0.3 with a version that only complains instead of barfing.

See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373, https://bugs.freedesktop.org/show_bug.cgi?id=11390, https://bugs.launchpad.net/sun-java/+bug/86103, http://www.fedoraforum.org/forum/showthread.php?t=171763&page=1, etc.

Cheers

Jan
--
  Dr Jan Newmarch
  IT Degree Course Leader
  Box Hill Institute
  Email: [EMAIL PROTECTED]
  WWW: http://jan.newmarch.name
  Tel: +61 4 0117 0509

"Do what you think is interesting, do something that
you think is fun and worthwhile, because otherwise
you won't do it well anyway." -- Brian Kernighan

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to