java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

Bug #193061 reported by Fabio Duran Verdugo
4
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

When i try open any *.jar, i cant, the log is, for all aplication.

Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb5352767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb53528b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb53a229d]
#3 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xb54848ce]
#4 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xb5461067]
#5 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xb5461318]
#6 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xb546161f]
#7 [0xb5c98e9d]
#8 [0xb5c91edd]
#9 [0xb5c91edd]
#10 [0xb5c8f249]
#11 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c40d]
#12 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x6310378]
#13 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c2a0]
#14 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x363) [0x6272153]
#15 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7caa96d]
#16 [0xb5c98e9d]
#17 [0xb5c91d77]
#18 [0xb5c8f249]
#19 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c40d]
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Cancelado (core dumped)

Revision history for this message
Fabio Duran Verdugo (fabioduran) wrote :

I think this is the solution, "export LIBXCB_ALLOW_SLOPPY_LOCK = 1," but I do not believe that it should do so the user but come default.

this bug is a defect

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373 for more information. The bug was said to be fixed in JDK 1.6.0_04 but it's not.

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

Being hit by this bug depends how X (or some library of it) was build. I noticed this bug earlier (maybe a week or two ago) but it went away after a new upgrade (X etc) arrived. I'm running Hardy.

Revision history for this message
Daniel Swarbrick (pressureman) wrote :
Revision history for this message
Jouni Mäyrä (jouni-mayra) wrote :

I confirm. I worked for me too. Thanks !

Revision history for this message
Vaida Bogdan (vaidab) wrote :

Confirmed, only the following line was needed:

sudo sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-1.5.0-sun-1.5.0.14//jre/lib/i386/xawt/libmawt.so

PS: I got the solution from: http://objectmix.com/java/243152-exception-thread-main-java-lang-noclassdeffounderror-javax-media-opengl-gleventlistener.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.