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

sun/java2d/DirectX/InfiniteValidationLoopTest/InfiniteValidationLoopTest.java fails by time out

XMLWordPrintable

    • 2d
    • x86
    • other

      FULL PRODUCT VERSION :
      JDK under test: C:\\Java\\jdk1.8.0_112
      java version "1.8.0_112"
      Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
      Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 10.0.14393]

      A DESCRIPTION OF THE PROBLEM :
      The test sun/java2d/DirectX/InfiniteValidationLoopTest/InfiniteValidationLoopTest.java fails by time out on Windows.
      It has never been observed on Linux, OSX.
      The issue can be reproduced with JDK8. The test passes successfully against JDK9.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      jtreg -v -a -xml -testjdk:C:/Java/jdk1.8.0_112 -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 test/sun/java2d/DirectX/InfiniteValidationLoopTest/InfiniteValidationLoopTest.java


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #section:main
      ----------messages:(125/7174)----------
      command: main -Dsun.java2d.d3d=false InfiniteValidationLoopTest
      reason: User specified action: run main/othervm -Dsun.java2d.d3d=false InfiniteValidationLoopTest
      Mode: othervm [/othervm specified]
      Timeout information:
      Running jstack on process 3188
      2017-01-17 15:33:16
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.112-b15 mixed mode):

      "AWT-EventQueue-0" #16 prio=6 os_prio=0 tid=0x00000000167ad000 nid=0xa8 waiting on condition [0x00000000179ae000]
         java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)
      - parking to wait for <0x00000000ead72288> (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.awt.EventQueue.getNextEvent(EventQueue.java:554)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:170)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

      "AWT-Windows" #14 daemon prio=6 os_prio=0 tid=0x000000001679a000 nid=0x1b48 runnable [0x00000000177cf000]
         java.lang.Thread.State: RUNNABLE
      at sun.awt.windows.WToolkit.eventLoop(Native Method)
      at sun.awt.windows.WToolkit.run(WToolkit.java:306)
      at java.lang.Thread.run(Thread.java:745)

      "AWT-Shutdown" #13 prio=5 os_prio=0 tid=0x0000000016793800 nid=0xaa8 in Object.wait() [0x00000000176ce000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000000ead8c450> (a java.lang.Object)
      at java.lang.Object.wait(Object.java:502)
      at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:295)
      - locked <0x00000000ead8c450> (a java.lang.Object)
      at java.lang.Thread.run(Thread.java:745)

      "Java2D Disposer" #12 daemon prio=10 os_prio=2 tid=0x0000000016790800 nid=0x16b0 in Object.wait() [0x00000000175ce000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000000ead871a0> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
      - locked <0x00000000ead871a0> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
      at sun.java2d.Disposer.run(Disposer.java:148)
      at java.lang.Thread.run(Thread.java:745)

      "MainThread" #11 prio=5 os_prio=0 tid=0x0000000016475000 nid=0x1290 waiting on condition [0x0000000016abe000]
         java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)
      - parking to wait for <0x00000000eae29330> (a java.util.concurrent.CountDownLatch$Sync)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
      at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
      at InfiniteValidationLoopTest.main(InfiniteValidationLoopTest.java:107)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(Thread.java:745)

      "Service Thread" #9 daemon prio=9 os_prio=0 tid=0x00000000163ec800 nid=0x1410 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "C1 CompilerThread2" #8 daemon prio=9 os_prio=2 tid=0x0000000014a74000 nid=0x8f4 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "C2 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x0000000014a70000 nid=0x14a8 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x0000000014a6e000 nid=0x13dc waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x0000000014a6a800 nid=0x1d9c waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

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

      "Finalizer" #3 daemon prio=8 os_prio=1 tid=0x00000000022eb000 nid=0x1ed4 in Object.wait() [0x0000000015dcf000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000000eab08e98> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
      - locked <0x00000000eab08e98> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
      at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

      "Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x00000000022e0000 nid=0x1fe0 in Object.wait() [0x0000000015ccf000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000000eab06b40> (a java.lang.ref.Reference$Lock)
      at java.lang.Object.wait(Object.java:502)
      at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
      - locked <0x00000000eab06b40> (a java.lang.ref.Reference$Lock)
      at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

      "main" #1 prio=5 os_prio=0 tid=0x000000000239d800 nid=0x1a8c in Object.wait() [0x000000000219f000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      - waiting on <0x00000000eab98fa0> (a java.lang.Thread)
      at java.lang.Thread.join(Thread.java:1249)
      - locked <0x00000000eab98fa0> (a java.lang.Thread)
      at java.lang.Thread.join(Thread.java:1323)
      at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:74)

      "VM Thread" os_prio=2 tid=0x0000000014a37800 nid=0x1a04 runnable

      "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x0000000002207000 nid=0x420 runnable

      "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x0000000002208800 nid=0x1c38 runnable

      "GC task thread#2 (ParallelGC)" os_prio=0 tid=0x000000000220a000 nid=0x1e7c runnable

      "GC task thread#3 (ParallelGC)" os_prio=0 tid=0x000000000220b800 nid=0x1d1c runnable

      "VM Periodic Task Thread" os_prio=2 tid=0x0000000016417000 nid=0xf2c waiting on condition

      JNI global references: 477

      --- Timeout information end.
      elapsed time (seconds): 240.258

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/0e4fc29a5ce4/test/sun/java2d/DirectX/InfiniteValidationLoopTest/InfiniteValidationLoopTest.java
      ---------- END SOURCE ----------

            fmatte Fairoz Matte
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: