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

mongod process crash with fatal error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • Security 2022-11-28

      mongod process crash every several hour following message

      ~

      {"t":\{"$date":"2022-05-24T20:10:58.013+09:00"}

      ,"s":"F", "c":"CONTROL", "id":4757800, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"terminate() called. An exception is active; attempting to gather more information"}} {"t":

      {"$date":"2022-05-24T20:10:58.013+09:00"}

      ,"s":"F", "c":"CONTROL", "id":4757800, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"DBException::toString(): FileRenameFailed: \ufffdv\ufffd\ufffd\ufffdZ\ufffdX\ufffd̓t\ufffd@\ufffdC\ufffd\ufffd\ufffdɃA\ufffdN\ufffdZ\ufffdX\ufffdł\ufffd\ufffd܂\ufffd\ufffd\ufffd\ufffdB\ufffdʂ̃v\ufffd\ufffd\ufffdZ\ufffdX\ufffd\ufffd\ufffdg\ufffdp\ufffd\ufffd\ufffdł\ufffd\ufffdB\nActual exception type: class mongo::error_details::ExceptionForImpl<37,class mongo::AssertionException>\n"}}~

       

      This issue probably comming from following  ec.message() returns non utf-8 character.

      https://github.com/mongodb/mongo/blob/958ad9abfc80861d3f43f44da694e83464b01e1d/src/mongo/db/ftdc/file_writer.cpp#L110

       

      "\ufffd" is unicode replacement character for unknown or unrepresentable in Unicode.

       

      ~https://stackoverflow.com/questions/18489893/what-is-the-encoding-used-by-boost-asio-error-messages~

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            x22t33c81@gmail.com Hidemi Ta
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: