LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 11-26-2007, 01:14 AM   #1
rundarm
LQ Newbie
 
Registered: Jun 2004
Location: La Crosse, WI
Distribution: Red Hat Fedora Core 5 & 6
Posts: 22

Rep: Reputation: 15
Question 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?
 
Old 11-26-2007, 04:19 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
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.
 
Old 11-26-2007, 03:46 PM   #3
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
You might want to check your update repos first from your distro --

my opensuse updater gave me the update
 
Old 12-09-2007, 07:41 PM   #4
rundarm
LQ Newbie
 
Registered: Jun 2004
Location: La Crosse, WI
Distribution: Red Hat Fedora Core 5 & 6
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 12-10-2007, 05:10 PM   #5
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sid Users - Beware of Xorg 7.3 (xserver-xorg-input-evdev) bug rickh Debian 4 10-24-2007 04:30 AM
xorg-x11-devel dependant on old version of xorg-x11-libs thetawaverider Linux - Software 1 11-09-2006 08:22 AM
xorg-x11-libs required by xorg-x11-devel darknails Fedora 1 01-13-2005 03:34 PM
Packages not found (xorg-x11-libs) fgoyti Linux - Newbie 4 07-18-2004 11:40 PM
Using 9.2 can this bug be fixed. barrys Mandriva 3 09-25-2003 07:28 AM


All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration