Fix hang analyzer crash when process_ids is empty

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.12
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • Fully Compatible
    • ALL
    • v8.1, v8.0, v7.0, v6.0, v5.0
    • Correctness Backport Lounge, 2025-02-04, 2025-02-18
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The hang analyzer crashes with ValueError when process_ids is an empty string:
      ValueError: invalid literal for int() with base 10: ''
      When pids is an empty list ([]), ",".join([...]) returns an empty string (""), which is not None

              Assignee:
              Steve McClure
              Reporter:
              Juan Gu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: