29
01
2008
Assertion `c->xlib.lock’ failed
Colocado por Gustavo Felisberto em Ciência/Tecnologia, Gentoo, tags: javaWith XCB and java graphical applications on recent distributions one gets:
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed.
This is very well documented (just google a bit). So this serves mostly as a mental note for the way to fix it.
$ sed -i ‘s/XINERAMA/FAKEEXTN/g’ /opt/sun-jdk-1.6.0.04/jre/lib/i386/xawt/libmawt.so
or the libawt.so of your JRE. Remember that many programs may come with they’re own JRE and not use the one provided by the system.
Tópicos (RSS)
with a recent xcb you can also just put LIBXCB_ALLOW_SLOPPY_LOCK=1 in your environment, which suppresses that assertion.