You are not logged in.
Pages: 1
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
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
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
Maybe its an issue with jdk1.6. Looks like some awt stuff going on there, what happens when you run a console application?
Offline
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
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
yea exactly, I dont even consider it a problem but it's boring, everytime I run something I get 19 lines of error
Reforcing that the program still runs, but the message appears.
Last edited by MarinvHs (2007-12-03 16:39:34)
Offline
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
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
Maybe it is this bug: http://bbs.archlinux.org/viewtopic.php?id=39523
I hope it helps .
Offline
[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 Did I miss anything?
From what I read in the topic that should solve it
Offline
Pages: 1