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

Crash on aarch64 JDK due to long offset

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8-aarch64, 11, 14
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      aarch64
    • OS:
      linux

      Description

      Found a crash on aarch64.
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (assembler_aarch64.hpp:251), pid=125009, tid=125020
      # guarantee(chk == -1 || chk == 0) failed: Field too big for insn
      #
      # JRE version: OpenJDK Runtime Environment (13.0.1) (build 13.0.1-testing+0-builds.shipilev.net-openjdk-jdk13-b44-20191127)
      # Java VM: OpenJDK 64-Bit Server VM (13.0.1-testing+0-builds.shipilev.net-openjdk-jdk13-b44-20191127, mixed mode, tiered, compressed oops, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x2a5b8c] Instruction_aarch64::sf(long, int, int)+0x64
      #
      # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      --------------- T H R E A D ---------------

      Current thread (0x0000ffff80607800): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=125020, stack(0x0000ffff05fd8000,0x0000ffff061d8000)]


      Current CompileTask:
      C2: 132 113 4 MyTest::toBytes (464 bytes)

      Stack: [0x0000ffff05fd8000,0x0000ffff061d8000], sp=0x0000ffff061d36d0, free space=2029k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x2a5b8c] Instruction_aarch64::sf(long, int, int)+0x64
      V [libjvm.so+0x2a7ab0] Assembler::ld_st2(RegisterImpl*, Address const&, int, int, int)+0x3e8
      V [libjvm.so+0x254a8c] loadStore(MacroAssembler, void (MacroAssembler::*)(RegisterImpl*, Address const&), RegisterImpl*, int, RegisterImpl*, int, int, int) [clone .constprop.115]+0xdc
      V [libjvm.so+0x25cb48] storeINode::emit(CodeBuffer&, PhaseRegAlloc*) const+0x138
      V [libjvm.so+0x4c3c7c] Compile::scratch_emit_size(Node const*)+0x244
      V [libjvm.so+0xa6cea4] Compile::shorten_branches(unsigned int*, Compile::BufferSizingData&)+0x22c
      V [libjvm.so+0xa74f88] Compile::Output()+0x778
      V [libjvm.so+0x4ccd6c] Compile::Code_Gen()+0x40c
      V [libjvm.so+0x4cff38] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xc28
      V [libjvm.so+0x405f10] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x168
      V [libjvm.so+0x4d8558] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x2f8
      V [libjvm.so+0x4d97c8] CompileBroker::compiler_thread_loop()+0x3d0
      V [libjvm.so+0xcede08] JavaThread::thread_main_inner()+0xb8
      V [libjvm.so+0xcf3d18] Thread::call_run()+0x108
      V [libjvm.so+0xa5d560] thread_native_entry(Thread*)+0xf8
      C [libpthread.so.0+0x7bb0] start_thread+0xb4

        Attachments

          Activity

            People

            • Assignee:
              aph Andrew Haley
              Reporter:
              wzhuo Wang Zhuo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: