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

SA tests fail with "ERROR: catch_mach_exception_raise: Message doesn't denote a Unix soft signal."

    XMLWordPrintable

Details

    • b21
    • x86_64, aarch64
    • os_x

    Description

      The following test failed in the JDK19 CI:

      serviceability/sa/ClhsdbJstack.java#id0

      Here's a snippet from the log file:

      Output:
      Attaching to process 85637, please wait...
      hsdb> hsdb> + verbose true
      hsdb> + jstack -v
      Command not valid until attached to a VM
      hsdb> + quit
      java version "19-ea" 2022-09-20
      Java(TM) SE Runtime Environment (fastdebug build 19-ea+14-847)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 19-ea+14-847, mixed mode)
      ERROR: catch_mach_exception_raise: Message doesn't denote a Unix soft signal. exception_type = 2, codes[0] = 1, codes[num_codes -1] = -725887583, num_codes = 2
      ERROR: attach: wait_for_exception: mach_exc_server failure
      ERROR: catch_mach_exception_raise() failed '(ipc/rcv) invalid scatter list entry' (268451853)
      Unable to connect to process ID 85637:

      Can't attach to the process. Issues with reception of the exception message.
      sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process. Issues with reception of the exception message.
      at jdk.hotspot.agent/sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:168)
      at jdk.hotspot.agent/sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach(BsdDebuggerLocal.java:282)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:637)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebuggerDarwin(HotSpotAgent.java:625)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:371)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:336)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:141)
      at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.attachDebugger(CLHSDB.java:188)
      at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:67)
      at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:44)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:281)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:500)
      Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process. Issues with reception of the exception message.
      at jdk.hotspot.agent/sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach0(Native Method)
      at jdk.hotspot.agent/sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask.doit(BsdDebuggerLocal.java:273)
      at jdk.hotspot.agent/sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:143)

      [2022-03-14T20:07:22.497792Z] Waiting for completion for process 85656
      [2022-03-14T20:07:22.497837Z] Waiting for completion finished for process 85656
       LingeredApp stdout: [];
       LingeredApp stderr: [java version "19-ea" 2022-09-20
      Java(TM) SE Runtime Environment (fastdebug build 19-ea+14-847)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 19-ea+14-847, compiled mode)
      ]
       LingeredApp exitValue = 137
      ----------System.err:(52/3427)----------

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              cjplummer Chris Plummer
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: