You are not logged in.
Pages: 1
Hi everyone!
if i try to compile and run the following code i get a erorr:
% cat fetch.java
import javax.swing.JFrame;
public class fetch {
public static void main(String[] args) {
System.out.println("Fehgtch");
JFrame f = new JFrame( "Fetfch" );
f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
f.setSize( 300, 200 );
f.setVisible( true );
}
}
% javac fetch.java
% java fetch
Fehgtch
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb7f14767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb7f148b1]
#2 /usr/lib/libX11.so.6(_XReply+0x244) [0xb55349e4]
#3 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb563d8ce]
#4 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb561a067]
#5 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb561a318]
#6 /opt/java/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xb561a61f]
#7 [0xb5cd3e9d]
#8 [0xb5cccedd]
#9 [0xb5cccedd]
#10 [0xb5cca249]
#11 /opt/java/jre/lib/i386/client/libjvm.so [0x621c40d]
#12 /opt/java/jre/lib/i386/client/libjvm.so [0x6310378]
#13 /opt/java/jre/lib/i386/client/libjvm.so [0x621c2a0]
#14 /opt/java/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x363) [0x6272153]
#15 /opt/java/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7ce596d]
#16 [0xb5cd3e9d]
#17 [0xb5cccd77]
#18 [0xb5cca249]
#19 /opt/java/jre/lib/i386/client/libjvm.so [0x621c40d]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb7f14767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb7f1481e]
#2 /usr/lib/libX11.so.6 [0xb5533ba9]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb5529fe6]
#4 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb5619319]
#5 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb5619565]
#6 /opt/java/jre/lib/i386/xawt/libmawt.so [0xb561a3c9]
#7 /opt/java/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xb561a61f]
#8 [0xb5cd3e9d]
#9 [0xb5cccedd]
#10 [0xb5cccedd]
#11 [0xb5cca249]
#12 /opt/java/jre/lib/i386/client/libjvm.so [0x621c40d]
#13 /opt/java/jre/lib/i386/client/libjvm.so [0x6310378]
#14 /opt/java/jre/lib/i386/client/libjvm.so [0x621c2a0]
#15 /opt/java/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x363) [0x6272153]
#16 /opt/java/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7ce596d]
#17 [0xb5cd3e9d]
#18 [0xb5cccd77]
#19 [0xb5cca249]
I'm not sure waht the error is - can anyone help? I get the same error with eclipse.....
thanks
smax
Offline
Try to do this. Put this in your /etc/profile -> export LIBXCB_ALLOW_SLOPPY_LOCK=1.
Offline
sorry doesn't work...
Offline
Try the sed command in this thread: http://bbs.archlinux.org/viewtopic.php?id=46798
Offline
thanks works great!
But won't it be reasonable to change this and update the package???
Offline
It is supposedly fixed in the next jdk release: http://bugs.archlinux.org/task/10162
Offline
Just updated jre to 6u6-1 through pacman . . . it's not fixed.
I still see references to XINERAMA.
Last edited by timetrap (2008-07-04 17:38:32)
Offline
Submit a bug report
Offline
Pages: 1