You are not logged in.

#1 2007-12-02 22:50:16

MarinvHs
Member
From: Curitiba, PR, Brazil
Registered: 2007-10-15
Posts: 47

Java issue

Hi, Im a java programmer (beginner). Ive been using java normally for more than one month, then all of a sudden when I run any java program I get this message (the program still runs, but this always appear)

Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb5ce2767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb5ce281e]
#2 /usr/lib/libX11.so.6 [0xab7f8e08]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xab7efb76]
#4 /opt/java/jre/lib/i386/xawt/libmawt.so [0xab8d6249]
#5 /opt/java/jre/lib/i386/xawt/libmawt.so [0xab8d6495]
#6 /opt/java/jre/lib/i386/xawt/libmawt.so [0xab8d72f9]
#7 /opt/java/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xab8d754f]
#8 [0xb5d7166e]
#9 [0xb5d69edd]
#10 [0xb5d69edd]
#11 [0xb5d67243]
#12 /opt/java/jre/lib/i386/client/libjvm.so [0x620bc6d]
#13 /opt/java/jre/lib/i386/client/libjvm.so [0x630a828]
#14 /opt/java/jre/lib/i386/client/libjvm.so [0x620bb00]
#15 /opt/java/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b) [0x62619bb]
#16 /opt/java/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7d8296d]
#17 [0xb5d7166e]
#18 [0xb5d69d77]
#19 [0xb5d67243]

Does anyone know the source of the problem? Do I have any lib problem? Please help

Thanks for the help!

Last edited by MarinvHs (2007-12-02 22:50:54)

Offline

#2 2007-12-03 02:17:09

Theoden
Member
Registered: 2005-03-03
Posts: 240

Re: Java issue

This problem cropped up after the move to X.org 7.3.  Since then the problem has existed.  It's still not fixed.  I don't think this is an arch problem though.

--Theoden roll

Last edited by Theoden (2007-12-03 02:21:48)


"If builders built buildings the way programmers write programs,
the first woodpecker that came along would destroy civilization."

Offline

#3 2007-12-03 14:09:53

Bison
Member
From: Jacksonville, FL
Registered: 2006-04-12
Posts: 158
Website

Re: Java issue

Maybe its an issue with jdk1.6.  Looks like some awt stuff going on there, what happens when you run a console application?

Offline

#4 2007-12-03 16:38:13

MarinvHs
Member
From: Curitiba, PR, Brazil
Registered: 2007-10-15
Posts: 47

Re: Java issue

Bison wrote:

Maybe its an issue with jdk1.6.  Looks like some awt stuff going on there, what happens when you run a console application?

Be more specific please

Offline

#5 2007-12-03 16:39:02

MarinvHs
Member
From: Curitiba, PR, Brazil
Registered: 2007-10-15
Posts: 47

Re: Java issue

Theoden wrote:

This problem cropped up after the move to X.org 7.3.  Since then the problem has existed.  It's still not fixed.  I don't think this is an arch problem though.

--Theoden roll

yea exactly, I dont even consider it a problem but it's boring, everytime I run something I get 19 lines of error neutral

Reforcing that the program still runs, but the message appears.

Last edited by MarinvHs (2007-12-03 16:39:34)

Offline

#6 2007-12-03 17:25:03

Bison
Member
From: Jacksonville, FL
Registered: 2006-04-12
Posts: 158
Website

Re: Java issue

MarinvHs wrote:
Bison wrote:

Maybe its an issue with jdk1.6.  Looks like some awt stuff going on there, what happens when you run a console application?

Be more specific please

I was wondering if when you use a java command-line app, do the same messages appear?

Regardless, it sounds like a bug report

Offline

#7 2007-12-03 18:32:52

MarinvHs
Member
From: Curitiba, PR, Brazil
Registered: 2007-10-15
Posts: 47

Re: Java issue

It appears wherever I run the program, when I run it inside netbeans it shows up in netbeans output window

When I run in the terminal it also appears

Examples:

java -jar foo.jar

gives me that message above

If I compile a program without JFrame and other javax.swing elements like this one:

public class foo {
    public static void main(String[]args){
        System.out.println("foo");
    }
}

The error doesn't show up. Therefore, I guess the error is something related to graphical components...

Last edited by MarinvHs (2007-12-03 18:36:17)

Offline

#8 2007-12-03 20:32:17

Mo
Member
Registered: 2007-01-18
Posts: 92

Re: Java issue

Maybe it is this bug: http://bbs.archlinux.org/viewtopic.php?id=39523
I hope it helps wink.

Offline

#9 2007-12-03 21:21:55

MarinvHs
Member
From: Curitiba, PR, Brazil
Registered: 2007-10-15
Posts: 47

Re: Java issue

[alex@myhost KnightFight]$ export LIBXCB_ALLOW_SLOPPY_LOCK=true
[alex@myhost KnightFight]$ java -jar KnightFight.jar
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb7d09767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb7d098b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xab749a8d]
#3 /opt/java/jre/lib/i386/xawt/libmawt.so [0xab84864e]
#4 /opt/java/jre/lib/i386/xawt/libmawt.so [0xab826f97]
#5 /opt/java/jre/lib/i386/xawt/libmawt.so [0xab827248]
#6 /opt/java/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xab82754f]
#7 [0xb5cbb66e]
#8 [0xb5cb3edd]
#9 [0xb5cb3edd]
#10 [0xb5cb1243]
#11 /opt/java/jre/lib/i386/client/libjvm.so [0x620bc6d]
#12 /opt/java/jre/lib/i386/client/libjvm.so [0x630a828]
#13 /opt/java/jre/lib/i386/client/libjvm.so [0x620bb00]
#14 /opt/java/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b) [0x62619bb]
#15 /opt/java/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7ccc96d]
#16 [0xb5cbb66e]
#17 [0xb5cb3d77]
#18 [0xb5cb1243]
#19 /opt/java/jre/lib/i386/client/libjvm.so [0x620bc6d]
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb7d09767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb7d0981e]
#2 /usr/lib/libX11.so.6 [0xab748e08]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xab73fb76]
#4 /opt/java/jre/lib/i386/xawt/libmawt.so [0xab826249]
#5 /opt/java/jre/lib/i386/xawt/libmawt.so [0xab826495]
#6 /opt/java/jre/lib/i386/xawt/libmawt.so [0xab8272f9]
#7 /opt/java/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xab82754f]
#8 [0xb5cbb66e]
#9 [0xb5cb3edd]
#10 [0xb5cb3edd]
#11 [0xb5cb1243]
#12 /opt/java/jre/lib/i386/client/libjvm.so [0x620bc6d]
#13 /opt/java/jre/lib/i386/client/libjvm.so [0x630a828]
#14 /opt/java/jre/lib/i386/client/libjvm.so [0x620bb00]
#15 /opt/java/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b) [0x62619bb]
#16 /opt/java/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7ccc96d]
#17 [0xb5cbb66e]
#18 [0xb5cb3d77]
#19 [0xb5cb1243]

Same thing happened hmm Did I miss anything?
From what I read in the topic that should solve it

Offline

Board footer

Powered by FluxBB