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

[11u] CompileClassWithDebugTest crashes on linuxaarch64: should be MOVZ or ADRP or LDR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 11.0.12
    • hotspot
    • aarch64
    • linux

      In our nightly tests we see rarely (8 times since 3/2021) the following crash on linuxaarch64.
      This looks like an aot failure. If so, this only applies to 11 because later aot has been removed.

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (.../linuxaarch64/jdk11u-dev/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp:236), pid=2158782, tid=2159166
      # fatal error: should be MOVZ or ADRP or LDR (literal)
      #
      # JRE version: OpenJDK Runtime Environment (11.0.19) (fastdebug build 11.0.19-internal+0-adhoc..jdk11u-dev)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.19-internal+0-adhoc..jdk11u-dev, mixed mode, aot, tiered, jvmci, compressed oops, g1 gc, linux-aarch64)
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to .../jtreg_hotspot_tier1_work/JTwork/scratch/core.2158782)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      Host: ..., AArch64, 16 cores, 60G, Red Hat Enterprise Linux release 9.1 (Plow)

      Stack: [0x0000ffff5c178000,0x0000ffff5c378000], sp=0x0000ffff5c375f40, free space=2039k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x14bec6c] VMError::report_and_die(int, char const*, char const*, std::__va_list, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x1a4
      V [libjvm.so+0x8a4080] report_fatal(VMErrorType, char const*, int, char const*, ...)+0x118
      V [libjvm.so+0x10cb0e0] NativeMovConstReg::verify()+0x70
      V [libjvm.so+0x7f3f80] CompiledDirectStaticCall::set_stub_to_clean(static_stub_Relocation*)+0x40
      V [libjvm.so+0x7fa3ec] CompiledMethod::clean_ic_stubs()+0x584
      V [libjvm.so+0x7fb528] CompiledMethod::do_unloading_parallel(BoolObjectClosure*, bool)+0x2b0
      V [libjvm.so+0x9fe7e0] G1ParallelCleaningTask::work(unsigned int)+0x890
      V [libjvm.so+0x1530698] GangWorker::run_task(WorkData)+0x98
      V [libjvm.so+0x15307f4] GangWorker::loop()+0x3c
      V [libjvm.so+0x1401324] Thread::call_run()+0x7c
      V [libjvm.so+0x1155b30] thread_native_entry(Thread*)+0x100
      C [libc.so.6+0x82a08] start_thread+0x2d4


        There are no Sub-Tasks for this issue.

            Unassigned Unassigned
            goetz Goetz Lindenmaier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: