Description of problem: Please note: The bug does *not* apply to IcedTea, Bugzilla complain to use a component, and this is the most obvious. It's here for reference. Every java application that uses swing or awt does not work with Sun Java 1.6.0.03. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373 for details and http://www.netbeans.org/servlets/ReadMsg?list=nbusers&msgNo=98765 for a possible workaround. The bug is marked as fixed on the Sun Database. IcedTea is not affected by this bug. Version-Release number of selected component (if applicable): Sun JDK 1.6.0.03 How reproducible: Always. Steps to Reproduce: 1. Install Sun JDK 1.6.0.03 2. go to [jdk_home]/demo/jfc/Metalworks 3. java -jar Metalworks.jar Actual results: Java exists printing this message on the console: xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed. Expected results: Normal execution of the application. Additional info: The proposed "sed" workaround works for me: sed -i 's/XINERAMA/FAKEEXTN/g' \ /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/xawt/libmawt.so I've not tested yet for possible problems deriving from that, though.
The problem exists when running arkeiasb on Fedora 8 as well. I get... java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Oh... I forgot to mention that I'm using x96_64.
sorry x86_64.
Oh. One other thing to note, there is a big discussion about it at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373
I have experienced the problem trying to run Netbeans, Xdevelop IDE and other java applications with different versions of JDKs 1.5 and 1.6.
this bug has also prevented a reinstall of x-plane flight simulator (retail software). I am guessing its the java on the install DVD. how do we take care of those cases? IcedTea or Sun w/"sed fix" produces no help here.
According to the discussions I have found this happens with any version of Java after updating Xinerima, when launching any program using awt. The following workaround does work: updatedb; for i in $(locate libmawt.so);do sed -i "s/XINERAMA/FAKEEXTN/g" "$i";done Obviously, all that can be done for the closed source versions of Java is the workaround, but it would be nice to get an actual fix put in IcedTea.
BTW. The original poster was wrong, IcedTea is affected by this bug! I can confirm this problem exists in java-1.7.0-icedtea-1.7.0.0-0.19.b21. After upgrading from Fedora 7 to Fedora 8, I was unable to run netbeans until applying the workaround.
*** Bug 377471 has been marked as a duplicate of this bug. ***
*** Bug 374701 has been marked as a duplicate of this bug. ***
Hi Bill, it works for me on icedtea b21 and netbeans 6.0 beta 1, not sure why (I've *not* applied the sed fix there): [neugens@nirvana ~]$ rpm -qa|grep icedtea java-1.7.0-icedtea-devel-1.7.0.0-0.19.b21.snapshot.fc8 java-1.7.0-icedtea-javadoc-1.7.0.0-0.19.b21.snapshot.fc8 java-1.7.0-icedtea-demo-1.7.0.0-0.19.b21.snapshot.fc8 java-1.7.0-icedtea-1.7.0.0-0.19.b21.snapshot.fc8 java-1.7.0-icedtea-plugin-1.7.0.0-0.19.b21.snapshot.fc8 The last mg version of IcedTea also works. As I understand, this is a bug due to statically linking to an old library. In IcedTead this should be fixed. As a reply to comment #6, I have a couple of ideas that you may try: A. copy the content of the DVD on your local drive, so that you can have write access, run the sed command, redo a DVD image and try to install the software. B. Install the software with an old version of Fedora, you may try a live CD so that once installed the application sits on the hard drive. C. downgrade Xinerama, install the software, then upgrade again Of of these tricks could work, or blow up your installation, so use with care.
(In reply to comment #8) > BTW. The original poster was wrong, IcedTea is affected by this bug! I can > confirm this problem exists in java-1.7.0-icedtea-1.7.0.0-0.19.b21. After > upgrading from Fedora 7 to Fedora 8, I was unable to run netbeans until applying > the workaround. I can't reproduce this on java-1.7.0-icedtea-1.7.0.0-0.19.b21.snapshot.fc8 using the steps in the original report. strace shows java dlopen'ing the system-installed libXinerama: [pid 14631] open("/usr/lib/libXinerama.so.1", O_RDONLY) = 7 (provided by libXinerama-1.0.2-3.fc8) which is how we fixed this problem in IcedTea. What version of NetBeans were you using? NetBeans 6.0 Beta 1 should work, previous versions are known not to work. (If you tried an earlier version, please file a separate bug for "NetBeans X does not work on java-1.7.0-icedtea", and include all reproducer details.) Adam Jackson has provided a workaround in bug 301691, comment 19: > Install the appropriate rpm from: > > http://ajax.fedorapeople.org/libxcb/ > > And run the app with LIBXCB_ALLOW_SLOPPY_LOCK=1 in the environment. *** This bug has been marked as a duplicate of 301691 ***