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

[macos_aarch64] java/foreign/TestDowncall.java crashes with SIGBUS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b23
    • CPU:
      aarch64
    • OS:
      os_x

      Description

      ...
      test TestDowncall.testDowncall("f12_F_FIS_DII", NON_VOID, [FLOAT, INT, STRUCT], [DOUBLE, INT, INT]): success
      test TestDowncall.testDowncall("f12_F_FIS_DIF", NON_VOID, [FLOAT, INT, STRUCT], [DOUBLE, INT, FLOAT]): success
      test TestDowncall.testDowncall("f12_F_FIS_DID", NON_VOID, [FLOAT, INT, STRUCT], [DOUBLE, INT, DOUBLE]): success
      test TestDowncall.testDowncall("f12_F_FIS_DIP", NON_VOID, [FLOAT, INT, STRUCT], [DOUBLE, INT, POINTER]): success
      test TestDowncall.testDowncall("f12_F_FIS_DFI", NON_VOID, [FLOAT, INT, STRUCT], [DOUBLE, FLOAT, INT]): success
      test TestDowncall.testDowncall("f12_F_FIS_DFF", NON_VOID, [FLOAT, INT, STRUCT], [DOUBLE, FLOAT, FLOAT]): success
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGBUS (0xa) at pc=0x00000001090c1060, pid=15770, tid=24835
      #
      # JRE version: Java(TM) SE Runtime Environment (17.0+19) (build 17-ea+19-LTS-1515)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (17-ea+19-LTS-1515, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
      # Problematic frame:
      # V [libjvm.dylib+0x8c1060] _ZN21MarkActivationClosure12do_code_blobEP8CodeBlob+0x3c
      #
      # Core dump will be written. Default location: core.15770



      Stack: [0x000000016e188000,0x000000016e38b000], sp=0x000000016e387d40, free space=2047k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x8c1060] _ZN21MarkActivationClosure12do_code_blobEP8CodeBlob+0x3c
      V [libjvm.dylib+0x8fea78] _ZN10JavaThread11nmethods_doEP15CodeBlobClosure+0x84
      V [libjvm.dylib+0x401100] _ZN14HandshakeState18process_self_innerEv+0x18c
      V [libjvm.dylib+0x400f60] _ZN14HandshakeState15process_by_selfEv+0x48
      V [libjvm.dylib+0x832690] _ZN18SafepointMechanism25process_if_requested_slowEP10JavaThread+0x54
      V [libjvm.dylib+0x8fe4b8] _ZN10JavaThread44check_safepoint_and_suspend_for_native_transEPS_+0x24
      V [libjvm.dylib+0x92395c] _ZN19ProgrammableInvoker13invoke_nativeEPFvPhES0_P10JavaThread+0x118
      V [libjvm.dylib+0x923aa8] PI_invokeNative+0x104
      J 2565 jdk.internal.foreign.abi.ProgrammableInvoker.invokeNative(JJ)V jdk.incubator.foreign@17-ea (0 bytes) @ 0x00000001189eeed0 [0x00000001189eee40+0x0000000000000090]
      C 0x00000007ea5e5808

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              akozlov Anton Kozlov
              Reporter:
              mikael Mikael Vidstedt
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: