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

java/awt/dnd/NoFormatsCrashTest/NoFormatsCrashTest.html fails by time out

XMLWordPrintable

    • x86
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      $ uname -a
      Darwin unit-929 18.0.0 Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64 x86_64

      $ java -version
      java version "10.0.2" 2018-07-17
      Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
      Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)


      A DESCRIPTION OF THE PROBLEM :
      The test java/awt/dnd/NoFormatsCrashTest/NoFormatsCrashTest.html fails by time out. The issue can be reproduced in 100% cases on Mac OSX Mojave. Sometimes it is also observed on Linux Ubuntu/KUbuntu 18.04.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ jtreg -ignore:quiet -v -a -xml -testjdk:"/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home" java/awt/dnd/NoFormatsCrashTest/NoFormatsCrashTest.html

      ACTUAL -
      #section:applet
      ----------messages:(197/11245)----------
      command: applet NoFormatsCrashTest.html
      reason: User specified action: run applet NoFormatsCrashTest.html
      Timeout information:
      Running jstack on process 3909
      2018-10-31 10:55:13
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (10.0.2+13 mixed mode):

      Threads class SMR info:
      _java_thread_list=0x00007f98e010ad00, length=20, elements={
      0x00007f98df80a000, 0x00007f98de825000, 0x00007f98df817000, 0x00007f98de812000,
      0x00007f98de81e000, 0x00007f98df825000, 0x00007f98df0a2000, 0x00007f98df0a2800,
      0x00007f98df0a3800, 0x00007f98df844000, 0x00007f98df888000, 0x00007f98df889800,
      0x00007f98df88f000, 0x00007f98df937800, 0x00007f98df949000, 0x00007f98df989800,
      0x00007f98df9dd000, 0x00007f98df356000, 0x00007f98dec21000, 0x00007f98e200b000
      }

      "main" #1 prio=5 os_prio=31 tid=0x00007f98df80a000 nid=0x1e03 in Object.wait() [0x0000700005468000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@10.0.2/Native Method)
      - waiting on <0x00000007bfeccd88> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@10.0.2/Thread.java:1353)
      - waiting to re-lock in wait() <0x00000007bfeccd88> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@10.0.2/Thread.java:1427)
      at com.sun.javatest.regtest.agent.AppletWrapper.main(AppletWrapper.java:106)

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

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

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

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

      "C2 CompilerThread1" #6 daemon prio=9 os_prio=31 tid=0x00007f98df825000 nid=0x6603 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread2" #7 daemon prio=9 os_prio=31 tid=0x00007f98df0a2000 nid=0x9b03 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

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

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

      "Service Thread" #10 daemon prio=9 os_prio=31 tid=0x00007f98df844000 nid=0x9603 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

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

      "AppletThread" #12 prio=5 os_prio=31 tid=0x00007f98df889800 nid=0x9403 waiting on condition [0x00007000075cb000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
      at java.lang.Thread.sleep(java.base@10.0.2/Native Method)
      at ProcessResults.doWaitFor(NoFormatsCrashTest.java:339)
      at NoFormatsCrashTest.start(NoFormatsCrashTest.java:173)
      at com.sun.javatest.regtest.agent.AppletWrapper$AppletRunnable.run(AppletWrapper.java:157)
      at java.lang.Thread.run(java.base@10.0.2/Thread.java:844)

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

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

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

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

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

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

      "process reaper" #19 daemon prio=10 os_prio=31 tid=0x00007f98dec21000 nid=0x17203 runnable [0x0000700007e13000]
         java.lang.Thread.State: RUNNABLE
      at java.lang.ProcessHandleImpl.waitForProcessExit0(java.base@10.0.2/Native Method)
      at java.lang.ProcessHandleImpl.access$000(java.base@10.0.2/ProcessHandleImpl.java:50)
      at java.lang.ProcessHandleImpl$1.run(java.base@10.0.2/ProcessHandleImpl.java:138)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@10.0.2/ThreadPoolExecutor.java:1135)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@10.0.2/ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(java.base@10.0.2/Thread.java:844)

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

      "VM Thread" os_prio=31 tid=0x00007f98df07e800 nid=0x5703 runnable

      "GC Thread#0" os_prio=31 tid=0x00007f98df812800 nid=0x5103 runnable

      "GC Thread#1" os_prio=31 tid=0x00007f98df81d000 nid=0x5003 runnable

      "GC Thread#2" os_prio=31 tid=0x00007f98df81e000 nid=0x4e03 runnable

      "GC Thread#3" os_prio=31 tid=0x00007f98df81e800 nid=0x4d03 runnable

      "GC Thread#4" os_prio=31 tid=0x00007f98df00c800 nid=0x4b03 runnable

      "GC Thread#5" os_prio=31 tid=0x00007f98df00d800 nid=0x4903 runnable

      "GC Thread#6" os_prio=31 tid=0x00007f98df00e000 nid=0x4803 runnable

      "GC Thread#7" os_prio=31 tid=0x00007f98df81f800 nid=0x3003 runnable

      "G1 Main Marker" os_prio=31 tid=0x00007f98de809000 nid=0x3103 runnable

      "G1 Conc#0" os_prio=31 tid=0x00007f98de80a000 nid=0x3403 runnable

      "G1 Conc#1" os_prio=31 tid=0x00007f98de80a800 nid=0x4403 runnable

      "G1 Refine#0" os_prio=31 tid=0x00007f98df04f000 nid=0x3503 runnable

      "G1 Refine#1" os_prio=31 tid=0x00007f98df04f800 nid=0x3603 runnable

      "G1 Refine#2" os_prio=31 tid=0x00007f98df820000 nid=0x3703 runnable

      "G1 Refine#3" os_prio=31 tid=0x00007f98df821000 nid=0x3803 runnable

      "G1 Refine#4" os_prio=31 tid=0x00007f98de80b800 nid=0x3a03 runnable

      "G1 Refine#5" os_prio=31 tid=0x00007f98df821800 nid=0x3e03 runnable

      "G1 Refine#6" os_prio=31 tid=0x00007f98df822800 nid=0x3d03 runnable

      "G1 Refine#7" os_prio=31 tid=0x00007f98df050800 nid=0x5503 runnable

      "G1 Young RemSet Sampling" os_prio=31 tid=0x00007f98df823800 nid=0xa903 runnable
      "VM Periodic Task Thread" os_prio=31 tid=0x00007f98df888800 nid=0x6e03 waiting on condition

      JNI global references: 149

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/dnd/NoFormatsCrashTest
      ---------- END SOURCE ----------

      FREQUENCY : always


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: