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

Deadlock between EQ & XAWT over XDialogPeer & ReentrantLock$NonfairSync

XMLWordPrintable

    • b04
    • x86
    • linux
    • Verified

      Unreproducible deadlock encountered while shutting down the NetBeans IDE running on JDK 6 b101 which seems to involve AWT code only. Looks to be a simple lock ordering bug.

      "AWT-EventQueue-2":
        waiting for ownable synchronizer 0x82c367b0, (a java.util.concurrent.locks.ReentrantLock$NonfairSync),
        which is held by "AWT-XAWT"
      "AWT-XAWT":
        waiting to lock monitor 0x083e6b44 (object 0x827a0148, a sun.awt.X11.XDialogPeer),
        which is held by "AWT-EventQueue-2"

      See attachment for complete thread dump.

            son Oleg Sukhodolsky (Inactive)
            jglick Jesse Glick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: