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

runtime/handshake/HandshakeDirectTest.java causes "monitor end should be strictly below the frame pointer" assertion failure on AArch64

XMLWordPrintable

    • b21
    • aarch64
    • linux
    • Verified

        This test fails intermittently (maybe 1 in 50 attempts) in our CI, but so far only on one type of machine (CPU is Arm Neoverse N2).

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/home/ent-user/jdk_src/src/hotspot/cpu/aarch64/frame_aarch64.cpp:348), pid=1299863, tid=1299905
        # assert((intptr_t*) result < fp()) failed: monitor end should be strictly below the frame pointer
        #
        # JRE version: OpenJDK Runtime Environment (22.0) (fastdebug build 22-internal-git-57bc96e5c)
        # Java VM: OpenJDK 64-Bit Server VM (fastdebug 22-internal-git-57bc96e5c, mixed mode, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
        # Problematic frame:
        # V [libjvm.so+0xb43454] frame::interpreter_frame_monitor_end() const+0xf4
        #

        The full crash dump is attached.

        I've also seen this assertion fail once or twice with the same test:

         # assert(has_last_Java_frame()) failed: must have last_Java_sp() when suspended

              coleenp Coleen Phillimore
              ngasson Nick Gasson
              Votes:
              0 Vote for this issue
              Watchers:
              20 Start watching this issue

                Created:
                Updated:
                Resolved: