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

SIGSEGV in BFSClosure::closure_impl

XMLWordPrintable

    • jfr
    • b33
    • x86_64
    • linux
    • Not verified

        The following test failed in the JDK17 CI:

        applications/dacapo/Dacapo24H.java

        Here's a snippet from the log file:

        Stress process main method is started.
        [9572.435s][warning][gc] GC locker is held; pre-dump GC was skipped
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x00007fbfc8bb9a0b, pid=24279, tid=24285
        #
        # JRE version: Java(TM) SE Runtime Environment (17.0+5) (build 17-ea+5-LTS-210)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (17-ea+5-LTS-210, mixed mode, sharing, tiered, compressed oops, parallel gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x412a0b] BFSClosure::closure_impl(UnifiedOopRef, oopDesc*)+0x1ab
        #
        # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S14897/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35d8d27c-5a81-4d46-abf4-dfedea5dc672/runs/1e7e4a98-e305-4487-bb4b-b8a337b64945/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/core.24279)
        #
        # JFR recording file will be written. Location: /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S14897/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35d8d27c-5a81-4d46-abf4-dfedea5dc672/runs/1e7e4a98-e305-4487-bb4b-b8a337b64945/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/hs_err_pid24279.jfr
        #
        Unsupported internal testing APIs have been used.

        # An error report file with more information is saved as:
        # /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S14897/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/35d8d27c-5a81-4d46-abf4-dfedea5dc672/runs/1e7e4a98-e305-4487-bb4b-b8a337b64945/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/hs_err_pid24279.log
        #
        # If you would like to submit a bug report, please visit:
        # https://bugreport.java.com/bugreport/crash.jsp
        #
        ----------System.err:(195/20083)----------

        Here's the crashing thread's stack:

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

        Current thread (0x00007fbfc4096230): VMThread "VM Thread" [stack: 0x00007fbf830c8000,0x00007fbf831c8000] [id=24285]

        Stack: [0x00007fbf830c8000,0x00007fbf831c8000], sp=0x00007fbf831c6810, free space=1018k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x412a0b] BFSClosure::closure_impl(UnifiedOopRef, oopDesc*)+0x1ab
        V [libjvm.so+0x41336a] BFSClosure::process()+0x4a
        V [libjvm.so+0xc16420] PathToGcRootsOperation::doit()+0x440
        V [libjvm.so+0xe0547a] VM_Operation::evaluate()+0xea
        V [libjvm.so+0xe06d48] VMThread::evaluate_operation(VM_Operation*)+0xb8
        V [libjvm.so+0xe07218] VMThread::inner_execute(VM_Operation*)+0x1c8
        V [libjvm.so+0xe074df] VMThread::run()+0xbf
        V [libjvm.so+0xd8311d] Thread::call_run()+0xfd
        V [libjvm.so+0xbda967] thread_native_entry(Thread*)+0xe7


        siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000000


        The test task's configuration includes: -XX:+UseParallelGC

              mgronlun Markus Grönlund
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: