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

Send SIGABRT as a fallback in the hang analyzer

    • Fully Compatible
    • STM 2020-10-05, STM 2020-10-19
    • 14
    • 2

      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.

            Assignee:
            carl.worley@mongodb.com Raiden Worley (Inactive)
            Reporter:
            carl.worley@mongodb.com Raiden Worley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: