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

capture ucontext_t in sigaction handler to increase diagnosability of core dumps

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.3
    • None
    • Fully Compatible
    • Platforms 2018-02-12, Platforms 2018-08-27, Platforms 2018-09-10, Platforms 2018-09-24
    • 0

    Description

      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*) {
      ...
      }
      

      Attachments

        Issue Links

          Activity

            People

              billy.donahue@mongodb.com Billy Donahue
              mark.benvenuto@mongodb.com Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: