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

NestedThreadsListHandleInErrorHandlingTest fails because hs_err doesn't contain _nested_thread_list_max



    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:




        failed once during stabilization testing with
        Found fatal error header.
        Found specific fatal error.
        Found hs_err_pid file. Scanning...
        Found: Current thread (0x00007ff5d001a800): JavaThread "main" [_thread_in_vm, id=3708, stack(0x00007ff5d7ca9000,0x00007ff5d7daa000)] _threads_hazard_ptr=0x00007ff5d0324120, _nested_threads_hazard_ptr_cnt=1, _nested_threads_hazard_ptr=0x00007ff5d0324120.
        Found: Threads class SMR info:.
        java.lang.RuntimeException: hs_err_pid file incomplete (first missing pattern: 2)
        at NestedThreadsListHandleInErrorHandlingTest.main(NestedThreadsListHandleInErrorHandlingTest.java:112)
        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:566)
        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.lang.RuntimeException: hs_err_pid file incomplete (first missing pattern: 2)
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: hs_err_pid file incomplete (first missing pattern: 2)

        The hs_err is
        # A fatal error has been detected by the Java Runtime Environment:
        # Internal Error (/scratch/opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S222/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ccc33594-3971-4f22-968d-37be3c1b8e54/runs/284e905b-27c5-473b-976d-3af07af1a981/workspace/open/src/hotspot/share/utilities/vmError.cpp:1736), pid=3707, tid=3708
        # fatal error: Force crash with a nested ThreadsListHandle.
        # JRE version: Java(TM) SE Runtime Environment (11.0+16) (fastdebug build 11-ea+16)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-ea+16, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
        # CreateCoredumpOnCrash turned off, no core file dumped
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp

        --------------- S U M M A R Y ------------

        Command Line: -XX:+UnlockDiagnosticVMOptions -Xmx100M -XX:ErrorHandlerTest=17 -XX:-CreateCoredumpOnCrash

        Host: scaaa755.us.oracle.com, Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 32 cores, 251G, Oracle Linux Server release 7.3
        Time: Thu Jun 14 07:46:20 2018 PDT elapsed time: 0 seconds (0d 0h 0m 0s)

        --------------- T H R E A D ---------------

        Current thread (0x00007ff5d001a800): JavaThread "main" [_thread_in_vm, id=3708, stack(0x00007ff5d7ca9000,0x00007ff5d7daa000)] _threads_hazard_ptr=0x00007ff5d0324120, _nested_threads_hazard_ptr_cnt=1, _nested_threads_hazard_ptr=0x00007ff5d0324120

        Stack: [0x00007ff5d7ca9000,0x00007ff5d7daa000], sp=0x00007ff5d7da8a80, free space=1022k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x186624f] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x25f
        V [libjvm.so+0x186706f] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
        V [libjvm.so+0xafcbb1] report_fatal(char const*, int, char const*, ...)+0x101
        V [libjvm.so+0x1865476] VMError::test_error_handler()+0x136
        V [libjvm.so+0xfee461] JNI_CreateJavaVM+0x2f1
        C [libjli.so+0x3e94] JavaMain+0x84

        --------------- P R O C E S S ---------------

        Threads class SMR info:
        _java_thread_list=0x00007ff5800fb7f0, length=10, elements={
        0x00007ff5d001a800, 0x00007ff5d0230000, 0x00007ff5d0232800, 0x00007ff5d0257000,
        0x00007ff5d0259800, 0x00007ff5d025c000, 0x00007ff5d025e800, 0x00007ff5800f7000,
        0x00007ff5d0328800, 0x00007ff5800f9800
        _to_delete_list=0x00007ff5d0324120, length=9, elements={
        0x00007ff5d001a800, 0x00007ff5d0230000,
        [error occurred during error reporting (printing all threads), id 0xe0000000]

        VM state:not at safepoint (normal execution)

        VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
        [0x00007ff5d0014ae0] CodeCache_lock - owner thread: 0x00007ff5800f9800

        Heap address: 0x00000000f9c00000, size: 100 MB, Compressed Oops mode: 32-bit
        Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
        Compressed class space size: 1073741824 Address: 0x0000000100000000

         garbage-first heap total 102400K, used 1024K [0x00000000f9c00000, 0x0000000100000000)
          region size 1024K, 2 young (2048K), 0 survivors (0K)
         Metaspace used 3281K, capacity 4480K, committed 4480K, reserved 1056768K
          class space used 261K, capacity 384K, committed 384K, reserved 1048576K
        Heap Regions: E=young(eden), S=young(survivor), O=old, HS=humongous(starts), HC=humongous(continues), CS=collection set, F=free, A=archive, TAMS=top-at-mark-start (previous, next)
        | 0|0x00000000f9c00000, 0x00000000f9c00000, 0x00000000f9d00000| 0%| F| |TAMS 0x00000000f9c00000, 0x00000000f9c00000| Untracked

        Whole file is in attachment.


            Issue Links



                dcubed Daniel Daugherty
                lmesnik Leonid Mesnik
                0 Vote for this issue
                2 Start watching this issue