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

SIGSEGV in PhaseIdealLoop::get_ctrl

XMLWordPrintable

      Running the decapo benchmark:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f2a6cb05ea8, pid=4085875, tid=4085905
      #
      # JRE version: Java(TM) SE Runtime Environment (25.0+4) (build 25-ea+4-LTS-334)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25-ea+4-LTS-334, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xc0bea8] PhaseIdealLoop::get_ctrl(Node const*) [clone .isra.0]+0x18
      #
      # 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/ccd15758-3c17-44a6-a32a-40698b0633d8-S5013/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/558a2c78-c732-4750-a7f5-74f564476315/runs/fe78b682-2293-4b77-a4c8-7c6e0d8eaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo_java/scratch/0/core.4085875)
      #
      # JFR recording file will be written. Location: /opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S5013/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/558a2c78-c732-4750-a7f5-74f564476315/runs/fe78b682-2293-4b77-a4c8-7c6e0d8eaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo_java/scratch/0/hs_err_pid4085875.jfr
      #
      # 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: -Xbootclasspath/a:/opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S5013/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/558a2c78-c732-4750-a7f5-74f564476315/runs/fe78b682-2293-4b77-a4c8-7c6e0d8eaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo_java/scratch/0/wb.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/23/37/bundles/linux-x64/jdk-23_linux-x64_bin.tar.gz/jdk-23 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S5013/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/558a2c78-c732-4750-a7f5-74f564476315/runs/fe78b682-2293-4b77-a4c8-7c6e0d8eaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo_java/tmp -XX:+UseParallelGC -da:edu.cmu.graphchi... -da:java.util.logging... -XX:MaxRAMPercentage=50 -Djava.vm.version=1.14.0 -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError -XX:+DisplayVMOutputToStderr -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener -XX:CompileCommand=memlimit,*.*,0 --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S5013/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/558a2c78-c732-4750-a7f5-74f564476315/runs/fe78b682-2293-4b77-a4c8-7c6e0d8eaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo_java/scratch/0/java.io.tmpdir -Duser.home=/opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S5013/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/558a2c78-c732-4750-a7f5-74f564476315/runs/fe78b682-2293-4b77-a4c8-7c6e0d8eaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo_java/scratch/0/user.home -agentpath:/opt/mach5/mesos/work_dir/jib-master/install/jdk-25+4-334/linux-x64.test/hotspot/jtreg/native/libJvmtiStressModule.so -XX:NativeMemoryTracking=detail -Djdk.test.lib.random.seed=-6217576758665729011 applications.kitchensink.process.stress.Main /opt/mach5/mesos/work_dir/slaves/ccd15758-3c17-44a6-a32a-40698b0633d8-S5013/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/558a2c78-c732-4750-a7f5-74f564476315/runs/fe78b682-2293-4b77-a4c8-7c6e0d8eaf7b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo_java/scratch/0/kitchensink.final.properties

      Host: Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz, 12 cores, 23G, Oracle Linux Server release 9.4
      Time: Sat Dec 28 08:55:10 2024 UTC elapsed time: 1755.110881 seconds (0d 0h 29m 15s)

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

      Current thread (0x00007f2a640ea880): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=4085905, stack(0x00007f29fa4f6000,0x00007f29fa5f6000) (1024K)]


      Current CompileTask:
      C2:1755110 956304 4 org.apache.fop.fonts.FontSelector::selectFontForCharactersInText (199 bytes)

      Stack: [0x00007f29fa4f6000,0x00007f29fa5f6000], sp=0x00007f29fa5f1488, free space=1005k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xc0bea8] PhaseIdealLoop::get_ctrl(Node const*) [clone .isra.0]+0x18 (node.hpp:413)
      V [libjvm.so+0xc115ce] PhaseIdealLoop::split_if_with_blocks_pre(Node*)+0xde (loopopts.cpp:1159)
      V [libjvm.so+0xc1431c] PhaseIdealLoop::split_if_with_blocks(VectorSet&, Node_Stack&)+0x14c (loopopts.cpp:1982)
      V [libjvm.so+0xc0b10c] PhaseIdealLoop::build_and_optimize()+0xfbc (loopnode.cpp:4889)
      V [libjvm.so+0x67ded2] Compile::optimize_loops(PhaseIterGVN&, LoopOptsMode)+0x2c2 (loopnode.hpp:1113)
      V [libjvm.so+0x688283] Compile::Optimize()+0x7f3 (compile.cpp:2430)
      V [libjvm.so+0x689a8f] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0xf3f (compile.cpp:852)
      V [libjvm.so+0x5acb59] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1b9 (c2compiler.cpp:142)
      V [libjvm.so+0x68f9ba] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xafa (compileBroker.cpp:2319)
      V [libjvm.so+0x692bb8] CompileBroker::compiler_thread_loop()+0x518 (compileBroker.cpp:1977)
      V [libjvm.so+0x94dce8] JavaThread::thread_main_inner() [clone .part.0]+0xb8 (javaThread.cpp:777)
      V [libjvm.so+0xf35baf] Thread::call_run()+0x9f (thread.cpp:232)
      V [libjvm.so+0xd44d56] thread_native_entry(Thread*)+0xd6 (os_linux.cpp:860)

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

      Registers:
      RAX=0x0000000000000000, RBX=0x00007f29fa5f17c0, RCX=0x00007f2880749de9, RDX=0x0000000000002000
      RSP=0x00007f29fa5f1488, RBP=0x00007f29fa5f14e0, RSI=0x00000000000012de, RDI=0x00007f29d6c1e360
      R8 =0x00007f29d6c27a50, R9 =0x00007f288d236878, R10=0x00007f29fa5f1210, R11=0x00007f2880749de8
      R12=0x00007f29cac763a8, R13=0x00007f288f1f9980, R14=0x00007f29fa5f15d0, R15=0x00007f288d236878
      RIP=0x00007f2a6cb05ea8, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000004
        TRAPNO=0x000000000000000e

      XMM[0]=0x0000000000000000 0x0000000000000000
      XMM[1]=0x0000000000000000 0x0000000000000000
      XMM[2]=0x00007f29d6f6d370 0x00007f288f1e9480
      XMM[3]=0x00007f29d6f6d4d0 0x00007f29d6f6cf08
      XMM[4]=0x00007f2890a138d0 0x00007f29d6f6d3d8
      XMM[5]=0x00007f29d6f6fd10 0x00007f29d6f6da00
      XMM[6]=0x00007f29d6f6d990 0x00007f29d6f6d448
      XMM[7]=0x00007f2890a13848 0x00007f2890a137d8
      XMM[8]=0x00007f2890a138d0 0x00007f29d6f6d3d8
      XMM[9]=0x0000000000000000 0x46293e5939a08cea
      XMM[10]=0x0000000000000000 0x4376345785d8a000
      XMM[11]=0x00007f288060bf20 0x00007f288060bff0
      XMM[12]=0x00007f288060be50 0x00007f288060bde8
      XMM[13]=0x550c7dc3243185be 0x12835b01d807aa98
      XMM[14]=0xab1c5ed5923f82a4 0x59f111f13956c25b
      XMM[15]=0xe9b5dba5b5c0fbcf 0x71374491428a2f98
        MXCSR=0x00001fb2

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

              Created:
              Updated:
              Resolved: