Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47755

Send SIGABRT as a fallback in the hang analyzer

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      STM 2020-10-05, STM 2020-10-19
    • Linked BF Score:
      14
    • Story Points:
      2

      Description

      Due to TIG-859, the hang analyzer may fail to attach and create core dumps in macOS tests. Core dumps are often the only way to get information about process state, and lack of them may completely block Server engineers on BFs, such as the recent BF-16858.

      As a fallback measure, we should send SIGABRT to processes that the debugger has failed to create core dumps from. We have precedent from SERVER-45342 of sending externally-created SIGABRTs and logging messages to distinguish them from internally-generated aborts. Since the signal handler is a separate thread that doesn't take locks, it should work in the case of a hang.

        Attachments

          Activity

            People

            Assignee:
            carl.worley Raiden Worley
            Reporter:
            carl.worley Raiden Worley
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: