Unexplained locking failure in Java 6.0_05

Discussion in 'Java' started by Martin Gregorie, Aug 30, 2008.

  1. 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


    --
    martin@ | Martin Gregorie
    gregorie. | Essex, UK
    org |
     
    Martin Gregorie, Aug 30, 2008
    #1
    1. Advertising

  2. Martin Gregorie

    Bo Vance Guest

    Martin Gregorie wrote:
    > 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.
     
    Bo Vance, Aug 30, 2008
    #2
    1. Advertising

  3. On Sat, 30 Aug 2008 11:28:38 -0400, Bo Vance wrote:

    > Martin Gregorie wrote:
    >> 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.


    --
    martin@ | Martin Gregorie
    gregorie. | Essex, UK
    org |
     
    Martin Gregorie, Sep 1, 2008
    #3
  4. On Sun, 31 Aug 2008 23:36:47 +0000, Martin Gregorie wrote:

    > On Sat, 30 Aug 2008 11:28:38 -0400, Bo Vance wrote:
    >
    >> 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.


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


    --
    martin@ | Martin Gregorie
    gregorie. | Essex, UK
    org |
     
    Martin Gregorie, Sep 3, 2008
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ilias Lazaridis
    Replies:
    0
    Views:
    578
    Ilias Lazaridis
    Feb 1, 2005
  2. Ian Pilcher

    Changelog for 1.5.0_05?

    Ian Pilcher, Sep 19, 2005, in forum: Java
    Replies:
    4
    Views:
    337
    Ian Pilcher
    Sep 20, 2005
  3. Roedy Green

    Back off jdk 1.5.0_05

    Roedy Green, Sep 20, 2005, in forum: Java
    Replies:
    9
    Views:
    864
    Larry Barowski
    Sep 21, 2005
  4. Guapo
    Replies:
    7
    Views:
    2,159
    Jon Martin Solaas
    Mar 13, 2006
  5. Timasmith
    Replies:
    4
    Views:
    457
    Bjorn Borud
    Nov 1, 2006
Loading...

Share This Page