Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6532373

xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed.

    Details

    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      generic, x86
    • OS:
      linux

      Backports

        Description

        FULL PRODUCT VERSION :
        java version "1.6.0"
        Java(TM) SE Runtime Environment (build 1.6.0-b105)
        Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)

        (also occurs with jdk1.7.0-b09 snapshot)

        ADDITIONAL OS VERSION INFORMATION :
        Linux kellyc-desktop 2.6.20-9-generic #2 SMP Sun Feb 25 22:59:06 UTC 2007 x86_64 GNU/Linux
        Ubuntu Feisty 7.04

        EXTRA RELEVANT SYSTEM CONFIGURATION :
        libxcb1 1.0-1.1

        A DESCRIPTION OF THE PROBLEM :
        Starting up any java app that uses awt gives this error immediately upon startup. E.g. jconsole. See this forum post: http://forum.java.sun.com/thread.jspa?threadID=782829

        The error is: xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed.

        This occurs with the latest 1.7.0-b09 snapshot build. However if I build 1.7.0-b09 (svn trunk revision #70) from source on my machine, it works fine in both the regular binary and fastdebug binary, so this could be related to something in the standard build environment, or perhaps related to the defines in XlibWrapper.c that look related to locking and are only enabled on internal builds.


        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Install java on a ubuntu 7.04 (feisty) system with updates applied.
        Try to run jconsole from a terminal.
        The error occurs.

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        jconsole window should open.
        ACTUAL -
        no window opens.

        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed.

        REPRODUCIBILITY :
        This bug can be reproduced always.

        CUSTOMER SUBMITTED WORKAROUND :
        downgrade xcb and xlib

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  art Artem Ananiev
                  Reporter:
                  ndcosta Nelson Dcosta (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: