Send SIGSTOP to all processes before attaching to any

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • STM 2020-06-29
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We can prevent processes from getting unstuck when the hang analyzer attaches to them by sending SIGSTOP to all of them first. Commands that run in process threads should still work if we use these commands:

      (gdb) handle SIGSTOP ignore
      
      (gdb) handle SIGSTOP noprint
      

            Assignee:
            Mikhail Shchatko
            Reporter:
            Raiden Worley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: