DEATH_TEST not handling EINTR from its getline call

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2021-02-22
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      small writeup attached.

      When running a DEATH_TEST on macos under lldb, the DeathTest::_doTest getline loop received an EINTR result. This broke out of the loop and aborted the test.

       

      But EINTR is an expected spurious errno and should be tolerated, and the loop should be reentered.

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: