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

[ubsan] left-shift of negative value -2 in src/hotspot/share/code/relocInfo.hpp:415:21

XMLWordPrintable

      src/hotspot/share/code/relocInfo.hpp:415:21
      trace:

         #0 0x7fabe1bd25d2 in relocInfo::jint_from_data(short*) src/hotspot/share/code/relocInfo.hpp:415
          #1 0x7fabe1bd25d2 in relocInfo::jint_data_at(int, short*, int) src/hotspot/share/code/relocInfo.hpp:423
          #2 0x7fabe1bd25d2 in Relocation::unpack_1_int() src/hotspot/share/code/relocInfo.hpp:748
          #3 0x7fabe1bd25d2 in static_stub_Relocation::unpack_data() src/hotspot/share/code/relocInfo.cpp:446
          #4 0x7fabe1bd25d2 in RelocIterator::static_stub_reloc() src/hotspot/share/code/relocInfo.hpp:1437
          #5 0x7fabe1bd25d2 in RelocIterator::reloc() src/hotspot/share/code/relocInfo.cpp:239
          #6 0x7fabe2871b47 in CodeBuffer::relocate_code_to(CodeBuffer*) const src/hotspot/share/asm/codeBuffer.cpp:800
          #7 0x7fabe2876029 in CodeBuffer::copy_code_to(CodeBlob*) src/hotspot/share/asm/codeBuffer.cpp:737
          #8 0x7fabe3b9efcb in CodeBuffer::copy_code_and_locs_to(CodeBlob*) src/hotspot/share/asm/codeBuffer.hpp:715
          #9 0x7fabe3b9efcb in nmethod::nmethod(Method*, CompilerType, int, int, int, int, unsigned char*, CodeOffsets*, int, DebugInformationRecorder*, Dependencies*, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, CompLevel, char*, int, JVMCINMethodData*) src/hotspot/share/code/nmethod.cpp:1526
          #10 0x7fabe3ba0239 in nmethod::new_nmethod(methodHandle const&, int, int, CodeOffsets*, int, DebugInformationRecorder*, Dependencies*, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, CompLevel, char*, int, JVMCINMethodData*) src/hotspot/share/code/nmethod.cpp:1186
          #11 0x7fabe26f6055 in ciEnv::register_method(ciMethod*, int, CodeOffsets*, int, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, bool, bool, bool, bool, int) src/hotspot/share/ci/ciEnv.cpp:1063
          #12 0x7fabe23d2d88 in Compilation::install_code(int) src/hotspot/share/c1/c1_Compilation.cpp:424
          #13 0x7fabe23d8b14 in Compilation::compile_method() src/hotspot/share/c1/c1_Compilation.cpp:487
         ... (rest of output omitted)

            Unassigned Unassigned
            azafari Afshin Zafari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: