You are not logged in.
hello,
whenever I run an application, which uses AWT or Swing GUI, java spits out this error message:
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb7efb767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb7efb8b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb5477a8d]
#3 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb557c8ce]
#4 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb5559067]
#5 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb5559318]
#6 /opt/java/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xb555961f]
#7 [0xb5cbae9d]
#8 [0xb5cb3edd]
#9 [0xb5cb3edd]
#10 [0xb5cb1249]
#11 /opt/java/jre/lib/i386/client/libjvm.so [0x621c40d]
#12 /opt/java/jre/lib/i386/client/libjvm.so [0x6310378]
#13 /opt/java/jre/lib/i386/client/libjvm.so [0x621c2a0]
#14 /opt/java/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x363) [0x6272153]
#15 /opt/java/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7ccc96d]
#16 [0xb5cbae9d]
#17 [0xb5cb3d77]
#18 [0xb5cb1249]
#19 /opt/java/jre/lib/i386/client/libjvm.so [0x621c40d]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb7efb767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb7efb81e]
#2 /usr/lib/libX11.so.6 [0xb5476e08]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb546db76]
#4 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb5558319]
#5 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb5558565]
#6 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb55593c9]
#7 /opt/java/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xb555961f]
#8 [0xb5cbae9d]
#9 [0xb5cb3edd]
#10 [0xb5cb3edd]
#11 [0xb5cb1249]
#12 /opt/java/jre/lib/i386/client/libjvm.so [0x621c40d]
#13 /opt/java/jre/lib/i386/client/libjvm.so [0x6310378]
#14 /opt/java/jre/lib/i386/client/libjvm.so [0x621c2a0]
#15 /opt/java/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x363) [0x6272153]
#16 /opt/java/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7ccc96d]
#17 [0xb5cbae9d]
#18 [0xb5cb3d77]
#19 [0xb5cb1249]
however, the application runs and functions normally. Any Java expert there, who knows what this means? I have JRE and SDK installed.
I can just ignore it, but if I remember well, there was once upon a time a linux kernel update, after which this didn't happen and after another one it came back. a mysterious thing, isn't it? a race condition, perhaps...
Last edited by danielsoft (2008-04-12 17:53:39)
may the Source be with you
Offline
sed -i 's/XINERAMA/FAKEEXTN/g' /opt/java/jre/lib/i386/xawt/libmawt.so
Backup the file first of course, just in case.
Offline
sed -i 's/XINERAMA/FAKEEXTN/g' /opt/java/jre/lib/i386/xawt/libmawt.so
Backup the file first of course, just in case.
wow, this works. thanks a lot.
may the Source be with you
Offline
I just had this problem with trying to run jEdit. I found a solution elsewhere, but what peart said is pretty much the same, just in one line. I should have just searched these forums instead of Google.
Offline