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

Deadlock in D3DScreenUpdateManager.runUpdateNow()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3 P3
    • 7-pool
    • 7u10
    • client-libs
    • Windows 8 x64
      java version "1.7.0_10"
      Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
      Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)

    • 2d
    • windows_8

      When a checkbox is ticked in NetBeans installer there's a deadlock in D3DScreenUpdateManager.runUpdateNow() method. It is a possible regression of bug https://jbs.oracle.com/bugs/browse/JDK-6607230 in JDK 1.7 update 10.

      "AWT-EventQueue-0" prio=6 tid=0x0000000006f6a800 nid=0xe0c in Object.wait() [0x00000000088ba000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000000e078b3e8> (a java.lang.Object)
      at java.lang.Object.wait(Object.java:503)
      at sun.java2d.d3d.D3DScreenUpdateManager.runUpdateNow(D3DScreenUpdateManager.java:419)
      - locked <0x00000000e078b3e8> (a java.lang.Object)
      at sun.java2d.d3d.D3DBlitLoops.IsoBlit(D3DBlitLoops.java:352)
      at sun.java2d.d3d.D3DRTTSurfaceToSurfaceBlit.Blit(D3DBlitLoops.java:439)
      at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:956)
      at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:578)
      at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:71)
      at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1011)
      at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:186)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3084)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3069)
      at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1484)
      at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1413)
      at javax.swing.RepaintManager.paint(RepaintManager.java:1206)
      at javax.swing.JComponent._paintImmediately(JComponent.java:5169)
      at javax.swing.JComponent.paintImmediately(JComponent.java:4980)
      at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:770)
      at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:728)
      at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:677)
      at javax.swing.RepaintManager.access$700(RepaintManager.java:59)
      at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1621)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:682)
      at java.awt.EventQueue$3.run(EventQueue.java:680)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
      at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
      at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
      at java.awt.Dialog.show(Dialog.java:1077)
      at java.awt.Component.show(Component.java:1651)
      at java.awt.Component.setVisible(Component.java:1603)
      at java.awt.Window.setVisible(Window.java:1014)
      at java.awt.Dialog.setVisible(Dialog.java:1003)
      at org.netbeans.installer.utils.helper.swing.NbiDialog.setVisible(NbiDialog.java:109)
      at org.netbeans.installer.wizard.components.panels.netbeans.NbCustomizeSelectionDialog.setVisible(NbCustomizeSelectionDialog.java:189)
      at org.netbeans.installer.wizard.components.panels.netbeans.NbWelcomePanel$NbWelcomePanelSwingUi.customizeButtonPressed(NbWelcomePanel.java:1054)
      at org.netbeans.installer.wizard.components.panels.netbeans.NbWelcomePanel$NbWelcomePanelSwingUi.access$300(NbWelcomePanel.java:514)
      at org.netbeans.installer.wizard.components.panels.netbeans.NbWelcomePanel$NbWelcomePanelSwingUi$1.actionPerformed(NbWelcomePanel.java:808)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
      at java.awt.Component.processMouseEvent(Component.java:6505)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
      at java.awt.Component.processEvent(Component.java:6270)
      at java.awt.Container.processEvent(Container.java:2229)
      at java.awt.Component.dispatchEventImpl(Component.java:4861)
      at java.awt.Container.dispatchEventImpl(Container.java:2287)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
      at java.awt.Container.dispatchEventImpl(Container.java:2273)
      at java.awt.Window.dispatchEventImpl(Window.java:2719)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:682)
      at java.awt.EventQueue$3.run(EventQueue.java:680)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.awt.EventQueue$4.run(EventQueue.java:696)
      at java.awt.EventQueue$4.run(EventQueue.java:694)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

      Full thread dumps are attached.

      See also NetBeans issue http://netbeans.org/bugzilla/show_bug.cgi?id=223760

            jchen Johnny Chen (Inactive)
            saubrech Stanislav Aubrecht
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: