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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 17
    • 17
    • hotspot
    • b23
    • aarch64
    • os_x

      ...
      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

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

              Created:
              Updated:
              Resolved: