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

The unit tests for options processing segfault on macOS

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 100.5.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: