Quelle volte che ti girano le xcb_xlib_unlock...



|

$ ./bin/xmaple
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb092a767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb092a8b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb096f29d]
#3 /media/hdb1/maple/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so [0xb0a5fa76]
#4 /media/hdb1/maple/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so [0xb0a4580a]
#5 /media/hdb1/maple/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so [0xb0a45a51]
#6 /media/hdb1/maple/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x24) [0xb0a45c5c]
#7 [0xb2a86b6a]
#8 [0xb2a80a7b]
#9 [0xb2a80a7b]
#10 [0xb2a7e157]
#11 /media/hdb1/maple/jre.IBM_INTEL_LINUX/lib/i386/client/libjvm.so [0xb778dfec]
#12 /media/hdb1/maple/jre.IBM_INTEL_LINUX/lib/i386/client/libjvm.so [0xb789b1f8]
#13 /media/hdb1/maple/jre.IBM_INTEL_LINUX/lib/i386/client/libjvm.so [0xb778de1f]
#14 /media/hdb1/maple/jre.IBM_INTEL_LINUX/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d) [0xb77eb4bd]
#15 /media/hdb1/maple/jre.IBM_INTEL_LINUX/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb75982cd]
#16 [0xb2a8641b]
#17 [0xb2a809a4]
#18 [0xb2a7e157]
#19 /media/hdb1/maple/jre.IBM_INTEL_LINUX/lib/i386/client/libjvm.so [0xb778dfec]
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Aborted (core dumped)

Cosa vorrà mai dire questo errore?

Ehm.. chiediamolo a google. Dopo varie letture di forum, patch improvvisate di libmawt.so e altre cose bizzarre, si arriva alla conclusione che voleva solo:

export LIBXCB_ALLOW_SLOPPY_LOCK=true

quindi mettete anche questa variabile d'ambiente in /etc/environment

Vedi anche:
https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/87947