Unexplained locking failure in Java 6.0_05

M

Martin Gregorie

I have two Swing GUI programs that display the following locking problem
whenever they are run and however they are run. Two related non-GUI
programs (i.e. all four access the same database via JDBC) don't do this:

Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7df777]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0x7df8d1]
#2 /usr/lib/libX11.so.6(_XReply+0xff) [0x51a112f]
#3 /home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so [0xb56b88ce]
#4 /home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so [0xb5695067]
#5 /home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so [0xb5695318]
#6 /home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so
(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xb569561f]
#7 [0xb5f41d1d]
#8 [0xb5f3aea5]
#9 [0xb5f3aea5]
#10 [0xb5f38249]
#11 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x621c40d]
#12 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x6310378]
#13 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x621c2a0]
#14 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged
+0x363) [0x6272153]
#15 /home/java/jdk1.6.0_05/jre/lib/i386/libjava.so
(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2
+0x3d) [0xb7f5396d]
#16 [0xb5f41d1d]
#17 [0xb5f3ad4d]
#18 [0xb5f38249]
#19 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x621c40d]

I have not written any assertions into my code, so I'd appreciate any
pointers on where to look for information on what might be causing the
locking assertion to fail and how to get rid of these displays.

Is this a known issue with Java 5.0_05?

TIA
Martin
 
B

Bo Vance

Martin said:
I have two Swing GUI programs that display the following locking problem
whenever they are run and however they are run. Two related non-GUI
programs (i.e. all four access the same database via JDBC) don't do this:

Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7df777]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0x7df8d1]
#2 /usr/lib/libX11.so.6(_XReply+0xff) [0x51a112f]
#3 /home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so [0xb56b88ce]
#4 /home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so [0xb5695067]
#5 /home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so [0xb5695318]
#6 /home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so
(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xb569561f]
#7 [0xb5f41d1d]
#8 [0xb5f3aea5]
#9 [0xb5f3aea5]
#10 [0xb5f38249]
#11 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x621c40d]
#12 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x6310378]
#13 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x621c2a0]
#14 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged
+0x363) [0x6272153]
#15 /home/java/jdk1.6.0_05/jre/lib/i386/libjava.so
(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2
+0x3d) [0xb7f5396d]
#16 [0xb5f41d1d]
#17 [0xb5f3ad4d]
#18 [0xb5f38249]
#19 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x621c40d]

I have not written any assertions into my code, so I'd appreciate any
pointers on where to look for information on what might be causing the
locking assertion to fail and how to get rid of these displays.

Is this a known issue with Java 5.0_05?

TIA
Martin

The only thing that I can find in BugDatabase is:
<http://bugs.sun.com/view_bug.do?bug_id=6532373>
I can't know if it is applicable.
 
M

Martin Gregorie

Martin said:
I have two Swing GUI programs that display the following locking
problem whenever they are run and however they are run. Two related
non-GUI programs (i.e. all four access the same database via JDBC)
don't do this:

Locking assertion failure. Backtrace: #0 /usr/lib/libxcb-xlib.so.0
[0x7df777] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31)
[0x7df8d1] #2 /usr/lib/libX11.so.6(_XReply+0xff) [0x51a112f] #3
/home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so [0xb56b88ce] #4
/home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so [0xb5695067] #5
/home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so [0xb5695318] #6
/home/java/jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so
(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xb569561f] #7
[0xb5f41d1d]
#8 [0xb5f3aea5]
#9 [0xb5f3aea5]
#10 [0xb5f38249]
#11 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x621c40d]
#12 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x6310378]
#13 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x621c2a0]
#14
/home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged
+0x363) [0x6272153]
#15 /home/java/jdk1.6.0_05/jre/lib/i386/libjava.so
(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2
+0x3d) [0xb7f5396d]
#16 [0xb5f41d1d]
#17 [0xb5f3ad4d]
#18 [0xb5f38249]
#19 /home/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so [0x621c40d]

I have not written any assertions into my code, so I'd appreciate any
pointers on where to look for information on what might be causing the
locking assertion to fail and how to get rid of these displays.

Is this a known issue with Java 5.0_05?

TIA
Martin
The only thing that I can find in BugDatabase is:
<http://bugs.sun.com/view_bug.do?bug_id=6532373> I can't know if it is
applicable.

Thanks: I'll upgrade to the latest Java 6 release and try again.
 
M

Martin Gregorie

Thanks: I'll upgrade to the latest Java 6 release and try again.

Following up - I've just upgraded to Java 6.0_07, the most recent stable
version, and the locking assertion failure has vanished.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top