Results 1 to 8 of 8
Hi everybody! I have OpenSuse 10.3. I have just installed Java and Eclipse. The Java version is 1.6.0_04. When i run a swing application it give`s me this:
Code:
libxcb: ...
- 03-12-2008 #1
Java and libxcb problem!!!
Hi everybody! I have OpenSuse 10.3. I have just installed Java and Eclipse. The Java version is 1.6.0_04. When i run a swing application it give`s me this:
Have you guys have any ideas what could be the problem???Code:libxcb: WARNING! Program tries to unlock a connection without having acquired a lock first, which indicates a programming error. There will be no further warnings about this issue. libxcb: WARNING! Program tries to lock an already locked connection, which indicates a programming error. There will be no further warnings about this issue.
Cheers!!!
- 03-12-2008 #2
The same thing happens to me when I run various java programs on openSUSE 10.3. I suspect its something to do with a bug in java (search for libxcb at the opensuse bug tracking site for more details).
- 03-12-2008 #3
thanks for the reply daark.child!
I have been looked for libxcb on opensuse bugs truck here:
https://bugzilla.novell.com/buglist....content=libxcb
but i didn`t find a clear answer!!! Thanks!
- 03-12-2008 #4
Its definitely something to do with JAVA 6 (I remember reporting a bug about this during testing of openSUSE 10.3 when java apps didn't run at all due to problems with xcb). Other people in this thread have reported similar problems (and workarounds for some apps).
- 03-12-2008 #5
i was thinking to upgrade the x11! maybe this will solve the problem! The libxcb is a library from x11. Have any idea how to do that? My current Xorg is 7.2.0!
Cheers!
- 03-12-2008 #6
You could try upgrading X (you can build from source or build rpms if you have the know how). I am not sure if this will resolve that error because as far as I know, the xcb errors affecting java apps are as a result of a problem with java (search on google for xcb+java). You'll note that various Linux distros have these problems using Xorg 6.x or 7.x and the latest versions of JAVA 5 and JAVA 6. For me, the apps work fine even though they show that warning, so I have just left things as they are.
- 03-12-2008 #7
Thank for the reply! I found the solution:
for me it works....Code:sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-1.6.0.u4-sun-1.6.0.u4/jre/lib/i386/xawt/libmawt.so
...and now when i run a swing application in Eclipse it`s not showing anymore that error!!! Thanks again!!!
Cheers!!!
- 03-12-2008 #8
Thanks for posting back. The solution works perfectly fine for me as well.


Reply With Quote