C2 crash in PhaseOutput::fill_buffer: wrong size of mach node

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 27
    • Component/s: hotspot
    • x86_64
    • windows

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\sb\prod\1772367442\workspace\open\src\hotspot\share\opto\output.cpp:1695), pid=5884, tid=10024
      # assert(false) failed: wrong size of mach node
      #
      # JRE version: Java(TM) SE Runtime Environment (27.0+12) (fastdebug build 27-ea+12-1013)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-ea+12-1013, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Problematic frame:
      # V [jvm.dll+0xe36726] PhaseOutput::fill_buffer+0x1946
      #
      # Core dump will be written. Default location: C:\sb\prod\1772432611\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_hotspot_runtime\scratch\3\hs_err_pid5884.mdmp
      #
      # 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=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\25\37\bundles\windows-x64\jdk-25_windows-x64_bin.zip\jdk-25 -Djava.io.tmpdir=c:\sb\prod\1772432611\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_hotspot_runtime\tmp -XX:+CreateCoredumpOnCrash -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:-TieredCompilation -XX:+VerifyOops -Xlog:init,cds -DautoQuit=true -Dspring.output.ansi.enabled=NEVER -Dspring.aot.enabled=true -Dserver.port=0 --enable-native-access=ALL-UNNAMED -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyDependencies -Xlog:arguments,class+load=debug,aot=debug,aot+class=debug,cds=debug:file=SpringPetClinic.aot.log::filesize=0 -XX:AOTCacheOutput=SpringPetClinic.aot -XX:AOTConfiguration=SpringPetClinic.aot.config -XX:AOTMode=create

      Host: AMD EPYC 9J14 96-Core Processor , 12 cores, 23G, Windows Server 2025 , 64 bit Build 26100 (10.0.26100.1591)
      Time: Mon Mar 2 06:50:11 2026 Etc elapsed time: 27.212256 seconds (0d 0h 0m 27s)

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

      Current thread (0x000001f701519460): JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=10024, stack(0x0000007e74a00000,0x0000007e74b00000) (1024K)]


      Current CompileTask:
      C2:27212 1407 java.lang.invoke.LambdaMetafactory::metafactory (71 bytes)

      Stack: [0x0000007e74a00000,0x0000007e74b00000], sp=0x0000007e74afc250, free space=1008k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xe36726] PhaseOutput::fill_buffer+0x1946 (output.cpp:1695)
      V [jvm.dll+0xe316ad] PhaseOutput::Output+0x91d (output.cpp:350)
      V [jvm.dll+0x5e887d] Compile::Code_Gen+0x37d (compile.cpp:3128)
      V [jvm.dll+0x5e6ccc] Compile::Compile+0x122c (compile.cpp:896)
      V [jvm.dll+0x4e9049] C2Compiler::compile_method+0x179 (c2compiler.cpp:150)
      V [jvm.dll+0x604bd7] CompileBroker::invoke_compiler_on_method+0x787 (compileBroker.cpp:2348)
      V [jvm.dll+0x60205c] CompileBroker::compiler_thread_loop+0x27c (compileBroker.cpp:1990)
      V [jvm.dll+0x94d541] JavaThread::thread_main_inner+0x261 (javaThread.cpp:773)
      V [jvm.dll+0x1090abe] Thread::call_run+0x1be (thread.cpp:248)
      V [jvm.dll+0xe27384] thread_native_entry+0xc4 (os_windows.cpp:556)
      C [ucrtbase.dll+0x14ea0] (no source info available)
      C [KERNEL32.DLL+0x2dbe7] (no source info available)
      C [ntdll.dll+0x85a6c] (no source info available)

            Assignee:
            Unassigned
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: