Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3126

The unit tests for options processing segfault on macOS

    XMLWordPrintableJSON

Details

    • Build Failure
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 100.5.3
    • None
    • None

    Description

      See https://evergreen.mongodb.com/lobster/evergreen/test/mongo_tools_macos_unit_68366cce6a8ea87cb5bcb64da2a7b8fc58d70a84_22_06_06_15_46_40/0/common/#bookmarks=0%2C1531&l=1&shareLine=1070 for the logs.

      It looks like the call to `terminal.IsTerminal(int(syscall.Stdin))` is causing a segfault. This was never called in the tests before, AFAICT.

      Attachments

        Issue Links

          Activity

            People

              dave.rolsky@mongodb.com Dave Rolsky
              dave.rolsky@mongodb.com Dave Rolsky
              Tim Fogarty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: