Description of problem: I'm using Sun Java and Fedora 8 release: [root@linux fedora]# rpm -q jdk jdk-1.6.0_03-fcs [root@linux fedora]# java -version java version "1.6.0_03" Java(TM) SE Runtime Environment (build 1.6.0_03-b05) Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode) [root@linux fedora]# rpm -q libX11 libX11-1.1.3-4.fc8 And no one Swing application work: [root@linux fedora]# jconsole jconsole: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. Emergency stopped Workaround is to rollback libX11 to package from Fedora 7 : [root@linux !backup]# rpm -U --force libX11-1.0.3-8.fc7.i386.rpm And all working fine again. Please, fix the bug in libX11.
This bug also makes the Sun Java plug-in in F8 Firefox unusable. See e.g. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373 or bug 353081, which I'm going to close a dupe of this one too.
*** Bug 353081 has been marked as a duplicate of this bug. ***
instead of forcing the installaztion of the libX11 i prefer another workaround. install java in /opt/java from the .bin distribution then execute: [root@bug1 java]# /opt/java/jdk1.5.0_12/bin/jconsole jconsole: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. Aborted (here you hit the bug...) [root@bug1 java]# find /opt/java/jdk1.5.0_12/ -name lib\*awt\* -exec grep XINERAMA \{\} \; | while read a b c d ; do sed -i 's/XINERAMA/FAKEEXTN/g' $c ; done (here you fix it, note: this is a workaround) [root@bug1 java]# /opt/java/jdk1.5.0_12/bin/jconsole and now it works :) i hope that the future java 7 will work by default.
Same problem here: [duli@localhost ~]# yum list | grep -i libx11 libX11.i386 1.1.3-4.fc8 installed [duli@localhost ~]$ java -version java version "1.6.0_03" Java(TM) SE Runtime Environment (build 1.6.0_03-b05) Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing) This command line fixed the issue for me: [root@localhost ~]# sed -i 's/XINERAMA/FAKEEXTN/g' /usr/java/jre1.6.0_03/lib/i386/xawt/libmawt.so Thanks.
Same problem for me too. This is really annoying because the sed fix makes all java swing apps totally unaware of my multiple monitors. Please give this issue some attention. I would use icedtea but it does not work properly with netbeans.
*** This bug has been marked as a duplicate of 390261 ***