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

unwind the `ucontext_t` passed to sigaction handlers

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Dev Tools 2019-08-12, Dev Tools 2019-08-26

      What we do now is have the signal handler create a new context where it's standing, and this is not quite right. We don't want to unwind the handler itself. We want to unwind the context that was executing when the handler took over, and that's provided as a ucontext_t to the sigaction handler (currently ignored). The context argument can and should be used as our unwinding context.

       

            Assignee:
            adam.martin@mongodb.com ADAM Martin (Inactive)
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: