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

Compiler thread is crashing running AOT test

XMLWordPrintable

      Test: runtime/cds/appcds/aotClassLinking/AddOpens.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000ffff83b85150, pid=4176541, tid=4176575
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+10) (fastdebug build 26-ea+10-1042)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+10-1042, mixed mode, tiered, compressed oops, compressed class ptrs, parallel gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x219c150]

      but something is quite wrong as we cannot get stacks or symbolic info:

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

      Command Line: -XX:MaxRAMPercentage=3.125 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/24/36/bundles/linux-aarch64/jdk-24_linux-aarch64_bin.tar.gz/jdk-24 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221088/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b50152c4-c5a0-460e-8df2-5a0a4c2d8874/runs/f2152784-4095-4242-83cc-dafcd87d0d3e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/tmp -XX:+UseParallelGC -XX:+UseNUMA --add-opens=java.base/java.lang=com.simple -Xlog:class+load=trace -XX:AOTMode=record -XX:AOTCacheOutput=same-add-opens.aot -Xlog:arguments,class+load=debug,aot=debug,aot+class=debug,cds=debug:file=same-add-opens.aot.log::filesize=0 --module-path=/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221088/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b50152c4-c5a0-460e-8df2-5a0a4c2d8874/runs/f2152784-4095-4242-83cc-dafcd87d0d3e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/6/mlib8182589674200990243 -Djdk.module.main=com.simple com.simple with_add_opens

      Host: AArch64, 16 cores, 31G, Oracle Linux Server release 8.10
      Time: Wed Aug 6 20:57:09 2025 UTC elapsed time: 1.317993 seconds (0d 0h 0m 1s)

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

      Current thread (0x0000ffff7c163660): JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=4176575, stack(0x0000fffe9c96a000,0x0000fffe9cb68000) (2040K)]


      Current CompileTask:
      C1:1318 915 3 jdk.internal.classfile.impl.SplitConstantPool::writeTo (120 bytes)

      Stack: [0x0000fffe9c96a000,0x0000fffe9cb68000], sp=0x0000fffe9cb65180, free space=2028k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x219c150]
      [error occurred during error reporting (printing native stack (with source info)), id 0xe0000000, Internal Error (/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221210/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/9c4cf8d4-81c3-4d29-88de-7564df34b486/runs/3d01e6a7-470b-4550-afcf-b247b0fec624/workspace/open/src/hotspot/share/utilities/elfFile.cpp:742)]

      Retrying call stack printing without source information...

      [error occurred during error reporting (retry printing native stack (no source info)), id 0xb, SIGSEGV (0xb) at pc=0x0000ffff83cc3c8c]

      siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x0000ffff83b85150

      Starting in compiler subcomponent but I suspect C1 is hitting a problem in the AOT cache.

        1. hs_err_pid4176541.log
          73 kB
          Vladimir Kozlov
        2. replay_pid4176541.log
          161 kB
          Vladimir Kozlov
        3. runtime.cds.appcds.aotClassLinking.AddOpens.java-0003-TRAINING.stdout.txt
          613 kB
          Vladimir Kozlov

            iveresov Igor Veresov
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: