View previous topic :: View next topic |
Author |
Message |
DaNe Apprentice
Joined: 29 Apr 2006 Posts: 192
|
Posted: Sun Aug 26, 2007 1:03 am Post subject: java crash xcb_lib |
|
|
in azureus when im adding a torrent and in the final i get a crash
the error is this..
Code: | $UI not set defaulting to swt
changeLocale: no message properties for Locale 'Portuguese' (pt), using 'English (default)'
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Aborted
|
i already re-emerge xcb and nothing changed
edit: in another apps that use java i get this error too liker mercury(msn client)
Last edited by DaNe on Tue Aug 28, 2007 12:47 am; edited 2 times in total |
|
Back to top |
|
|
Nsane457 n00b
Joined: 25 Nov 2004 Posts: 45
|
Posted: Sun Aug 26, 2007 1:18 am Post subject: |
|
|
The bug is discussed here and here. Using "-xinerama" use flag and recompiling all relevent packages that use the flag might be a temporary fix since this bug relates to the linking of libxinerama. |
|
Back to top |
|
|
DaNe Apprentice
Joined: 29 Apr 2006 Posts: 192
|
Posted: Sun Aug 26, 2007 1:43 am Post subject: |
|
|
tks a lot
edit:
cool now i know where the problem came,
i already set the flag -xinerama
and after that a nice emerge -uDN world
but it didnt resolved the problem?
what would be your next step?
equery depends libXinerama and emerge all that?
removing libXinerama and running revdep-rebuild? |
|
Back to top |
|
|
DaNe Apprentice
Joined: 29 Apr 2006 Posts: 192
|
Posted: Tue Aug 28, 2007 10:50 am Post subject: |
|
|
i really dont get i should emerge....
if anyone would have solutions be very grateful. |
|
Back to top |
|
|
jcat Veteran
Joined: 26 May 2006 Posts: 1337
|
Posted: Tue Aug 28, 2007 11:50 pm Post subject: |
|
|
Seems like this is the remedy for which you seek
Code: | CFLAGS="-DNDEBUG" emerge -av1 libxcb |
Run that and restart your X server.
cheers,
jcat |
|
Back to top |
|
|
Cheba n00b
Joined: 10 Jun 2006 Posts: 20
|
Posted: Wed Aug 29, 2007 10:34 pm Post subject: |
|
|
I didn't restart X after reemerging libxcb and it worked fine. |
|
Back to top |
|
|
jcat Veteran
Joined: 26 May 2006 Posts: 1337
|
Posted: Thu Aug 30, 2007 10:41 am Post subject: |
|
|
Cheba wrote: | I didn't restart X after reemerging libxcb and it worked fine. |
Yeah, you shouldn't have to restart X, just playing it safe...
Cheers,
jcat |
|
Back to top |
|
|
shaumux Veteran
Joined: 13 May 2005 Posts: 1009 Location: Hong Kong
|
Posted: Thu Aug 30, 2007 6:45 pm Post subject: |
|
|
See this bug
Theres a slopy lock patch and and an ebuild.
Its nice and works great and lets java run. |
|
Back to top |
|
|
Mr. Ulmo n00b
Joined: 06 Aug 2007 Posts: 9
|
Posted: Sun Sep 16, 2007 6:18 pm Post subject: a quick fix for this ... |
|
|
I saw a fix for this problem, but I could'nt find the path, so I tweaked it for gentoo ...
this worked for me ....
Code: | sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/sun-jre-bin-1.6/lib/i386/xawt/libmawt.so |
|
|
Back to top |
|
|
coolone Apprentice
Joined: 14 Nov 2006 Posts: 278
|
Posted: Sun Sep 30, 2007 3:48 am Post subject: |
|
|
I got a same prob here,
freecol
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Aborted
[ebuild R ] games-strategy/freecol-0.7.2 USE="-test" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB _________________ No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress |
|
Back to top |
|
|
Satan Klaus n00b
Joined: 11 May 2005 Posts: 19
|
Posted: Sun Oct 07, 2007 12:15 pm Post subject: |
|
|
The same java libmawt.so bug is responsible for the fact that Openoffice.org is unable to detect JREs and for MATLAB crash. Looks like all currently "stable" JRE's are broken. I've reproduced this with sun-jre-bin-1.6.0.02, ibm-jre-bin-1.5.0.5a, sun-jdk-1.5.0.12 and blackdown-jdk-1.4.2.03-r15.
PS: sed trick works with at least 1st three JREs. |
|
Back to top |
|
|
malevolent n00b
Joined: 25 Jul 2005 Posts: 12 Location: Barcelona
|
Posted: Fri Feb 29, 2008 4:35 pm Post subject: |
|
|
worked great for me also
Now i can use mercury msn
Thanks a lot!!! |
|
Back to top |
|
|
bytenirvana Apprentice
Joined: 10 Jun 2006 Posts: 218 Location: Volksstaat Hessen
|
Posted: Sat Mar 01, 2008 5:53 pm Post subject: |
|
|
Mmh... I reemerged libxcb and tried
Code: |
sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/sun-jre-bin-1.6/lib/i386/xawt/libmawt.so
| too, but I get still the error when I try to run azureus.
Is there another way to fix this? _________________ Linux User #422770 |
|
Back to top |
|
|
zaai Apprentice
Joined: 24 Jul 2004 Posts: 175
|
Posted: Mon Apr 14, 2008 4:25 am Post subject: |
|
|
Thanks for this workaround
It also works on amd64 when run as follows:
Code: | sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/sun-jdk-1.6/jre/lib/amd64/xawt/libmawt.so |
_________________ * most bugs can be reduced to either dependency or state *
Athlon64 X2 4800+ on Asus M2N SLI deluxe with 4GB Dual channel
video nVidia GForce 7300 GS 512MB (snail); xorg-7.2
kernel 2.6.24-gentoo-r3 |
|
Back to top |
|
|
|