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

SIGSEGV in CompileQueue::delete_all during compiler's shutdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 26
    • hotspot

      This problem has been seen in the past (JDK-8055420) but could be related to the double-free fix under JDK-8361752.

      Test: compiler/startup/StartupOutput.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000ffff8551f270, pid=3762838, tid=3762874
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+10) (fastdebug build 26-ea+10-945)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+10-945, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x983270] CompileQueue::delete_all()+0x40
      #
      # 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/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S165873/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/149dba2e-9389-4c82-84ed-c3515920ab79/runs/e02edb77-072e-476a-b319-09f29499b6aa/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/scratch/0/core.3762838)
      #
      # 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: -XX:InitialCodeCacheSize=1148K -XX:ReservedCodeCacheSize=1255k

      Host: AArch64, 8 cores, 31G, Oracle Linux Server release 8.10
      Time: Thu Jul 31 23:38:32 2025 UTC elapsed time: 0.129739 seconds (0d 0h 0m 0s)

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

      Current thread (0x0000ffff801a84a0): JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=3762874, stack(0x0000ffff5d407000,0x0000ffff5d605000) (2040K)]

      Stack: [0x0000ffff5d407000,0x0000ffff5d605000], sp=0x0000ffff5d603110, free space=2032k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x983270] CompileQueue::delete_all()+0x40 (compileBroker.cpp:374)
      V [libjvm.so+0x985944] CompileBroker::shutdown_compiler_runtime(AbstractCompiler*, CompilerThread*)+0xa4 (compileBroker.cpp:1828)
      V [libjvm.so+0x985e3c] CompileBroker::init_compiler_runtime()+0x45c (compileBroker.cpp:1786)
      V [libjvm.so+0x98df00] CompileBroker::compiler_thread_loop()+0x140 (compileBroker.cpp:1921)
      V [libjvm.so+0xe83468] JavaThread::thread_main_inner()+0x108 (javaThread.cpp:773)
      V [libjvm.so+0x17fa02c] Thread::call_run()+0xac (thread.cpp:243)
      V [libjvm.so+0x14da99c] thread_native_entry(Thread*)+0x12c (os_linux.cpp:868)
      C [libpthread.so.0+0x7950] start_thread+0x190

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

            Unassigned Unassigned
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: