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

Crash in codeBuffer.cpp:1004: guarantee(sect->end() <= tend) failed: sanity

XMLWordPrintable

    • b13
    • aarch64
    • os_x

      Hotspot crashed during a macOS x86-64 cross-compilation build on an Aarch64 host:

      Ref: https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk/job/jdk-mac-x64-temurin/389/console
      09:08:59 * For target support_interim-jmods_support__create_java.base.jmod_exec:
      09:08:59 #
      09:08:59 # A fatal error has been detected by the Java Runtime Environment:
      09:08:59 #
      09:08:59 # Internal Error (codeBuffer.cpp:1004), pid=63784, tid=29187
      09:08:59 # guarantee(sect->end() <= tend) failed: sanity
      09:08:59 #
      09:08:59 # JRE version: OpenJDK Runtime Environment Temurin-25+9-202502130859 (25.0+9) (build 25-beta+9-ea)
      09:08:59 # Java VM: OpenJDK 64-Bit Server VM Temurin-25+9-202502130859 (25-beta+9-ea, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
      09:08:59 # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      09:08:59 #
      09:08:59 # An error report file with more information is saved as:
      09:08:59 # /Users/admin/workspace/workspace/build-scripts/jobs/jdk/jdk-mac-x64-temurin/workspace/build/src/make/hs_err_pid63784.log
      09:08:59 #

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

      Current thread (0x000000014083a400): JavaThread "C2 CompilerThread0" daemon [_thread_in_vm, id=29187, stack(0x0000000170f38000,0x000000017113b000) (2060K)]

      Stack: [0x0000000170f38000,0x000000017113b000], sp=0x000000017113a1e0, free space=2056k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x7dabc8] VMError::report(outputStream*, bool)+0x1150 (codeBuffer.cpp:1004)
      V [libjvm.dylib+0x7ddae8] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long)+0x538
      V [libjvm.dylib+0x2cc934] print_error_for_unit_test(char const*, char const*, char*)+0x0
      V [libjvm.dylib+0x26a624] CodeBuffer::verify_section_allocation()+0x2f0
      V [libjvm.dylib+0x26a25c] CodeBuffer::~CodeBuffer()+0x20
      V [libjvm.dylib+0x70fd18] initialize_stubs(StubGenBlobId, int, int, char const*, char const*, char const*)+0x15c
      V [libjvm.dylib+0x71008c] compiler_stubs_init(bool)+0xa8
      V [libjvm.dylib+0x1e1424] C2Compiler::initialize()+0x7c
      V [libjvm.dylib+0x298e94] CompileBroker::init_compiler_runtime()+0xd0
      V [libjvm.dylib+0x299708] CompileBroker::compiler_thread_loop()+0x210
      V [libjvm.dylib+0x47a0f4] JavaThread::thread_main_inner()+0xa8
      V [libjvm.dylib+0x76b314] Thread::call_run()+0xc0
      V [libjvm.dylib+0x629558] thread_native_entry(Thread*)+0x118
      C [libsystem_pthread.dylib+0x7034] _pthread_start+0x88

            adinn Andrew Dinn
            aleonard Andrew Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: