capture ucontext_t in sigaction handler to increase diagnosability of core dumps

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: