大家帮忙看看

重复贴和参考价值不大的帖子,版主维护
回复
头像
Jack437
帖子: 82
注册时间: 2007-06-12 15:36
来自: 火星
送出感谢: 0
接收感谢: 0
联系:

大家帮忙看看

#1

帖子 Jack437 » 2009-02-24 9:40

我用新德里安装了java sdk1.5,手动安装wtk2.5.2,均以配置正确利用java -version得到当前正确java版本,但我用eclipse写了段代码,运行程序的时候报错(==================下面部分),程序依然可以运行,搜索未果,特开此贴,希望大家帮忙看看,我乃一介菜鸟,如果有解决方案请详细说明,感激不尽。 :em06
======================================================
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb73d2767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb73d28b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0x8c84c1bd]
#3 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x8c938dce]
#4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x8c922d77]
#5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x8c922ef3]
#6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0x8c923136]
#7 [0xb13de008]
#8 [0xb13d7b6b]
#9 [0xb13d7b6b]
#10 [0xb13d5236]
#11 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb7668eec]
#12 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb7838ae8]
#13 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb7668d1f]
#14 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x32d) [0xb76c682d]
#15 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb737430d]
#16 [0xb13dd898]
#17 [0xb13d7a94]
#18 [0xb13d5236]
#19 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb7668eec]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb73d2767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb73d281e]
#2 /usr/lib/libX11.so.6 [0x8c84b518]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0x8c8420a6]
#4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x8c9220b9]
#5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x8c922303]
#6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x8c922fa1]
#7 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0x8c923136]
#8 [0xb13de008]
#9 [0xb13d7b6b]
#10 [0xb13d7b6b]
#11 [0xb13d5236]
#12 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb7668eec]
#13 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb7838ae8]
#14 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb7668d1f]
#15 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x32d) [0xb76c682d]
#16 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb737430d]
#17 [0xb13dd898]
#18 [0xb13d7a94]
#19 [0xb13d5236]
/usr/share/themes/Human-Clearlooks/gtk-2.0/gtkrc:47: error: lexical error or unexpected token, expected valid token
Running with storage root /home/jack/j2mewtk/2.5.2/appdb/DefaultColorPhone
Running with locale: zh_CN.UTF-8
Running in the identified_third_party security domain
/dev/dsp: Device or resource busy
jack437 写了:夕阳隐没你浅浅微笑,微扬的脸,舒展的眉头,是我想象中幸福的模样
头像
壹哥
帖子: 199
注册时间: 2008-01-02 17:26
送出感谢: 0
接收感谢: 0
联系:

Re: 大家帮忙看看

#2

帖子 壹哥 » 2009-02-24 15:20

我搜索了一下,运行下面这条命令试试
sudo sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so
哥每天阅贴无数,心已经麻木了!
哥回的不是贴,是寂寞!
头像
Jack437
帖子: 82
注册时间: 2007-06-12 15:36
来自: 火星
送出感谢: 0
接收感谢: 0
联系:

Re: 大家帮忙看看

#3

帖子 Jack437 » 2009-02-25 4:42

壹哥 写了:我搜索了一下,运行下面这条命令试试
sudo sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so
恩,这个问题解决了,谢谢了
jack437 写了:夕阳隐没你浅浅微笑,微扬的脸,舒展的眉头,是我想象中幸福的模样
回复

回到 “归档贴”