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

VM startup crash: assert(allocates2(pc)) failed: not in CodeBuffer memory: 0x000002040c2f33e0 <= 0x000002040c300041 <= 0x000002040c300040

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2 P2
    • 24
    • 24
    • hotspot
    • x86_64
    • windows

      Test: compiler/c2/TestLWLockingCodeGen.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\sb\prod\1731376771\workspace\open\src\hotspot\share\asm/codeBuffer.hpp:200), pid=26820, tid=48168
      # assert(allocates2(pc)) failed: not in CodeBuffer memory: 0x000002040c2f33e0 <= 0x000002040c300041 <= 0x000002040c300040
      #
      # JRE version: (24.0+24) (fastdebug build )
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+24-2902, compiled mode, sharing, compressed class ptrs, z gc, windows-amd64)
      # Core dump will be written. Default location: C:\sb\prod\1731424610\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_compiler\scratch\3\hs_err_pid26820.mdmp
      #
      #

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

      Command Line: -Dtest.vm.opts=-XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\23\37\bundles\windows-x64\jdk-23_windows-x64_bin.zip\jdk-23 -Djava.io.tmpdir=c:\sb\prod\1731424610\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_compiler\tmp -XX:+CreateCoredumpOnCrash -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=4.16667 -J-Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\23\37\bundles\windows-x64\jdk-23_windows-x64_bin.zip\jdk-23 -J-Djava.io.tmpdir=c:\sb\prod\1731424610\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_compiler\tmp -J-XX:+CreateCoredumpOnCrash -Dtest.compiler.opts= -Dtest.java.opts=-XX:+UseZGC -Dtest.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk-24+24-2902\windows-x64-debug.jdk\jdk-24\fastdebug -Dcompile.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk-24+24-2902\windows-x64-debug.jdk\jdk-24\fastdebug -Dtest.timeout.factor=10.0 -Dtest.nativepath=c:\ade\mesos\work_dir\jib-master\install\jdk-24+24-2902\windows-x64-debug.test\hotspot\jtreg\native -Dtest.root=C:\ade\mesos\work_dir\jib-master\install\jdk-24+24-2902\src.full\open\test\hotspot\jtreg -Dtest.name=compiler/c2/TestLWLockingCodeGen.java -Dtest.file=C:\ade\mesos\work_dir\jib-master\install\jdk-24+24-2902\src.full\open\test\hotspot\jtreg\compiler\c2\TestLWLockingCodeGen.java -Dtest.src=C:\ade\mesos\work_dir\jib-master\install\jdk-24+24-2902\src.full\open\test\hotspot\jtreg\compiler\c2 -Dtest.src.path=C:\ade\mesos\work_dir\jib-master\install\jdk-24+24-2902\src.full\open\test\hotspot\jtreg\compiler\c2 -Dtest.classes=C:\sb\prod\1731424610\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_compiler\classes\1\compiler\c2\TestLWLockingCodeGen.d -Dtest.class.path=C:\sb\prod\1731424610\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_compiler\classes\1\compiler\c2\TestLWLockingCodeGen.d -Dtest.class.path.prefix=C:\sb\prod\1731424610\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_compiler\classes\1\compiler\c2\TestLWLockingCodeGen.d;C:\ade\mesos\work_dir\jib-master\install\jdk-24+24-2902\src.full\open\test\hotspot\jtreg\compiler\c2 -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\23\37\bundles\windows-x64\jdk-23_windows-x64_bin.zip\jdk-23 -Djava.io.tmpdir=c:\sb\prod\1731424610\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_compiler\tmp -XX:+CreateCoredumpOnCrash -XX:+UseZGC -Djava.library.path=c:\ade\mesos\work_dir\jib-master\install\jdk-24+24-2902\windows-x64-debug.test\hotspot\jtreg\native -XX:+ShowMessageBoxOnError -Xcomp -XX:-TieredCompilation -XX:CompileOnly=TestLWLockingCodeGen::sync com.sun.javatest.regtest.agent.MainWrapper C:\sb\prod\1731424610\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_compiler\compiler\c2\TestLWLockingCodeGen.d\main.0.jta

      Host: Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz, 12 cores, 23G, Windows Server 2019 , 64 bit Build 17763 (10.0.17763.4974)
      Time: Tue Nov 12 15:26:01 2024 Etc elapsed time: 0.070776 seconds (0d 0h 0m 0s)

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

      Current thread (0x0000020403a21680): JavaThread "Unknown thread" [_thread_in_vm, id=48168, stack(0x000000f5a1100000,0x000000f5a1200000) (1024K)]

      Stack: [0x000000f5a1100000,0x000000f5a1200000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xd112b1] os::win32::platform_print_native_stack+0x101 (os_windows_x86.cpp:235)
      V [jvm.dll+0xfde14d] VMError::report+0x148d (vmError.cpp:1011)
      V [jvm.dll+0xfe07cd] VMError::report_and_die+0x80d (vmError.cpp:1846)
      V [jvm.dll+0xfe0ed4] VMError::report_and_die+0x64 (vmError.cpp:1611)
      V [jvm.dll+0x5a3b8b] report_vm_error+0x5b (debug.cpp:193)
      V [jvm.dll+0x2cdb67] CodeSection::set_end+0x97 (codeBuffer.hpp:200)
      V [jvm.dll+0x2b88ca] Assembler::movdqu+0x12a (assembler_x86.cpp:3430)
      V [jvm.dll+0xbe4808] MacroAssembler::movdqu+0xb8 (macroAssembler_x86.cpp:2639)
      V [jvm.dll+0x103ddca] ZRuntimeCallSpill::restore+0x7a (zBarrierSetAssembler_x86.cpp:122)
      V [jvm.dll+0x103d93e] ZBarrierSetAssembler::load_at+0x2ae (zBarrierSetAssembler_x86.cpp:280)
      V [jvm.dll+0xbc6dd7] MacroAssembler::access_load_at+0x127 (macroAssembler_x86.cpp:6039)
      V [jvm.dll+0xbe0ca8] MacroAssembler::load_heap_oop+0x98 (macroAssembler_x86.cpp:6058)
      V [jvm.dll+0xe6d916] StubGenerator::generate_upcall_stub_load_target+0x1a6 (stubGenerator_x86_64.cpp:3814)
      V [jvm.dll+0xe6b78e] StubGenerator::generate_final_stubs+0x3ce (stubGenerator_x86_64.cpp:3983)
      V [jvm.dll+0xe5f62b] StubGenerator_generate+0x5b (stubGenerator_x86_64.cpp:4256)
      V [jvm.dll+0xec6afa] initialize_stubs+0xda (stubRoutines.cpp:248)
      V [jvm.dll+0xec6971] final_stubs_init+0x41 (stubRoutines.cpp:302)
      V [jvm.dll+0x7fde40] init_globals2+0x70 (init.cpp:192)
      V [jvm.dll+0xf4e0bb] Threads::create_vm+0x44b (threads.cpp:576)
      V [jvm.dll+0x927962] JNI_CreateJavaVM_inner+0x82 (jni.cpp:3596)
      V [jvm.dll+0x92b60f] JNI_CreateJavaVM+0x1f (jni.cpp:3687)
      C [jli.dll+0x5377] JavaMain+0x113 (java.c:488)
      C [ucrtbase.dll+0x2268a] (no source info available)
      C [KERNEL32.DLL+0x17ac4] (no source info available)
      C [ntdll.dll+0x5a4e1] (no source info available)

            aph Andrew Haley
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: