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

C2 crash in Compile::identify_useful_nodes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • 21
    • 21
    • hotspot
    • x86_64
    • os_x

    Description

      Test: runtime/cds/appcds/dynamicArchive/LambdaForOldInfInBaseArchive.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000000105aaa92f, pid=30619, tid=23043
      #
      # JRE version: Java(TM) SE Runtime Environment (21.0+13) (fastdebug build 21-ea+13-LTS-1014)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21-ea+13-LTS-1014, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
      # Problematic frame:
      # V [libjvm.dylib+0x64092f] Compile::identify_useful_nodes(Unique_Node_List&)+0x23f
      #
      # Core dump will be written. Default location: core.30619
      #
      # 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:MaxRAMPercentage=12.5 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/19/36/bundles/macos-x64/jdk-19_macos-x64_bin.tar.gz/jdk-19.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/782b3f2b-1fe4-42ad-a0aa-b7bf2f5b3ebf-S2923/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c38bc32d-a2a7-4e2d-ad97-c897c18d35e1/runs/f2134e8c-69be-419c-8a97-74fdbded7be4/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/tmp -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+TieredCompilation -XX:+DeoptimizeALot -XX:ArchiveClassesAtExit=/System/Volumes/Data/mesos/work_dir/slaves/782b3f2b-1fe4-42ad-a0aa-b7bf2f5b3ebf-S2923/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c38bc32d-a2a7-4e2d-ad97-c897c18d35e1/runs/f2134e8c-69be-419c-8a97-74fdbded7be4/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/0/top-20h56m48s190.jsa -Xshare:auto -XX:SharedArchiveFile=/System/Volumes/Data/mesos/work_dir/slaves/782b3f2b-1fe4-42ad-a0aa-b7bf2f5b3ebf-S2923/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c38bc32d-a2a7-4e2d-ad97-c897c18d35e1/runs/f2134e8c-69be-419c-8a97-74fdbded7be4/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/0/appcds-20h56m50s654.jsa -Xlog:cds,cds+dynamic,class+load,cds+class=debug LambdaContainsOldInfApp

      Host: "Macmini7,1" x86_64 2800 MHz, 4 cores, 16G, Darwin 19.6.0, macOS 10.15.7 (19H15)
      Time: Mon Mar 6 20:57:25 2023 GMT elapsed time: 22.787707 seconds (0d 0h 0m 22s)

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

      Current thread (0x00007fc0ed029610): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=23043, stack(0x0000700008c10000,0x0000700008d10000)]


      Current CompileTask:
      C2: 22787 3949 b 4 java.lang.invoke.LambdaFormEditor::addArgumentForm (121 bytes)

      Stack: [0x0000700008c10000,0x0000700008d10000], sp=0x0000700008d0de50, free space=1015k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x64092f] Compile::identify_useful_nodes(Unique_Node_List&)+0x23f
      V [libjvm.dylib+0xfa833c] PhaseRemoveUseless::PhaseRemoveUseless(PhaseGVN*, Unique_Node_List*, Phase::PhaseNumber)+0xac
      V [libjvm.dylib+0x643d01] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1751
      V [libjvm.dylib+0x525b17] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x167
      V [libjvm.dylib+0x66262b] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x63b
      V [libjvm.dylib+0x661de8] CompileBroker::compiler_thread_loop()+0x288
      V [libjvm.dylib+0xa160bf] JavaThread::thread_main_inner()+0x1ff
      V [libjvm.dylib+0x11cd1c7] Thread::call_run()+0x177
      V [libjvm.dylib+0xf4c62f] thread_native_entry(Thread*)+0x14f
      C [libsystem_pthread.dylib+0x6109] _pthread_start+0x94
      C [libsystem_pthread.dylib+0x1b8b] thread_start+0xf

      Attachments

        Issue Links

          Activity

            People

              thartmann Tobias Hartmann
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: