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

deadlock between AWT-EventQueue-2 and AWT-EventQueue-1 on AWTTreeLock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7u67
    • client-libs
    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.7.0_67"

      Java(TM) SE Runtime Environment (build 1.7.0_67-b01)

      Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      Deadlock between AWT-EventQueue-2 and AWT-EventQueu2-1 threads:

      Found one Java-level deadlock:
      =============================
      "AWT-EventQueue-2":
        waiting to lock monitor 0x0000000015ef9628 (object 0x00000000e0535218, a java.awt.Component$AWTTreeLock),
        which is held by "AWT-EventQueue-1"
      "AWT-EventQueue-1":
        waiting to lock monitor 0x0000000015ef94c8 (object 0x00000000e05492d0, a java.lang.StringBuilder),
        which is held by "AWT-EventQueue-2"

      Java stack information for the threads listed above:
      ===================================================
      "AWT-EventQueue-2":
      at java.awt.Window.getOpacity(Unknown Source)
      - waiting to lock <0x00000000e0535218> (a java.awt.Component$AWTTreeLock)
      at sun.awt.SunToolkit.isContainingTopLevelTranslucent(Unknown Source)
      at sun.awt.windows.WComponentPeer.isAccelCapable(Unknown Source)
      at sun.java2d.d3d.D3DSurfaceData$D3DWindowSurfaceData.restoreSurface(Unknown Source)
      at sun.java2d.d3d.D3DScreenUpdateManager.validate(Unknown Source)
      at sun.java2d.d3d.D3DScreenUpdateManager.createGraphics(Unknown Source)
      at sun.awt.windows.WComponentPeer.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JFrame.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at java.awt.Component.getGraphics(Unknown Source)
      at javax.swing.JComponent.getGraphics(Unknown Source)
      at javax.swing.JComponent.safelyGetGraphics(Unknown Source)
      - locked <0x00000000e05492d0> (a java.lang.StringBuilder)
      at javax.swing.JComponent._paintImmediately(Unknown Source)
      at javax.swing.JComponent.paintImmediately(Unknown Source)
      at javax.swing.RepaintManager$3.run(Unknown Source)
      at javax.swing.RepaintManager$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
      at javax.swing.RepaintManager.access$1100(Unknown Source)
      at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$200(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)
      "AWT-EventQueue-1":
      at javax.swing.JComponent.safelyGetGraphics(Unknown Source)
      - waiting to lock <0x00000000e05492d0> (a java.lang.StringBuilder)
      at javax.swing.JComponent.safelyGetGraphics(Unknown Source)
      at javax.swing.JViewport.setViewPosition(Unknown Source)
      at javax.swing.ViewportLayout.layoutContainer(Unknown Source)
      at java.awt.Container.layout(Unknown Source)
      at java.awt.Container.doLayout(Unknown Source)
      at java.awt.Container.validateTree(Unknown Source)
      at java.awt.Container.validateTree(Unknown Source)
      at java.awt.Container.validate(Unknown Source)
      - locked <0x00000000e0535218> (a java.awt.Component$AWTTreeLock)
      at com.sun.deploy.uitoolkit.impl.awt.ui.SwingConsoleWindow.setScrollPosition(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.ui.SwingConsoleWindow.access$100(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.ui.SwingConsoleWindow$29.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$200(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      Found 1 deadlock.




      REPRODUCIBILITY :
      This bug can be reproduced rarely.

      SUPPORT :
      YES

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: