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

SIGSEGV in HandshakeDirectTest.java at frame::sender(RegisterMap*)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 17
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:

      Description

      So far has only been observed on linux-aarch64
      Seems to be a prod build only issue.
      Intermittent: ~ 3 failures out of 50 runs

      -----------------------------------------
      --------------- T H R E A D ---------------

      Current thread (0x0000fffd2400b000): JavaThread "5" [_thread_in_vm, id=3082347, stack(0x0000fffd2f120000,0x0000fffd2f320000)] _threads_hazard_ptr=0x0000fffd0002a2e0

      Stack: [0x0000fffd2f120000,0x0000fffd2f320000], sp=0x0000fffd2f31c750, free space=2033k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x65e410] frame::sender(RegisterMap*) const+0x140
      V [libjvm.so+0x65af08] frame::real_sender(RegisterMap*) const+0x18
      V [libjvm.so+0xd0d320] vframe::sender() const+0x60
      V [libjvm.so+0xd0d480] vframe::java_sender() const+0x30
      V [libjvm.so+0x401460] get_or_compute_monitor_info(JavaThread*) [clone .part.0]+0xa0
      V [libjvm.so+0x4023b8] BiasedLocking::walk_stack_and_revoke(oopDesc*, JavaThread*)+0x244
      V [libjvm.so+0x403f90] RevokeOneBias::do_thread(Thread*)+0x160
      V [libjvm.so+0x73ad54] HandshakeOperation::do_handshake(JavaThread*)+0x120
      V [libjvm.so+0x73b15c] HandshakeState::try_process(HandshakeOperation*)+0x19c
      V [libjvm.so+0x73b5d8] Handshake::execute(HandshakeClosure*, JavaThread*)+0x148
      V [libjvm.so+0x402950] BiasedLocking::single_revoke_with_handshake(Handle, JavaThread*, JavaThread*)+0xe0
      V [libjvm.so+0x4033d4] BiasedLocking::revoke(JavaThread*, Handle)+0x224
      V [libjvm.so+0xc6c6e8] ObjectSynchronizer::enter(Handle, BasicLock*, JavaThread*)+0x188
      V [libjvm.so+0xbcda4c] SharedRuntime::complete_monitor_locking_C(oopDesc*, BasicLock*, JavaThread*)+0xcc

      -----------------------------------------
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000fffd86cfe410, pid=3082313, tid=3082347
      #
      # JRE version: Java(TM) SE Runtime Environment (17.0) (build 17-internal+0-LTS-2021-06-02-2200489.mikhailo.seledtsov.master)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (17-internal+0-LTS-2021-06-02-2200489.mikhailo.seledtsov.master, mixed mode, tiered, compressed oops, compressed class ptrs, parallel gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x65e410][thread 3082377 also had an error]
        frame::sender(RegisterMap*) const+0x140

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pchilanomate Patricio Chilano Mateo
              Reporter:
              mseledtsov Mikhailo Seledtsov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: