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

Some serviceability/sa/ tests intermittently fail with java.io.IOException: LingeredApp terminated with non-zero exit code 3

XMLWordPrintable

    • b16
    • generic
    • windows

         Test serviceability/sa/ClhsdbWhere.java failed once in Windows with following log:
        ----------System.out:(105/4081)----------
        Starting ClhsdbWhere test
        Started LingeredApp with pid 9792
        Starting clhsdb against 9792
        Warning! JS Engine can't start, some commands will not be available.
        hsdb> Thread 21 Address: 0x000000e5b1c24800

        Java Stack Trace for Common-Cleaner
        Thread state = BLOCKED
         - public final native void wait(long) @0x000000e5b0ab0d70 @bci = 0, pc = 0x000000e5951b7f84 (Interpreted)
        - waiting on <0x00000007dc0b4648> (a java.lang.ref.ReferenceQueue$Lock)
         - public java.lang.ref.Reference remove(long) [signature (J)Ljava.lang.ref.Reference<+TT;>;] @0x000000e5b0ae9be0 @bci = 59, line = 151, pc = 0x000000e5951aa487, oop = 0x00000007dc0b4628 (Interpreted)
        - waiting to re-lock in wait() <0x00000007dc0b4648> (a java.lang.ref.ReferenceQueue$Lock)
         - public void run() @0x000000e5b0de48d0 @bci = 65, line = 148, pc = 0x000000e5951aa1e0, oop = 0x00000007dc0b4608 (Interpreted)

         - public void run() @0x000000e5b0aed1b8 @bci = 11, line = 832, pc = 0x000000e5951aa4cc, oop = 0x00000007dc0b5088 (Interpreted)

         - public void run() @0x000000e5b0dea5d0 @bci = 20, line = 134, pc = 0x000000e5951aa487, oop = 0x00000007dc0b5088 (Interpreted)


        Thread 19 Address: 0x000000e5b1c13000

        Java Stack Trace for Service Thread
        Thread state = BLOCKED

        Thread 18 Address: 0x000000e5b1be2000

        Java Stack Trace for C1 CompilerThread4
        Thread state = BLOCKED

        Thread 17 Address: 0x000000e5b1be1000

        Java Stack Trace for C1 CompilerThread3
        Thread state = BLOCKED

        Thread 16 Address: 0x000000e5b1ba8800

        Java Stack Trace for C1 CompilerThread2
        Thread state = BLOCKED

        Thread 15 Address: 0x000000e5b089b000

        Java Stack Trace for C1 CompilerThread1
        Thread state = BLOCKED

        Thread 14 Address: 0x000000e5b0619800

        Java Stack Trace for Sweeper thread
        Thread state = BLOCKED

        Thread 13 Address: 0x000000e5b0614000

        Java Stack Trace for C1 CompilerThread0
        Thread state = BLOCKED

        Thread 12 Address: 0x000000e5b0612800

        Java Stack Trace for C2 CompilerThread0
        Thread state = BLOCKED

        Thread 11 Address: 0x000000e5b0611800

        Java Stack Trace for Attach Listener
        Thread state = BLOCKED

        Thread 10 Address: 0x000000e5b0610800

        Java Stack Trace for Signal Dispatcher
        Thread state = BLOCKED

        Thread 9 Address: 0x000000e5b05ee800

        Java Stack Trace for Finalizer
        Thread state = BLOCKED
         - public final native void wait(long) @0x000000e5b0ab0d70 @bci = 0, pc = 0x000000e5951b7f84 (Interpreted)
        - waiting on <0x00000007dc1090d8> (a java.lang.ref.ReferenceQueue$Lock)
         - public java.lang.ref.Reference remove(long) [signature (J)Ljava.lang.ref.Reference<+TT;>;] @0x000000e5b0ae9be0 @bci = 59, line = 151, pc = 0x000000e5951aa487, oop = 0x00000007dc1090b8 (Interpreted)
        - waiting to re-lock in wait() <0x00000007dc1090d8> (a java.lang.ref.ReferenceQueue$Lock)
         - public java.lang.ref.Reference remove() [signature ()Ljava.lang.ref.Reference<+TT;>;] @0x000000e5b0ae9ca0 @bci = 2, line = 172, pc = 0x000000e5951aa1e0, oop = 0x00000007dc1090b8 (Interpreted)

         - public void run() @0x000000e5b0c18e40 @bci = 37, line = 170, pc = 0x000000e5951aa1e0, oop = 0x00000007dc109190 (Interpreted)


        Thread 8 Address: 0x000000e5b05ed000

        Java Stack Trace for Reference Handler
        Thread state = BLOCKED
         - private static native void waitForReferencePendingList() @0x000000e5b0ae66d8 @bci = 0, pc = 0x000000e5951b7f84 (Interpreted)

         - private static void processPendingReferences() @0x000000e5b0ae6890 @bci = 0, line = 166, pc = 0x000000e5951aa487 (Interpreted)

         - static [synthetic] void access$000() @0x000000e5b0ae6ff0 @bci = 0, line = 44, pc = 0x000000e5951aa487 (Interpreted)

         - public void run() @0x000000e5b0c126f8 @bci = 0, line = 138, pc = 0x000000e5951aa487, oop = 0x00000007dc108bb8 (Interpreted)


        Thread 1 Address: 0x000000e58bb3e000

        Java Stack Trace for main
        Thread state = BLOCKED
         - public static native void sleep(long) @0x000000e5b0aec138 @bci = 0, pc = 0x000000e5951b7f84 (Interpreted)

         - public static void main(java.lang.String[]) @0x000000e5b0eb3d40 @bci = 53, line = 498, pc = 0x000000e5951aa487 (Interpreted)


        hsdb>
        ----------System.err:(19/1695)*----------
        Command line: ['C:\\ade\\sbr\\12\\windows-x64\\jdk-tested\\jdk-11\\fastdebug/bin/java' '-XX:MaxRAMPercentage=2' '-cp' 'C:\\ade\\sbr\\12\\windows-x64\\results\\run_81\\tier1\\JTwork\\hotspot_jtreg_0\\classes\\11\\serviceability\\sa\\ClhsdbWhere.d;C:\\ade\\sbr\\12\\windows-x64\\results\\run_81\\tier1\\JTwork\\hotspot_jtreg_0\\classes\\11\\test\\lib' 'jdk.test.lib.apps.LingeredApp' '9f92965f-4164-4eff-8bb2-194eb7a04a2f.lck' ]
        Attaching to process 9792, please wait...
        javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
        javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
        java.io.IOException: LingeredApp terminated with non-zero exit code 3
        at jdk.test.lib.apps.LingeredApp.stopApp(LingeredApp.java:381)
        at jdk.test.lib.apps.LingeredApp.stopApp(LingeredApp.java:441)
        at ClhsdbWhere.main(ClhsdbWhere.java:68)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:832)

        JavaTest Message: Test threw exception: java.io.IOException: LingeredApp terminated with non-zero exit code 3
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.io.IOException: LingeredApp terminated with non-zero exit code 3

              gadams Gary Adams (Inactive)
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: