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

[TEST_BUG] java/awt/print/PrinterJob/LandscapeStackOverflow.java fails by timeout

    XMLWordPrintable

Details

    • 2d
    • x86_64
    • windows_10

    Description

      ADDITIONAL SYSTEM INFORMATION :
      Microsoft Windows [Version 10.0.17134.165]

      JDK under test: C:\\Program Files\\Java\\jdk-10.0.2
      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/print/PrinterJob/LandscapeStackOverflow.java fails on Windows by timeout.
      The issue was not observed on Linux, MacOSX

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      >java -jar jtreg\lib\jtreg.jar -ignore:quiet -v -a -xml -testjdk:"C:\Program Files\Java\jdk-10.0.2" -javaoptions:"-Djava.awt.headless=false" test\java\awt\print\PrinterJob\LandscapeStackOverflow.java

      ACTUAL -
      #section:main
      ----------messages:(163/8798)----------
      command: main LandscapeStackOverflow
      reason: User specified action: run main LandscapeStackOverflow
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      Timeout information:
      Running jstack on process 12952
      2018-07-19 17:05:40
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (10.0.2+13 mixed mode):

      Threads class SMR info:
      _java_thread_list=0x000001c74497a650, length=16, elements={
      0x000001c71af52000, 0x000001c74213a800, 0x000001c742143000, 0x000001c74219f000,
      0x000001c74219f800, 0x000001c7421a4800, 0x000001c7421a7800, 0x000001c7421a9800,
      0x000001c7421aa000, 0x000001c7421bb000, 0x000001c742758000, 0x000001c742756800,
      0x000001c742759000, 0x000001c74275b800, 0x000001c742757800, 0x000001c742756000
      }

      "main" #1 prio=5 os_prio=0 tid=0x000001c71af52000 nid=0x2e7c in Object.wait() [0x000000649fbfe000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@10.0.2/Native Method)
      - waiting on <0x00000006d1d5f210> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@10.0.2/Thread.java:1353)
      - waiting to re-lock in wait() <0x00000006d1d5f210> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@10.0.2/Thread.java:1427)
      at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:74)

      "Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x000001c74213a800 nid=0x1df8 waiting on condition [0x00000064a11fe000]
         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=1 tid=0x000001c742143000 nid=0xe68 in Object.wait() [0x00000064a12ff000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@10.0.2/Native Method)
      - waiting on <0x00000006d1f09410> (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() <0x00000006d1f09410> (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=2 tid=0x000001c74219f000 nid=0x344c runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

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

      "C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x000001c7421a4800 nid=0xd84 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x000001c7421a7800 nid=0x2694 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread2" #8 daemon prio=9 os_prio=2 tid=0x000001c7421a9800 nid=0x2e14 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

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

      "Sweeper thread" #10 daemon prio=9 os_prio=2 tid=0x000001c7421bb000 nid=0xff0 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

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

      "Common-Cleaner" #12 daemon prio=8 os_prio=1 tid=0x000001c742756800 nid=0x2b04 in Object.wait() [0x00000064a1cfe000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base@10.0.2/Native Method)
      - waiting on <0x00000006d1ee5e38> (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() <0x00000006d1ee5e38> (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)

      "MainThread" #14 prio=5 os_prio=0 tid=0x000001c742759000 nid=0x23ec runnable [0x00000064a1dfe000]
         java.lang.Thread.State: RUNNABLE
      at sun.awt.windows.WPrinterJob._startDoc(java.desktop@10.0.2/Native Method)
      at sun.awt.windows.WPrinterJob.startDoc(java.desktop@10.0.2/WPrinterJob.java:1376)
      at sun.print.RasterPrinterJob.print(java.desktop@10.0.2/RasterPrinterJob.java:1586)
      at LandscapeStackOverflow.main(LandscapeStackOverflow.java:53)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@10.0.2/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@10.0.2/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@10.0.2/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@10.0.2/Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.lang.Thread.run(java.base@10.0.2/Thread.java:844)

      "Java2D Disposer" #15 daemon prio=10 os_prio=2 tid=0x000001c74275b800 nid=0x1120 in Object.wait() [0x00000064a1eff000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@10.0.2/Native Method)
      - waiting on <0x00000006d1a07c58> (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() <0x00000006d1a07c58> (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-Windows" #17 daemon prio=6 os_prio=0 tid=0x000001c742757800 nid=0x1a14 runnable [0x00000064a20ff000]
         java.lang.Thread.State: RUNNABLE
      at sun.awt.windows.WToolkit.eventLoop(java.desktop@10.0.2/Native Method)
      at sun.awt.windows.WToolkit.run(java.desktop@10.0.2/WToolkit.java:301)
      at java.lang.Thread.run(java.base@10.0.2/Thread.java:844)

      "PrinterListener" #19 daemon prio=5 os_prio=0 tid=0x000001c742756000 nid=0x2ad4 runnable [0x00000064a24fe000]
         java.lang.Thread.State: RUNNABLE
      at sun.print.PrintServiceLookupProvider.notifyPrinterChange(java.desktop@10.0.2/Native Method)
      at sun.print.PrintServiceLookupProvider.access$100(java.desktop@10.0.2/PrintServiceLookupProvider.java:50)
      at sun.print.PrintServiceLookupProvider$PrinterChangeListener.run(java.desktop@10.0.2/PrintServiceLookupProvider.java:331)
      at java.lang.Thread.run(java.base@10.0.2/Thread.java:844)

      "VM Thread" os_prio=2 tid=0x000001c742136800 nid=0x62c runnable

      "GC Thread#0" os_prio=2 tid=0x000001c71af69000 nid=0x324c runnable

      "GC Thread#1" os_prio=2 tid=0x000001c71af6a800 nid=0x1458 runnable

      "GC Thread#2" os_prio=2 tid=0x000001c71af6e000 nid=0x2c84 runnable

      "GC Thread#3" os_prio=2 tid=0x000001c71af70800 nid=0x32fc runnable

      "GC Thread#4" os_prio=2 tid=0x000001c71af71800 nid=0x33cc runnable

      "GC Thread#5" os_prio=2 tid=0x000001c71af79800 nid=0x18a4 runnable

      "GC Thread#6" os_prio=2 tid=0x000001c71af7f000 nid=0x1a40 runnable

      "GC Thread#7" os_prio=2 tid=0x000001c71af81000 nid=0x5ec runnable

      "G1 Main Marker" os_prio=2 tid=0x000001c71afd1000 nid=0x1b18 runnable

      "G1 Conc#0" os_prio=2 tid=0x000001c71afd2000 nid=0x2c9c runnable

      "G1 Conc#1" os_prio=2 tid=0x000001c71afd3800 nid=0xf18 runnable

      "G1 Refine#0" os_prio=2 tid=0x000001c71b02e000 nid=0x2d18 runnable

      "G1 Refine#1" os_prio=2 tid=0x000001c73ee1e800 nid=0x1890 runnable

      "G1 Refine#2" os_prio=2 tid=0x000001c73ee1f000 nid=0x2ff0 runnable

      "G1 Refine#3" os_prio=2 tid=0x000001c73ee20000 nid=0x548 runnable

      "G1 Refine#4" os_prio=2 tid=0x000001c73ee2b000 nid=0x3218 runnable

      "G1 Refine#5" os_prio=2 tid=0x000001c73ee2d000 nid=0x2c70 runnable

      "G1 Refine#6" os_prio=2 tid=0x000001c73ee38800 nid=0x238c runnable

      "G1 Refine#7" os_prio=2 tid=0x000001c73ee39000 nid=0x1fc runnable

      "G1 Young RemSet Sampling" os_prio=2 tid=0x000001c73ee3a000 nid=0x22b8 runnable
      "VM Periodic Task Thread" os_prio=2 tid=0x000001c74247d800 nid=0x1444 waiting on condition

      JNI global references: 23

      --- Timeout information end.
      elapsed time (seconds): 120.46
      ----------configuration:(3/43)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(1/37)----------
      Timeout signalled after 120 seconds

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/print/PrinterJob/LandscapeStackOverflow.java
      ---------- END SOURCE ----------

      FREQUENCY : always


      Attachments

        Issue Links

          Activity

            People

              psadhukhan Prasanta Sadhukhan
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: