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

IGV: SEGV in IdealGraphPrinter::print after JDK-8370569

XMLWordPrintable

    • 26
    • b22

      Crashes on macos-aarch64

      Test: compiler/vectorapi/TestVectorInsertByte.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000000102d262a4, pid=28981, tid=27907
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+22) (fastdebug build 26-ea+22-2229)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+22-2229, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
      # Problematic frame:
      # V [libjvm.dylib+0x8822a4] IdealGraphPrinter::print(char const*, Node*, GrowableArray<Node const*>&, frame const*)+0x160
      #
      # Core dump will be written. Default location: core.28981
      #
      # 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: -Dtest.vm.opts=-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/25/37/bundles/macos-aarch64/jdk-25_macos-aarch64_bin.tar.gz/jdk-25.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S18441/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/02d0a470-9ba9-4acb-ad4b-22c5e8a9dc4a/runs/82db2d1b-4379-461a-bbe9-9ea88da8b1a1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier3_compiler/tmp -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/25/37/bundles/macos-aarch64/jdk-25_macos-aarch64_bin.tar.gz/jdk-25.jdk/Contents/Home -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S18441/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/02d0a470-9ba9-4acb-ad4b-22c5e8a9dc4a/runs/82db2d1b-4379-461a-bbe9-9ea88da8b1a1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier3_compiler/tmp -Dtest.compiler.opts= -Dtest.java.opts=-ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -Dtest.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-26+22-2229/macosx-aarch64-debug.jdk/jdk-26/fastdebug -Dcompile.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-26+22-2229/macosx-aarch64-debug.jdk/jdk-26/fastdebug -Dtest.timeout.factor=4.0 -Dtest.nativepath=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-26+22-2229/macosx-aarch64-debug.test/hotspot/jtreg/native -Dtest.root=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-26+22-2229/src.full/open/test/hotspot/jtreg -Dtest.name=compiler/vectorapi/TestVectorInsertByte.java -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=true,m=false] -Dtest.file=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-26+22-2229/src.full/open/test/hotspot/jtreg/compiler/vectorapi/TestVectorInsertByte.java -Dtest.main.class=compiler.vectorapi.TestVectorInsertByte -Dtest.src=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-26+22-2229/src.full/open/test/hotspot/jtreg/compiler/vectorapi -Dtest.src.path=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-26+22-2229/src.full/open/test/hotspot/jtreg/compiler/vectorapi -Dtest.classes=/System/Volumes/Data/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S18441/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/02d0a470-9ba9-4acb-ad4b-22c5e8a9dc4a/runs/82db2d1b-4379-461a-bbe9-9ea88da8b1a1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier3_compiler/classes/2/compiler/vectorapi/TestVectorInsertByte.d -Dtest.class.path=/System/Volumes/Data/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S18441/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/02d0a470-9ba9-4acb-ad4b-22c5e8a9dc4a/runs/82db2d1b-4379-461a-bbe9-9ea88da8b1a1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier3_compiler/classes/2/compiler/vectorapi/TestVectorInsertByte.d -Dtest.class.path.prefix=/System/Volumes/Data/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S18441/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/02d0a470-9ba9-4acb-ad4b-22c5e8a9dc4a/runs/82db2d1b-4379-461a-bbe9-9ea88da8b1a1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier3_compiler/classes/2/compiler/vectorapi/TestVectorInsertByte.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-26+22-2229/src.full/open/test/hotspot/jtreg/compiler/vectorapi -Dtest.modules=jdk.incubator.vector --add-modules=jdk.incubator.vector -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/25/37/bundles/macos-aarch64/jdk-25_macos-aarch64_bin.tar.gz/jdk-25.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S18441/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/02d0a470-9ba9-4acb-ad4b-22c5e8a9dc4a/runs/82db2d1b-4379-461a-bbe9-9ea88da8b1a1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier3_compiler/tmp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+TieredCompilation -Djava.library.path=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-26+22-2229/macosx-aarch64-debug.test/hotspot/jtreg/native -XX:CompileCommand=compileonly,compiler.vectorapi.TestVectorInsertByte::* -XX:PrintIdealGraphLevel=3 -XX:PrintIdealGraphFile=TestVectorInsertByte.xml com.sun.javatest.regtest.agent.MainWrapper /System/Volumes/Data/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S18441/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/02d0a470-9ba9-4acb-ad4b-22c5e8a9dc4a/runs/82db2d1b-4379-461a-bbe9-9ea88da8b1a1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier3_compiler/compiler/vectorapi/TestVectorInsertByte.d/main.0.jta

      Host: "Macmini9,1" arm64, 8 cores, 16G, Darwin 24.6.0, macOS 15.6.1 (24G90)
      Time: Tue Oct 28 22:05:53 2025 GMT elapsed time: 0.340615 seconds (0d 0h 0m 0s)

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

      Current thread (0x000000014003b410): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=27907, stack(0x00000001717bc000,0x00000001719bf000) (2060K)]


      Current CompileTask:
      C2:340 38 4 compiler.vectorapi.TestVectorInsertByte::testByteVectorInsert (27 bytes)

      Stack: [0x00000001717bc000,0x00000001719bf000], sp=0x00000001719bc700, free space=2049k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x8822a4] IdealGraphPrinter::print(char const*, Node*, GrowableArray<Node const*>&, frame const*)+0x160
      V [libjvm.dylib+0x882058] IdealGraphPrinter::print_graph(char const*, frame const*)+0xfc
      V [libjvm.dylib+0x514444] Compile::print_method(CompilerPhaseType, int, Node*)+0x2c8
      V [libjvm.dylib+0xf305fc] PhaseRemoveUseless::PhaseRemoveUseless(PhaseGVN*, Unique_Node_List&, Phase::PhaseNumber)+0x48
      V [libjvm.dylib+0x50c8b0] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x139c
      V [libjvm.dylib+0x3c91a4] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x204
      V [libjvm.dylib+0x52e3ec] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x98c
      V [libjvm.dylib+0x52d6ec] CompileBroker::compiler_thread_loop()+0x3cc
      V [libjvm.dylib+0x923f1c] JavaThread::thread_main_inner()+0x1d0
      V [libjvm.dylib+0x117e64c] Thread::call_run()+0xf0
      V [libjvm.dylib+0xedb4ec] thread_native_entry(Thread*)+0x138
      C [libsystem_pthread.dylib+0x6c0c] _pthread_start+0x88

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

            rcastanedalo Roberto Castaneda Lozano
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: