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

deadlock in java/awt/Component$AWTTreeLock and motif

    XMLWordPrintable

Details

    • sparc
    • solaris_2.6

    Description

      The thread dump below was generated from a deadlocked application based on JDK 1.2.2_05a. This is difficult to reproduce but has been seen atleast twice.

      SIGQUIT
      A SIGQUIT has been received.
      FOUND A JAVA LEVEL DEADLOCK:
      ---------------------------
      t@237 waiting to lock object@0xd907fd78:"sun/awt/motif/MToolkit"
               which is locked by t@7
      t@7 waiting to lock object@0xdd44119c:"java/awt/Component$AWTTreeLock"
               which is locked by t@237

      JAVA STACK INFORMATION FOR THREADS LISTED ABOVE:
      -----------------------------------------------

      Java Stack for t@237 (EE = 0x2d21248) "Thread-114" :
      ==========
      [1] java.awt.Toolkit.removeAWTEventListener(Toolkit.java:1162)
      [2] java.awt.LightweightDispatcher$2.run(Container.java)
      [3] java.security.AccessController.doPrivileged(Native Method)
      [4]
      java.awt.LightweightDispatcher.stopListeningForOtherDrags(Container.java:1970)

      [5] java.awt.LightweightDispatcher.dispose(Container.java:1673)
      [6] java.awt.Container.removeNotify(Container.java:1433)
      [7] java.awt.Container.removeNotify(Container.java:1433)
      [8] javax.swing.JComponent.removeNotify(JComponent.java:3384)
      [9] java.awt.Container.removeNotify(Container.java:1433)
      [10] java.awt.Container.removeNotify(Container.java:1433)
      [11] java.awt.Container.removeNotify(Container.java:1433)
      [12] java.awt.Container.removeNotify(Container.java:1433)
      [13] javax.swing.JComponent.removeNotify(JComponent.java:3384)
      [14] java.awt.Container.remove(Container.java:373)
      [15] java.awt.ScrollPane.addNotify(ScrollPane.java:489)
      [16] java.awt.Container.addNotify(Container.java:1406)
      [17] javax.swing.JComponent.addNotify(JComponent.java:3357)
      [18] java.awt.Container.addNotify(Container.java:1406)
      [19] java.awt.Panel.addNotify(Panel.java:74)
      [20] java.awt.Container.addNotify(Container.java:1406)
      [21] java.awt.Panel.addNotify(Panel.java:74)
      [22] java.awt.Container.addNotify(Container.java:1406)
      [23] java.awt.Panel.addNotify(Panel.java:74)
      [24] java.awt.Container.addNotify(Container.java:1406)
      [25] java.awt.Panel.addNotify(Panel.java:74)
      [26] java.awt.Container.addImpl(Container.java:297)
      [27] java.awt.Container.add(Container.java:221)
      [28]
      com.fujitsu.fnc.nms.fenics.gui.config.GUI_NeView.initialize(GUI_NeView.java:346)

      [29]
      com.ibm.webrunner.beanworks.desktop.ComponentController.setView(ComponentController.java:211)

      [30]
      com.fujitsu.fnc.nms.fenics.gui.gcf.FGComponent.setView(FGComponent.java:145)

      [31]
      com.fujitsu.fnc.nms.fenics.gui.gcf.FGComponent.setView(FGComponent.java:140)

      [32] com.fujitsu.fnc.nms.fenics.gui.config.GUI_Ne.init(GUI_Ne.java:117)
      [33]
      com.fujitsu.fnc.nms.fenics.gui.config.GUI_Ne.setContext(GUI_Ne.java:235)

      [34]
      com.fujitsu.fnc.nms.fenics.gui.gcf.FGComponent.restore(FGComponent.java:343)

      [35]
      com.fujitsu.fnc.nms.fenics.gui.gcf.StartCompThread.run(StartCompThread.java:78)

      Java Stack for t@7 (EE = 0x58d530) "AWT-EventQueue-0" :
      ==========
      [1] java.awt.LightweightDispatcher.eventDispatched(Container.java:1985)
      [2]
      java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:1251)

      [3] java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:1191)
      [4] java.awt.Component.dispatchEventImpl(Component.java:2316)
      [5] java.awt.Container.dispatchEventImpl(Container.java:1048)
      [6] java.awt.Component.dispatchEvent(Component.java:2312)
      [7]
      java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2041)
      [8]
      java.awt.LightweightDispatcher.processMouseEvent(Container.java:1821)
      [9] java.awt.LightweightDispatcher.dispatchEvent(Container.java:1750)
      [10] java.awt.Container.dispatchEventImpl(Container.java:1048)
      [11] java.awt.Component.dispatchEvent(Component.java:2312)
      [12] java.awt.EventQueue.dispatchEvent(EventQueue.java:296)
      [13]
      java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:100)
      [14]
      java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:91)
      [15] java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
      -----------------------------------------------
      Found 1 deadlock

      Full Thread dump is attached to the bug report

      Attachments

        Issue Links

          Activity

            People

              son Oleg Sukhodolsky (Inactive)
              rramchansunw Rajesh Ramchandani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: