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

[macos] NoDataConversionFailureTest.html times out and does not terminate

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 10, 11
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
      None

      Description

      java/awt/Clipboard/NoDataConversionFailureTest/NoDataConversionFailureTest.html reliably (!) times out on Mac.
      This has been reported before .. in at least one other still open bug
      https://bugs.openjdk.java.net/browse/JDK-8000628
      but that bug mentions multiple failures and this one needs particular
      attention since the test does not get terminated .. a window is still there,
      iconified and in the task bar.

      Stack dump looks like this


      "main" #1 prio=5 os_prio=31 tid=0x00007fd3a2801800 nid=0x2203 in Object.wait() [0x00000001053a0000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base/Native Method)
      - waiting on <0x00000007ff93cb68> (a java.lang.Thread)
      at java.lang.Thread.join(java.base/Thread.java:1343)
      - waiting to re-lock in wait() <0x00000007ff93cb68> (a java.lang.Thread)
      at java.lang.Thread.join(java.base/Thread.java:1417)
      at com.sun.javatest.regtest.agent.AppletWrapper.main(AppletWrapper.java:106)

      "Reference Handler" #2 daemon prio=10 os_prio=31 tid=0x00007fd3a2021000 nid=0x3b03 waiting on condition [0x000070000e16c000]
         java.lang.Thread.State: RUNNABLE
      at java.lang.ref.Reference.waitForReferencePendingList(java.base/Native Method)
      at java.lang.ref.Reference.processPendingReferences(java.base/Reference.java:166)
      at java.lang.ref.Reference.access$000(java.base/Reference.java:44)
      at java.lang.ref.Reference$ReferenceHandler.run(java.base/Reference.java:138)

      "Finalizer" #3 daemon prio=8 os_prio=31 tid=0x00007fd3a200d800 nid=0x3e03 in Object.wait() [0x000070000e26f000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base/Native Method)
      - waiting on <0x00000007fff09148> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000007fff09148> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base/ReferenceQueue.java:172)
      at java.lang.ref.Finalizer$FinalizerThread.run(java.base/Finalizer.java:170)

      "Signal Dispatcher" #4 daemon prio=9 os_prio=31 tid=0x00007fd3a281a000 nid=0x4f03 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "C2 CompilerThread0" #5 daemon prio=9 os_prio=31 tid=0x00007fd3a283c000 nid=0x5203 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C1 CompilerThread0" #8 daemon prio=9 os_prio=31 tid=0x00007fd3a283c800 nid=0x5503 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "Sweeper thread" #9 daemon prio=9 os_prio=31 tid=0x00007fd3a200f000 nid=0x5803 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Common-Cleaner" #10 daemon prio=8 os_prio=31 tid=0x00007fd3a201c800 nid=0x5b03 in Object.wait() [0x000070000e77e000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base/Native Method)
      - waiting on <no object reference available>
      at java.lang.ref.ReferenceQueue.remove(java.base/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000007fff294f8> (a java.lang.ref.ReferenceQueue$Lock)
      at jdk.internal.ref.CleanerImpl.run(java.base/CleanerImpl.java:148)
      at java.lang.Thread.run(java.base/Thread.java:832)
      at jdk.internal.misc.InnocuousThread.run(java.base/InnocuousThread.java:134)

      "Service Thread" #11 daemon prio=9 os_prio=31 tid=0x00007fd3a1899800 nid=0x6403 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "AppletThread" #12 prio=5 os_prio=31 tid=0x00007fd3a11da800 nid=0x6903 waiting on condition [0x000070000ec8d000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
      at java.lang.Thread.sleep(java.base/Native Method)
      at ProcessResults.doWaitFor(NoDataConversionFailureTest.java:253)
      at SystemClipboardbOwner.run(NoDataConversionFailureTest.java:140)
      at NoDataConversionFailureTest.start(NoDataConversionFailureTest.java:66)
      at com.sun.javatest.regtest.agent.AppletWrapper$AppletRunnable.run(AppletWrapper.java:157)
      at java.lang.Thread.run(java.base/Thread.java:832)

      "AppKit Thread" #13 daemon prio=5 os_prio=31 tid=0x00007fd3a2a5b800 nid=0x307 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "AWT-Shutdown" #14 prio=5 os_prio=31 tid=0x00007fd3a2a97000 nid=0x9503 in Object.wait() [0x000070000ed90000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base/Native Method)
      - waiting on <0x00000007ff5f6248> (a java.lang.Object)
      at java.lang.Object.wait(java.base/Object.java:328)
      at sun.awt.AWTAutoShutdown.run(java.desktop/AWTAutoShutdown.java:291)
      - waiting to re-lock in wait() <0x00000007ff5f6248> (a java.lang.Object)
      at java.lang.Thread.run(java.base/Thread.java:832)

      "Java2D Queue Flusher" #15 daemon prio=10 os_prio=31 tid=0x00007fd3a146f000 nid=0xfd03 in Object.wait() [0x000070000f122000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base/Native Method)
      - waiting on <no object reference available>
      at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(java.desktop/OGLRenderQueue.java:205)
      - waiting to re-lock in wait() <0x00000007ff5e0be0> (a sun.java2d.opengl.OGLRenderQueue$QueueFlusher)
      at java.lang.Thread.run(java.base/Thread.java:832)

      "Java2D Disposer" #16 daemon prio=10 os_prio=31 tid=0x00007fd3a2935800 nid=0x10b03 in Object.wait() [0x000070000f225000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base/Native Method)
      - waiting on <0x00000007ff5e6c28> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000007ff5e6c28> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base/ReferenceQueue.java:172)
      at sun.java2d.Disposer.run(java.desktop/Disposer.java:144)
      at java.lang.Thread.run(java.base/Thread.java:832)

      "AWT-EventQueue-0" #17 prio=6 os_prio=31 tid=0x00007fd3a2323800 nid=0x10d27 waiting on condition [0x000070000f328000]
         java.lang.Thread.State: WAITING (parking)
      at jdk.internal.misc.Unsafe.park(java.base/Native Method)
      - parking to wait for <0x00000007ff51a678> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.park(java.base/LockSupport.java:194)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base/AbstractQueuedSynchronizer.java:2081)
      at java.awt.EventQueue.getNextEvent(java.desktop/EventQueue.java:566)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(java.desktop/EventDispatchThread.java:190)
      at java.awt.EventDispatchThread.pumpEventsForFilter(java.desktop/EventDispatchThread.java:124)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(java.desktop/EventDispatchThread.java:113)
      at java.awt.EventDispatchThread.pumpEvents(java.desktop/EventDispatchThread.java:109)
      at java.awt.EventDispatchThread.pumpEvents(java.desktop/EventDispatchThread.java:101)
      at java.awt.EventDispatchThread.run(java.desktop/EventDispatchThread.java:90)

      "TimerQueue" #18 daemon prio=5 os_prio=31 tid=0x00007fd3a15a8800 nid=0x12f07 waiting on condition [0x000070000e881000]
         java.lang.Thread.State: WAITING (parking)
      at jdk.internal.misc.Unsafe.park(java.base/Native Method)
      - parking to wait for <0x00000007feeb0840> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.park(java.base/LockSupport.java:194)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base/AbstractQueuedSynchronizer.java:2081)
      at java.util.concurrent.DelayQueue.take(java.base/DelayQueue.java:217)
      at javax.swing.TimerQueue.run(java.desktop/TimerQueue.java:171)
      at java.lang.Thread.run(java.base/Thread.java:832)

      "process reaper" #19 daemon prio=10 os_prio=31 tid=0x00007fd3a26cc000 nid=0x1343f runnable [0x000070000e8a8000]
         java.lang.Thread.State: RUNNABLE
      at java.lang.ProcessHandleImpl.waitForProcessExit0(java.base/Native Method)
      at java.lang.ProcessHandleImpl.access$000(java.base/ProcessHandleImpl.java:50)
      at java.lang.ProcessHandleImpl$1.run(java.base/ProcessHandleImpl.java:138)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base/ThreadPoolExecutor.java:1128)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base/ThreadPoolExecutor.java:628)
      at java.lang.Thread.run(java.base/Thread.java:832)

      "Attach Listener" #20 daemon prio=9 os_prio=31 tid=0x00007fd3a2327000 nid=0xab07 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "VM Thread" os_prio=31 tid=0x00007fd3a10be800 nid=0x3803 runnable

      "GC Thread#0" os_prio=31 tid=0x00007fd3a280d800 nid=0x2c03 runnable

      "G1 Main Marker" os_prio=31 tid=0x00007fd3a180e800 nid=0x2e03 runnable

      "G1 Conc#0" os_prio=31 tid=0x00007fd3a1008800 nid=0x3203 runnable

      "G1 Refine#0" os_prio=31 tid=0x00007fd3a1069800 nid=0x3403 runnable

      "G1 Young RemSet Sampling" os_prio=31 tid=0x00007fd3a106a000 nid=0x3603 runnable
      "VM Periodic Task Thread" os_prio=31 tid=0x00007fd3a281a800 nid=0x6603 waiting on condition

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prr Philip Race
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: