LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   xorg-x11-libxcb Java fix for BOINC etc.... Found Bug fixed but where do I get it (https://www.linuxquestions.org/questions/fedora-35/xorg-x11-libxcb-java-fix-for-boinc-etc-found-bug-fixed-but-where-do-i-get-it-602369/)

rundarm 11-26-2007 12:14 AM

xorg-x11-libxcb Java fix for BOINC etc.... Found Bug fixed but where do I get it
 
Hello
I am having a problem with BOINC.
I get this error whenever I start the application.

JAVA apps fails with "xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed"

I found this page that says the issue has been patched.
https://bugzilla.novell.com/show_bug.cgi?id=251087

Now where do I find this patch so I can install it?

bathory 11-26-2007 03:19 AM

You can find the patch here To install it you need the source code of libxcb (which I guess you haven't if you have installed X using packages) and run from the libxcb source dir:
Code:

patch -p0 < libxcb-java.patch
You can try what is suggested in this bug report:
Code:

For sun-java5-bin:
sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386/xawt/libmawt.so
For sun-java6-bin:
sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/xawt/libmawt.so

Of course you need to change the path to libmawt.so accordingly and make a backup of that file first. I've tried it and it worked.

lambchops468 11-26-2007 02:46 PM

You might want to check your update repos first from your distro --

my opensuse updater gave me the update

rundarm 12-09-2007 06:41 PM

Sorry Fedora has not been updated yet to fix it.
I found the source to fix it here
http://lists.freedesktop.org/archive...er/003041.html
but when I try to configure the libxcb-1.1 it does not find the package even though I set the PKG_config_Path correctly.
and get
No package xcb-proto found and I did a make install on that before hand.
the PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

lambchops468 12-10-2007 04:10 PM

rundarm: there are three ways to fix the problem:
if you absolutely need the older version of libxcb, i can't help you.

try the sed way first. (bathory's second code box),


or you can set the following variable before starting the program (maybe with a shell script or something):

export LIBXCB_ALLOW_SLOPPY_LOCK=1


All times are GMT -5. The time now is 11:02 AM.