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

C2 crash: assert(false) failed: Unexpected use of reducible Phi

XMLWordPrintable

    • b07
    • 22

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S39671/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bf8029e5-1d76-4ae0-ab70-8de53ef552b3/runs/d76b3c83-cc10-4598-9729-21453837832d/workspace/open/src/hotspot/share/opto/escape.cpp:723), pid=3950839, tid=3969104
      # assert(false) failed: Unexpected use of reducible Phi.
      #
      # JRE version: Java(TM) SE Runtime Environment (22.0+8) (fastdebug build 22-ea+8-530)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22-ea+8-530, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xbab5ab] ConnectionGraph::reduce_phi(PhiNode*)+0x2eb

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

      Command Line: -Xbootclasspath/a:/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S73195/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f1d9bb01-eeeb-49b0-81e5-d47dacdef86e/runs/b62aa02e-2311-488a-94f4-2d770dfee85a/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/wb.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Djava.security.manager=allow -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-x64/jdk-20_linux-x64_bin.tar.gz/jdk-20 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S73195/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f1d9bb01-eeeb-49b0-81e5-d47dacdef86e/runs/b62aa02e-2311-488a-94f4-2d770dfee85a/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/tmp -XX:MaxRAMPercentage=50 -Djava.net.preferIPv6Addresses=false -XX:+DisplayVMOutputToStderr -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener -Xlog:monitorinflation=info:file=../monitorinflation.log::filesize=500m -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S73195/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f1d9bb01-eeeb-49b0-81e5-d47dacdef86e/runs/b62aa02e-2311-488a-94f4-2d770dfee85a/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/java.io.tmpdir -Duser.home=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S73195/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f1d9bb01-eeeb-49b0-81e5-d47dacdef86e/runs/b62aa02e-2311-488a-94f4-2d770dfee85a/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/user.home -agentpath:/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+8-530/linux-x64-debug.test/hotspot/jtreg/native/libJvmtiStressModule.so -XX:NativeMemoryTracking=detail -Djdk.test.lib.random.seed=-8705325704436501488 applications.kitchensink.process.stress.Main /opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S73195/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f1d9bb01-eeeb-49b0-81e5-d47dacdef86e/runs/b62aa02e-2311-488a-94f4-2d770dfee85a/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/kitchensink.final.properties

      Host: Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz, 12 cores, 23G, Oracle Linux Server release 8.7
      Time: Tue Jul 25 03:27:37 2023 UTC elapsed time: 1927.081992 seconds (0d 0h 32m 7s)

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

      Current thread (0x00007f27563ee8c0): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=3969104, stack(0x00007f2686fe9000,0x00007f26870e9000) (1024K)]


      Current CompileTask:
      C2:1927082 43351 4 com.oracle.tck.lib.autd2.processors.tc.TGFTestCaseMethodSetting::process (21 bytes)

      Stack: [0x00007f2686fe9000,0x00007f26870e9000], sp=0x00007f26870e3dc0, free space=1003k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xbab5ab] ConnectionGraph::reduce_phi(PhiNode*)+0x2eb (escape.cpp:723)
      V [libjvm.so+0xbc38ee] ConnectionGraph::compute_escape()+0x24fe (escape.cpp:406)
      V [libjvm.so+0xbc4023] ConnectionGraph::do_analysis(Compile*, PhaseIterGVN*)+0x133 (escape.cpp:116)
      V [libjvm.so+0x9ead8e] Compile::Optimize()+0x87e (compile.cpp:2308)
      V [libjvm.so+0x9ed5a0] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1b60 (compile.cpp:850)
      V [libjvm.so+0x8490ab] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x12b (c2compiler.cpp:119)
      V [libjvm.so+0x9f9490] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xa00 (compileBroker.cpp:2265)
      V [libjvm.so+0x9fa318] CompileBroker::compiler_thread_loop()+0x618 (compileBroker.cpp:1944)
      V [libjvm.so+0xeb451c] JavaThread::thread_main_inner()+0xcc (javaThread.cpp:720)
      V [libjvm.so+0x179494a] Thread::call_run()+0xba (thread.cpp:217)
      V [libjvm.so+0x1495431] thread_native_entry(Thread*)+0x121 (os_linux.cpp:783)

        1. hs_err_pid3950839.log
          185 kB
          Tobias Hartmann
        2. log1.txt
          53 kB
          Tobias Hartmann
        3. replay_pid3950839.log
          3.82 MB
          Tobias Hartmann

            cslucas Cesar Soares
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: