G1: Crash during root scanning

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P2
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • gc

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000ffff7e496b00, pid=3452276, tid=3452532
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+25) (fastdebug build 26-ea+25-2472)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+25-2472, mixed mode, sharing, tiered, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0xc96b00] void OopOopIterateDispatch<G1RootRegionScanClosure>::Table::oop_oop_iterate<InstanceMirrorKlass, oop>(G1RootRegionScanClosure*, oop, Klass*)+0x180
      #
      # 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/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/scratch/3/core.3452276)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

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

      Command Line: -Dtest.vm.opts=-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/tmp -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -J-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/tmp -Dtest.compiler.opts= -Dtest.java.opts=-XX:-UseCompressedOops -Dtest.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/linux-aarch64-debug.jdk/jdk-26/fastdebug -Dcompile.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/linux-aarch64-debug.jdk/jdk-26/fastdebug -Dtest.timeout.factor=10.0 -Dtest.nativepath=/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/linux-aarch64-debug.test/hotspot/jtreg/native -Dtest.root=/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/src.full/closed/test/hotspot/jtreg -Dtest.name=vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.java -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=true,m=false] -Dtest.file=/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/src.full/closed/test/hotspot/jtreg/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.java -Dtest.main.class=TestDescription -Dtest.src=/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/src.full/closed/test/hotspot/jtreg/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex -Dtest.src.path=/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/src.full/closed/test/hotspot/jtreg/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex:/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/src.full/closed/test/hotspot/jtreg/vmTestbase:/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/src.full/open/test/hotspot/jtreg/vmTestbase:/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/src.full/open/test/lib -Dtest.classes=/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/classes/2/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.d -Dtest.class.path=/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/classes/2/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.d:/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/classes/2/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.d/vmTestbase:/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/classes/2/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.d/open/test/hotspot/jtreg/vmTestbase:/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/classes/2/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.d/open/test/lib -Dtest.class.path.prefix=/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/classes/2/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/src.full/closed/test/hotspot/jtreg/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex:/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/classes/2/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.d/vmTestbase:/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/classes/2/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.d/open/test/hotspot/jtreg/vmTestbase:/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/classes/2/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.d/open/test/lib -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/tmp -XX:-UseCompressedOops -Djava.library.path=/opt/mach5/mesos/work_dir/jib-master/install/jdk-26+25-2472/linux-aarch64-debug.test/hotspot/jtreg/native -Xmx256m -agentlib:PclRedefineClasses com.sun.javatest.regtest.agent.MainWrapper /opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S36386/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65b493a8-a68e-4a6e-aa72-04b01c8af60a/runs/23735d10-82d4-419f-b5ad-ae858ebeaeb1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_vmTestbase_vm_parallel_class_loading_quick/vmTestbase/runtime/pcl/stress/freeLock/loadClass/dynamic-init/init-complex/TestDescription.d/main.0.jta -ITERATIONS 100 -DEBUG false -THREADS_COUNT 5 -classDir ./bin/classes/pcl/hierarchies/static-load/dynamic-init/complex -class custom.D% -provoke loadClass -regexForFreeingLock custom.A.* -provoke newInstance

      Host: AArch64, 8 cores, 30G, Oracle Linux Server release 9.6
      Time: Fri Nov 14 19:34:14 2025 UTC elapsed time: 6.338339 seconds (0d 0h 0m 6s)

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

      Current thread (0x0000ffff40000d30): WorkerThread "G1 Conc#1" [id=3452532, stack(0x0000ffff1a13e000,0x0000ffff1a33c000) (2040K)]

      Stack: [0x0000ffff1a13e000,0x0000ffff1a33c000], sp=0x0000ffff1a33a5f0, free space=2033k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xc96b00] void OopOopIterateDispatch<G1RootRegionScanClosure>::Table::oop_oop_iterate<InstanceMirrorKlass, oop>(G1RootRegionScanClosure*, oop, Klass*)+0x180 (klass.hpp:698)
      V [libjvm.so+0xc86950] G1ConcurrentMark::scan_root_region(MemRegion const*, unsigned int)+0x1a4 (iterator.inline.hpp:294)
      V [libjvm.so+0xc9132c] G1CMRootRegionScanTask::work(unsigned int)+0x8c (g1ConcurrentMark.cpp:1058)
      V [libjvm.so+0x19ccde4] WorkerThread::run()+0xa0 (workerThread.cpp:69)
      V [libjvm.so+0x18744fc] Thread::call_run()+0xac (thread.cpp:242)
      V [libjvm.so+0x154648c] thread_native_entry(Thread*)+0x11c (os_linux.cpp:877)
      C [libc.so.6+0x80b50] start_thread+0x300

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

            Assignee:
            Unassigned
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: