[lworld] compiler/c2/TestVerifyGraphEdges.java crashes with SIGSEGV

XMLWordPrintable

    • x86_64
    • linux

      This crashes with the default flags (see attached hserr) as well as when run with -XX:+UnlockExperimentalVMOptions -XX:PerMethodSpecTrapLimit=0 -XX:PerMethodTrapLimit=0.

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000793192a7fc43, pid=319206, tid=319221
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0) (fastdebug build 26-jep401ea2-2025-11-27)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-jep401ea2-2025-11-27, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xe7fc43] frame::patch_pc(Thread*, unsigned char*)+0xc3
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_no_valhalla/scratch/4/core.319206)
      #
      # 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=4.16667 -Dtest.boot.jdk=jdk/25/37/bundles/linux-x64/jdk-25_linux-x64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_no_valhalla/tmp -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=4.16667 -J-Dtest.boot.jdk=jdk/25/37/bundles/linux-x64/jdk-25_linux-x64_bin.tar.gz/jdk-25 -J-Djava.io.tmpdir=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_no_valhalla/tmp -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=2025-11-27/linux-x64-debug.jdk/jdk-26/fastdebug -Dcompile.jdk=2025-11-27/linux-x64-debug.jdk/jdk-26/fastdebug -Dtest.timeout.factor=4.0 -Dtest.nativepath=2025-11-27/linux-x64-debug.test/hotspot/jtreg/native -Dtest.root=2025-11-27/src.full/open/test/hotspot/jtreg -Dtest.name=compiler/c2/TestVerifyGraphEdges.java -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=true,m=false] -Dtest.file=2025-11-27/src.full/open/test/hotspot/jtreg/compiler/c2/TestVerifyGraphEdges.java -Dtest.main.class=compiler.c2.TestVerifyGraphEdges -Dtest.src=2025-11-27/src.full/open/test/hotspot/jtreg/compiler/c2 -Dtest.src.path=2025-11-27/src.full/open/test/hotspot/jtreg/compiler/c2 -Dtest.classes=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_no_valhalla/classes/4/compiler/c2/TestVerifyGraphEdges.d -Dtest.class.path=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_no_valhalla/classes/4/compiler/c2/TestVerifyGraphEdges.d -Dtest.class.path.prefix=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_no_valhalla/classes/4/compiler/c2/TestVerifyGraphEdges.d:2025-11-27/src.full/open/test/hotspot/jtreg/compiler/c2 -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=jdk/25/37/bundles/linux-x64/jdk-25_linux-x64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_no_valhalla/tmp -Djava.library.path=2025-11-27/linux-x64-debug.test/hotspot/jtreg/native -Xbatch -Xcomp -XX:+VerifyGraphEdges com.sun.javatest.regtest.agent.MainWrapper testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_no_valhalla/compiler/c2/TestVerifyGraphEdges.d/main.0.jta

      Host:, AMD EPYC 7J13 64-Core Processor, 12 cores, 23G, Ubuntu 24.10
      Time: Thu Nov 27 16:45:36 2025 UTC elapsed time: 26.794780 seconds (0d 0h 0m 26s)

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

      Current thread (0x000079318c137f30): VMThread "VM Thread" [id=319221, stack(0x0000793170bf9000,0x0000793170cf9000) (1024K)] _threads_hazard_ptr=0x00007931000587b0, _nested_threads_hazard_ptr_cnt=0

      Stack: [0x0000793170bf9000,0x0000793170cf9000], sp=0x0000793170cf4c20, free space=1007k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xe7fc43] frame::patch_pc(Thread*, unsigned char*)+0xc3 (nativeInst_x86.hpp:600)
      V [libjvm.so+0xe76e62] frame::deoptimize(JavaThread*)+0x92 (frame.cpp:387)
      V [libjvm.so+0xcf40b6] Deoptimization::deoptimize_single_frame(JavaThread*, frame, Deoptimization::DeoptReason)+0x186 (deoptimization.cpp:1931)
      V [libjvm.so+0xcf4343] Deoptimization::deoptimize(JavaThread*, frame, Deoptimization::DeoptReason)+0xe3 (deoptimization.cpp:1942)
      V [libjvm.so+0x11a05a4] JavaThread::deoptimize_marked_methods()+0x164 (javaThread.cpp:1330)
      V [libjvm.so+0x1048f27] HandshakeOperation::do_handshake(JavaThread*)+0x47 (handshake.cpp:337)
      V [libjvm.so+0x1049507] HandshakeState::try_process(HandshakeOperation*) [clone .part.0]+0xc7 (handshake.cpp:692)
      V [libjvm.so+0x104b21f] VM_HandshakeAllThreads::doit()+0x61f (handshake.cpp:672)
      V [libjvm.so+0x1d89286] VM_Operation::evaluate()+0x196 (vmOperations.cpp:74)
      V [libjvm.so+0x1da51b8] VMThread::evaluate_operation(VM_Operation*)+0x318 (vmThread.cpp:284)
      V [libjvm.so+0x1da5d97] VMThread::inner_execute(VM_Operation*)+0x297 (vmThread.cpp:421)
      V [libjvm.so+0x1da60c4] VMThread::loop()+0x84 (vmThread.cpp:487)
      V [libjvm.so+0x1da61d4] VMThread::run()+0x94 (vmThread.cpp:177)
      V [libjvm.so+0x1c7a246] Thread::call_run()+0xb6 (thread.cpp:242)
      V [libjvm.so+0x18a1d78] thread_native_entry(Thread*)+0x118 (os_linux.cpp:879)
      C [libc.so.6+0xa1e2e]

            Assignee:
            Unassigned
            Reporter:
            Paul Hübner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: