Bug 370711
Summary: | xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mario Torre <neugens> |
Component: | java-1.7.0-icedtea | Assignee: | Thomas Fitzsimmons <fitzsim> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 8 | CC: | aescallon, ivo, marco.loewl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
URL: | http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-15 18:17:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mario Torre
2007-11-08 02:41:08 UTC
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 *** |