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

DEATH_TEST not handling EINTR from its getline call

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Internal Code
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2021-02-22

    Description

      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.

      Attachments

        Activity

          People

            billy.donahue@mongodb.com Billy Donahue
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: