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

writing to stdout via C++ stream sometimes fails on OS X 10.10

    • Fully Compatible
    • ALL
    • Platforms 12 (04/01/16)

      When the system log appender writes to the stdout stream, sometimes the write fails and the fail bit gets set on the stream. I can reproduce this just by starting mongod – the first write to stdout that typically fails is the one from the HostnameCanonicalization thread saying that it is starting up.
      The problem occurs even with binaries built on 10.8 and run on 10.10. The errno set after the stream goes bad seems to be either "0" or "2".

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: