capture ucontext_t in sigaction handler to increase diagnosability of core dumps

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • 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:
              DO NOT USE - Backlog - Platform Team
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: