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

UBSan: ad_ppc.hpp:4276:11: runtime error: shift exponent 100 is too large for 32-bit type 'unsigned int'

XMLWordPrintable

    • ppc
    • linux

      With ubsan enabled binaries we run into the error below when running HS jtreg test
      compiler/c2/irTests/TestScheduleSmallMethod.java
      compiler/intrinsics/unsafe/HeapByteBufferTest.java#id1

      ad_ppc.hpp:4276:11: runtime error: shift exponent 100 is too large for 32-bit type 'unsigned int'
          #0 0x7fff8237c618 in Scheduling::AddNodeToBundle(Node*, Block const*) (/build_ubsan/images/jdk/lib/server/libjvm.so+0x65fc618)
          #1 0x7fff82383378 in Scheduling::DoScheduling() (/build_ubsan/images/jdk/lib/server/libjvm.so+0x6603378)
          #2 0x7fff8239e810 in PhaseOutput::Output() (/build_ubsan/images/jdk/lib/server/libjvm.so+0x661e810)
          #3 0x7fff80808b8c in Compile::Code_Gen() (/build_ubsan/images/jdk/lib/server/libjvm.so+0x4a88b8c)
          #4 0x7fff80815f44 in Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*) (/build_ubsan/images/jdk/lib/server/libjvm.so+0x4a95f44)
          #5 0x7fff803acc20 in C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*) (/build_ubsan/images/jdk/lib/server/libjvm.so+0x462cc20)
          #6 0x7fff8082e188 in CompileBroker::invoke_compiler_on_method(CompileTask*) (/build_ubsan/images/jdk/lib/server/libjvm.so+0x4aae188)
          #7 0x7fff80830350 in CompileBroker::compiler_thread_loop() (/build_ubsan/images/jdk/lib/server/libjvm.so+0x4ab0350)
          #8 0x7fff8088709c in CompilerThread::thread_entry(JavaThread*, JavaThread*) (/build_ubsan/images/jdk/lib/server/libjvm.so+0x4b0709c)
          #9 0x7fff81435a68 in JavaThread::thread_main_inner() [clone .part.0] (/build_ubsan/images/jdk/lib/server/libjvm.so+0x56b5a68)
          #10 0x7fff82de2c94 in Thread::call_run() (/build_ubsan/images/jdk/lib/server/libjvm.so+0x7062c94)
          #11 0x7fff8233323c in thread_native_entry(Thread*) (/build_ubsan/images/jdk/lib/server/libjvm.so+0x65b323c)
          #12 0x7fff875c9714 in start_thread (/lib64/libpthread.so.0+0x9714)
          #13 0x7fff8697b774 in __GI___clone (/lib64/libc.so.6+0x13b774)

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

              Created:
              Updated:
              Resolved: