Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
How do I get around xcb locking errors with sun-jdk on linux
Old
zerodiv
Guest
 
Status:
Posts: n/a
Default How do I get around xcb locking errors with sun-jdk on linux - 01-09-2009, 02:16 PM

If you're seeing this error when trying to run alice on a system with xcb
Code:
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
drop into the Alice/Required/jogl/lib/linux-i586 directory and type this command
Code:
sed -i 's/XINERAMA/FAKEEXTN/g' libjogl.so
you might also have to do this on /usr/lib/jvm/sun-jdk-1.6/jre/lib/i386/xawt/libmawt.so or the equivalent on your system.

If you ever want to undo the changes just use this command on the files
Code:
sed -i 's/FAKEEXTN/XINERAMA/g'
It took me a while to hunt down this fix, so I hope it helps
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.