[Bug 159] New: deadlock in AWT code

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Jun 12 04:27:18 PDT 2008


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=159

           Summary: deadlock in AWT code
           Product: IcedTea
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: IcedTea
        AssignedTo: unassigned at icedtea.classpath.org
        ReportedBy: twisti at complang.tuwien.ac.at


I cannot provide any code, as this is a costumer application.  But here is
something interesting (constumer package name replaced with XXX):

Found one Java-level deadlock:
=============================
"AWT-EventQueue-0":
  waiting to lock monitor 0x0000000000689390 (object 0x00002aaab433cd60, a
java.awt.Component$AWTTreeLock),
  which is held by "main"
"main":
  waiting to lock monitor 0x000000000068a2a8 (object 0x00002aaad499e610, a
XXX.applet.MenuBarPanel),
  which is held by "AWT-EventQueue-0"

Java stack information for the threads listed above:
===================================================
"AWT-EventQueue-0":
        at java.awt.Container.removeAll(Container.java:1259)
        - waiting to lock <0x00002aaab433cd60> (a
java.awt.Component$AWTTreeLock)
        at XXX.applet.MenuBarPanel.arrange(MenuBarApplet.java:450)
        - locked <0x00002aaad499e610> (a XXX.applet.MenuBarPanel)
        at XXX.applet.MenuBarPanel.start(MenuBarApplet.java:405)
        - locked <0x00002aaad499e610> (a XXX.applet.MenuBarPanel)
        at XXX.applet.MenuBarApplet.start(MenuBarApplet.java:151)
        at XXX.browser.HTMLFrame.startApplet(HTMLFrame.java:487)
        at XXX.applet.TxHTMLFrame.startApplet(TxHTMLFrame.java:78)
        at XXX.browser.FrameJob$3.run(UpdateJob.java:431)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
"main":
        at java.awt.Component.addPropertyChangeListener(Component.java:7928)
        - waiting to lock <0x00002aaad499e610> (a XXX.applet.MenuBarPanel)
        at java.awt.Container.addPropertyChangeListener(Container.java:3482)
        at java.awt.Component.addNotify(Component.java:6529)
        - locked <0x00002aaab433cd60> (a java.awt.Component$AWTTreeLock)
        at java.awt.Container.addNotify(Container.java:2632)
        - locked <0x00002aaab433cd60> (a java.awt.Component$AWTTreeLock)
        at javax.swing.JComponent.addNotify(JComponent.java:4696)
        at java.awt.Container.addNotify(Container.java:2639)
        - locked <0x00002aaab433cd60> (a java.awt.Component$AWTTreeLock)
        at javax.swing.JComponent.addNotify(JComponent.java:4696)
        at java.awt.Container.addNotify(Container.java:2639)
        - locked <0x00002aaab433cd60> (a java.awt.Component$AWTTreeLock)
        at javax.swing.JComponent.addNotify(JComponent.java:4696)
        at java.awt.Container.addNotify(Container.java:2639)
        - locked <0x00002aaab433cd60> (a java.awt.Component$AWTTreeLock)
        at javax.swing.JComponent.addNotify(JComponent.java:4696)
        at java.awt.Container.addNotify(Container.java:2639)
        - locked <0x00002aaab433cd60> (a java.awt.Component$AWTTreeLock)
        at javax.swing.JComponent.addNotify(JComponent.java:4696)
        at java.awt.Container.addNotify(Container.java:2639)
        - locked <0x00002aaab433cd60> (a java.awt.Component$AWTTreeLock)
        at javax.swing.JComponent.addNotify(JComponent.java:4696)
        at java.awt.Container.addNotify(Container.java:2639)
        - locked <0x00002aaab433cd60> (a java.awt.Component$AWTTreeLock)
        at javax.swing.JComponent.addNotify(JComponent.java:4696)
        at javax.swing.JRootPane.addNotify(JRootPane.java:750)
        at java.awt.Container.addNotify(Container.java:2639)
        - locked <0x00002aaab433cd60> (a java.awt.Component$AWTTreeLock)
        at java.awt.Window.addNotify(Window.java:668)
        - locked <0x00002aaab433cd60> (a java.awt.Component$AWTTreeLock)
        at java.awt.Frame.addNotify(Frame.java:486)
        - locked <0x00002aaab433cd60> (a java.awt.Component$AWTTreeLock)
        at java.awt.Window.pack(Window.java:698)
<snip>

Found 1 deadlock.


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list