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

capture ucontext_t in sigaction handler to increase diagnosability of core dumps

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      The sigaction handler can accept ucontext_t. This information is useful to examine the exact state of the register file at crash. It would be particularly useful on aarch64 which maintains stack frames via a linked list in the fp register.

      Currently our handler ignores this parameter.

      void abruptQuitWithAddrSignal(int signalNum, siginfo_t* siginfo, void*) {
      ...
      }
      

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: