Recent update of xorg-server breaks GUI packages using ibm-jdk-bin. Packages that are built with gcj and use gcj as the jvm have no problem.
Steps to Reproduce:
2.Set jvm to ibm-jdk-bin
3.Start any java application with a gui.
A core dump with xcb assertion error.
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
If you like I can provide the javacore files.
I have installed gcj as an alternative jvm as using ibm-jdk-bin is totally unstable for many programs. The xcb problem is only the latest problem.
Did you start to use xcb flag? If yes then it's probably dupe of bug 156353
(In reply to comment #1)
> Did you start to use xcb flag? If yes then it's probably dupe of bug 156353
No. I've been using xcb for some time. ibm-jdk-bin works without a problem using xorg-server-1.2.0. If I revert to version 1.2.0 the problem does not affect any programs.
Do you have all the latest X11 libs?
Adding 'append-flags "-DNDEBUG=1"' to libxcb-1.0.ebuild seems to work around the problem for now. I don't know why xorg-server-1.2 doesn't hit the same bug.
enabling or disabling xcb means recompiling all binaries depending on X (so ibm jdk still links to something still using xcb even if you dropped xcb use flag)
I have exactly the same problem with all jdks (not only ibm) and for now i've been able to only workaround sun-jdk-1.4 (please note that i'm using onlyy sun jdks)
Ditto, i think this is a dupe of bug 156353
(In reply to comment #5)
> Ditto, i think this is a dupe of bug 156353
Well it's a different vendor and might fix it independently on Sun.
Using the xcb sloppy lock seems to fix the issue.
workaround != fix
I doubt that the bug is linked to the X server, but libX11 instead. Other packages (among which other JVMs) have had issues with libX11 being built with xcb support.
The official workaround is to use xcb's sloppy locking. The proper way is to fix the JVM's code...
There's not much the x11 herd can do to help here.
Doesn't look like this will ever happen :)