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

capture ucontext_t in sigaction handler to increase diagnosability of core dumps

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.3
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Platforms 2018-02-12, Platforms 2018-08-27, Platforms 2018-09-10, Platforms 2018-09-24
    • 0

      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:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: