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

FunctionKeyTest.java fails on Linux - EDT blocked in CyclicBarrier

XMLWordPrintable

    • generic
    • linux

      The test fails with the following log on Linux in 8u

      ----------System.out:(7/94)----------
      frame.windowActivated
      e.id=1004
      e.id=403
      e.id=403
      e.id=404
      e.id=403
      Timeout refired 240 times
      ----------System.err:(1/86)----------

      "MainThread" #11 prio=5 os_prio=0 tid=0x0000790754148000 nid=0x11771 in Object.wait() [0x0000790718b25000]
         java.lang.Thread.State: WAITING (on object monitor)
              at java.lang.Object.wait(Native Method)
              - waiting on <0x00000000f5b60a50> (a java.awt.EventQueue$1AWTInvocationLock)
              at java.lang.Object.wait(Object.java:502)
              at java.awt.EventQueue.invokeAndWait(EventQueue.java:1343)
              - locked <0x00000000f5b60a50> (a java.awt.EventQueue$1AWTInvocationLock)
              at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
              at FunctionKeyTest.main(FunctionKeyTest.java:111)
              at …
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
              at java.lang.Thread.run(Thread.java:750)

      "AWT-EventQueue-0" #15 prio=6 os_prio=0 tid=0x00007906f0137800 nid=0x11776 waiting on condition [0x0000790718348000]
         java.lang.Thread.State: WAITING (parking)
              at sun.misc.Unsafe.park(Native Method)
              - parking to wait for <0x00000000f5951ec0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
              at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
              at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
              at java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:234)
              at java.util.concurrent.CyclicBarrier.await(CyclicBarrier.java:362)
              at FunctionKeyTest$FunctionKeyTester.handleEvent(FunctionKeyTest.java:163)
              at java.awt.Window.postEvent(Window.java:2755)
              at java.awt.Component.postEvent(Component.java:5204)
              at java.awt.Component.dispatchEventImpl(Component.java:4905)
              at java.awt.Component.dispatchEvent(Component.java:4711)
              at …
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: