With 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.

Uma Resposta a “Assertion `c->xlib.lock’ failed”
  1. John Myers diz:

    with a recent xcb you can also just put LIBXCB_ALLOW_SLOPPY_LOCK=1 in your environment, which suppresses that assertion.

  2.  
Deixe uma resposta

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">