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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      Platforms 12 (04/01/16)

      Description

      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".

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: