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

ubsan: codeBuffer.cpp:985:11: runtime error: pointer index expression with base 0x0000000003d8 overflowed to 0xffffffffd399f3d1

XMLWordPrintable

    • x86_64
    • linux

      When running with ubsan - enabled fastdebug binaries on Linux x86_64, the following issue shows up in test
      compiler/jvmci/errors/TestInvalidCompilationResult :
      src/hotspot/share/asm/codeBuffer.cpp:985:11: runtime error: pointer index expression with base 0x0000000003d8 overflowed to 0xffffffffd399f3d1
          #0 0x7f96d48d651e in CodeBuffer::verify_section_allocation() src/hotspot/share/asm/codeBuffer.cpp:985
          #1 0x7f96d48d6b24 in CodeBuffer::~CodeBuffer() src/hotspot/share/asm/codeBuffer.cpp:129
          #2 0x7f96d5849611 in CodeInstaller::install(JVMCICompiler*, long, bool, JVMCIObject, objArrayHandle, CodeBlob*&, JVMCINMethodHandle&, JVMCIObject, FailedSpeculation**, char*, int, JVMCIEnv*) src/hotspot/share/jvmci/jvmciCodeInstaller.cpp:831
          #3 0x7f96d58ad5d8 in c2v_installCode0(JNIEnv_*, _jobject*, long, long, bool, _jobject*, _jobjectArray*, _jobject*, long, _jbyteArray*) src/hotspot/share/jvmci/jvmciCompilerToVM.cpp:1113
          #4 0x7f96b78bbe7b (<unknown module>)

            mbaesken Matthias Baesken
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: