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

when focus logging is turned on a dialog can hang during frequent closing/opening

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 5.0u75
    • Fix Version/s: 5.0-pool
    • Component/s: client-libs
    • Labels:

      Description

      when focus logging is turned on a dialog can hang during frequent closing/opening.
      stacktrace:
      AWT-EventQueue hangs in native method getText(WTextComponentPeer.java:

      "AWT-EventQueue-0@251" prio=6 tid=0xe nid=NA runnable
      java.lang.Thread.State: RUNNABLE
      locked <0x229> (a java.awt.TextField)
      locked <0x22d> (a java.awt.DefaultKeyboardFocusManager)
      blocks AWT-Windows@227
      at sun.awt.windows.WTextComponentPeer.getText(WTextComponentPeer.java:-1)
      at java.awt.TextComponent.getText(TextComponent.java:217)
      at java.awt.TextComponent.paramString(TextComponent.java:677)
      at java.awt.TextField.paramString(TextField.java:592)
      at java.awt.Component.toString(Component.java:6996)
      at java.lang.String.valueOf(String.java:2615)
      at java.lang.StringBuilder.append(StringBuilder.java:116)
      at java.awt.event.FocusEvent.paramString(FocusEvent.java:214)
      at java.awt.AWTEvent.toString(AWTEvent.java:338)
      at java.lang.String.valueOf(String.java:2615)
      at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:845)
      at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:489)
      at java.awt.Component.dispatchEventImpl(Component.java:3922)
      at java.awt.Component.dispatchEvent(Component.java:3882)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:524)
      at java.awt.EventQueue.access$000(EventQueue.java:81)
      at java.awt.EventQueue$2.run(EventQueue.java:485)
      at java.awt.EventQueue$2.run(EventQueue.java:484)
      at java.security.AccessController.doPrivileged(AccessController.java:-1)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$3.run(EventQueue.java:499)
      at java.awt.EventQueue$3.run(EventQueue.java:498)
      at java.security.AccessController.doPrivileged(AccessController.java:-1)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:496)
      at java.awt.SequencedEvent.dispatch(SequencedEvent.java:93)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:522)
      at java.awt.EventQueue.access$000(EventQueue.java:81)
      at java.awt.EventQueue$2.run(EventQueue.java:485)
      at java.awt.EventQueue$2.run(EventQueue.java:484)
      at java.security.AccessController.doPrivileged(AccessController.java:-1)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$3.run(EventQueue.java:499)
      at java.awt.EventQueue$3.run(EventQueue.java:498)
      at java.security.AccessController.doPrivileged(AccessController.java:-1)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:496)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
      at java.awt.Dialog$1.run(Dialog.java:534)
      at java.awt.Dialog$2.run(Dialog.java:562)
      at java.security.AccessController.doPrivileged(AccessController.java:-1)
      at java.awt.Dialog.show(Dialog.java:560)
      at java.awt.Component.show(Component.java:1357)
      at java.awt.Component.setVisible(Component.java:1310)
      at TextDialog1.openButton(TextDialog1.java:98)
      at TextDialog1.actionPerformed(TextDialog1.java:85)
      at java.awt.Button.processActionEvent(Button.java:388)
      at java.awt.Button.processEvent(Button.java:356)
      at java.awt.Component.dispatchEventImpl(Component.java:4049)
      at java.awt.Component.dispatchEvent(Component.java:3882)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:524)
      at java.awt.EventQueue.access$000(EventQueue.java:81)
      at java.awt.EventQueue$2.run(EventQueue.java:485)
      at java.awt.EventQueue$2.run(EventQueue.java:484)
      at java.security.AccessController.doPrivileged(AccessController.java:-1)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$3.run(EventQueue.java:499)
      at java.awt.EventQueue$3.run(EventQueue.java:498)
      at java.security.AccessController.doPrivileged(AccessController.java:-1)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:496)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
      at java.awt.Dialog$1.run(Dialog.java:534)
      at java.awt.Dialog$2.run(Dialog.java:562)
      at java.security.AccessController.doPrivileged(AccessController.java:-1)
      at java.awt.Dialog.show(Dialog.java:560)
      at java.awt.Component.show(Component.java:1357)
      at java.awt.Component.setVisible(Component.java:1310)
      at Test.showDialog(Test.java:91)
      at Test.actionPerformed(Test.java:75)
      at java.awt.Button.processActionEvent(Button.java:388)
      at java.awt.Button.processEvent(Button.java:356)
      at java.awt.Component.dispatchEventImpl(Component.java:4049)
      at java.awt.Component.dispatchEvent(Component.java:3882)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:524)
      at java.awt.EventQueue.access$000(EventQueue.java:81)
      at java.awt.EventQueue$2.run(EventQueue.java:485)
      at java.awt.EventQueue$2.run(EventQueue.java:484)
      at java.security.AccessController.doPrivileged(AccessController.java:-1)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$3.run(EventQueue.java:499)
      at java.awt.EventQueue$3.run(EventQueue.java:498)
      at java.security.AccessController.doPrivileged(AccessController.java:-1)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:496)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

      "AWT-Windows@227" daemon prio=6 tid=0xb nid=NA waiting for monitor entry
      java.lang.Thread.State: BLOCKED
      locked <0x248> (a java.util.LinkedList)
      waiting for AWT-EventQueue-0@251 to release lock on <0x22d> (a java.awt.DefaultKeyboardFocusManager)
      at java.awt.DefaultKeyboardFocusManager.enqueueKeyEvents(DefaultKeyboardFocusManager.java:1075)
      at java.awt.KeyboardFocusManager.heavyweightButtonDown(KeyboardFocusManager.java:2434)
      at java.awt.KeyboardFocusManager.heavyweightButtonDown(KeyboardFocusManager.java:2373)
      at sun.awt.windows.WToolkit.eventLoop(WToolkit.java:-1)
      at sun.awt.windows.WToolkit.run(WToolkit.java:261)
      at java.lang.Thread.run(Thread.java:657)

        Attachments

          Activity

            People

            Assignee:
            mcherkas Mikhail Cherkasov (Inactive)
            Reporter:
            mcherkas Mikhail Cherkasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: