How to avoid this error "terminate() called. An exception is active; attempting to gather more information"?

Hello Dears,
The “mongod” service stopped after the following error displayed in log file,
Notes : Operating system : windows server 2019 , Mongo version 4.4

{"t":{"$date":"2021-02-25T02:12:58.430+04: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":"2021-02-25T02:12:58.430+04:00"},"s":"F",  "c":"CONTROL",  "id":4757800, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"DBException::toString(): FileRenameFailed: Access is denied\nActual exception type: class mongo::error_details::ExceptionForImpl<37,class mongo::AssertionException>\n"}}



{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE: {bt}","attr":{"bt":{"backtrace":[{"a":"7FF6B562AAE3","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":349,"s":"mongo::`anonymous namespace'::printWindowsStackTraceImpl","s+":"43"},{"a":"7FF6B562C97E","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":256,"s":"mongo::`anonymous namespace'::myTerminate","s+":"12E"},{"a":"7FF6B56EFFC7","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"},{"a":"7FF6B56EFFA9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FFD4391DFF8","module":"ucrtbase.dll","s":"terminate","s+":"18"},{"a":"7FFD34AB1ABF","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"96F"},{"a":"7FFD34AB232B","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11DB"},{"a":"7FFD34AB40E9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},{"a":"7FF6B58CD9B4","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FFD46BC468F","module":"ntdll.dll","s":"_chkstk","s+":"11F"},{"a":"7FFD46B24BEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"},{"a":"7FFD46B289E6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"},{"a":"7FFD43469149","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FFD35DA6210","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"},{"a":"7FF6B5693A01","module":"mongod.exe","file":"C:/data/mci/ec2715fda96eb965d8ebeac00b80092c/src/build/opt/mongo/base/error_codes.cpp","line":1877,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"},{"a":"7FF6B5637323","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"},{"a":"7FF6B457F66E","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5DE"},{"a":"7FF6B457EF2C","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"},{"a":"7FFD438D1FFA","module":"ucrtbase.dll","s":"o_exp","s+":"5A"},{"a":"7FFD441281F4","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}]}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B562AAE3","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":349,"s":"mongo::`anonymous namespace'::printWindowsStackTraceImpl","s+":"43"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B562C97E","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":256,"s":"mongo::`anonymous namespace'::myTerminate","s+":"12E"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B56EFFC7","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B56EFFA9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD4391DFF8","module":"ucrtbase.dll","s":"terminate","s+":"18"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD34AB1ABF","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"96F"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD34AB232B","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11DB"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD34AB40E9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B58CD9B4","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD46BC468F","module":"ntdll.dll","s":"_chkstk","s+":"11F"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD46B24BEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD46B289E6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD43469149","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD35DA6210","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B5693A01","module":"mongod.exe","file":"C:/data/mci/ec2715fda96eb965d8ebeac00b80092c/src/build/opt/mongo/base/error_codes.cpp","line":1877,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B5637323","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"}}}

{"t":{"$date":"2021-02-25T02:12:58.609+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B457F66E","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5DE"}}}

{"t":{"$date":"2021-02-25T02:12:58.610+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B457EF2C","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"}}}

{"t":{"$date":"2021-02-25T02:12:58.610+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD438D1FFA","module":"ucrtbase.dll","s":"o_exp","s+":"5A"}}}

{"t":{"$date":"2021-02-25T02:12:58.610+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD441281F4","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}}}

{"t":{"$date":"2021-02-25T02:12:58.610+04:00"},"s":"F",  "c":"CONTROL",  "id":23134,   "ctx":"ftdc","msg":"Unhandled exception","attr":{"exceptionString":"0xE0000001","addressString":"0x00007FFD43469149"}}

{"t":{"$date":"2021-02-25T02:12:58.610+04:00"},"s":"F",  "c":"CONTROL",  "id":23136,   "ctx":"ftdc","msg":"*** stack trace for unhandled exception:"}

{"t":{"$date":"2021-02-25T02:12:58.611+04:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE: {bt}","attr":{"bt":{"backtrace":[{"a":"7FFD43469149","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FF6B562C169","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":97,"s":"mongo::`anonymous namespace'::endProcessWithSignal","s+":"19"},{"a":"7FF6B562C98D","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":257,"s":"mongo::`anonymous namespace'::myTerminate","s+":"13D"},{"a":"7FF6B56EFFC7","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"},{"a":"7FF6B56EFFA9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FFD4391DFF8","module":"ucrtbase.dll","s":"terminate","s+":"18"},{"a":"7FFD34AB1ABF","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"96F"},{"a":"7FFD34AB232B","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11DB"},{"a":"7FFD34AB40E9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},{"a":"7FF6B58CD9B4","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FFD46BC468F","module":"ntdll.dll","s":"_chkstk","s+":"11F"},{"a":"7FFD46B24BEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"},{"a":"7FFD46B289E6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"},{"a":"7FFD43469149","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FFD35DA6210","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"},{"a":"7FF6B5693A01","module":"mongod.exe","file":"C:/data/mci/ec2715fda96eb965d8ebeac00b80092c/src/build/opt/mongo/base/error_codes.cpp","line":1877,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"},{"a":"7FF6B5637323","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"},{"a":"7FF6B457F66E","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5DE"},{"a":"7FF6B457EF2C","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"},{"a":"7FFD438D1FFA","module":"ucrtbase.dll","s":"o_exp","s+":"5A"},{"a":"7FFD441281F4","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}]}}}

{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD43469149","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"}}}

{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B562C169","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":97,"s":"mongo::`anonymous namespace'::endProcessWithSignal","s+":"19"}}}

{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B562C98D","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":257,"s":"mongo::`anonymous namespace'::myTerminate","s+":"13D"}}}

{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B56EFFC7","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"}}}

{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B56EFFA9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"}}}

{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD4391DFF8","module":"ucrtbase.dll","s":"terminate","s+":"18"}}}

{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD34AB1ABF","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"96F"}}}

{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD34AB232B","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11DB"}}}

{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD34AB40E9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"}}}

{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B58CD9B4","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"}}}
{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD46BC468F","module":"ntdll.dll","s":"_chkstk","s+":"11F"}}}
{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD46B24BEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"}}}
{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD46B289E6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"}}}
{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD43469149","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"}}}
{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD35DA6210","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"}}}
{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B5693A01","module":"mongod.exe","file":"C:/data/mci/ec2715fda96eb965d8ebeac00b80092c/src/build/opt/mongo/base/error_codes.cpp","line":1877,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"}}}
{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B5637323","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"}}}
{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B457F66E","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5DE"}}}
{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6B457EF2C","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"}}}
{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD438D1FFA","module":"ucrtbase.dll","s":"o_exp","s+":"5A"}}}
{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFD441281F4","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}}}

{"t":{"$date":"2021-02-25T02:12:58.612+04:00"},"s":"I",  "c":"CONTROL",  "id":23132,   "ctx":"ftdc","msg":"Writing minidump diagnostic file","attr":{"dumpName":"C:\\Program Files\\MongoDB\\Server\\4.4\\bin\\mongod.2021-02-24T22-12-58.mdmp"}}
{"t":{"$date":"2021-02-25T02:12:59.369+04:00"},"s":"F",  "c":"CONTROL",  "id":23137,   "ctx":"ftdc","msg":"*** immediate exit due to unhandled exception"}

Thanks a lot

Hi,
We’ve same issue here, did you find the root cause ?

{"t":{"$date":"2021-03-14T23:03:28.152+01: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":"2021-03-14T23:03:28.298+01:00"},"s":"F",  "c":"CONTROL",  "id":4757800, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"DBException::toString(): FileRenameFailed: Access is denied\nActual exception type: class mongo::error_details::ExceptionForImpl<37,class mongo::AssertionException>\n"}}
{"t":{"$date":"2021-03-14T23:03:41.797+01:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE: {bt}","attr":{"bt":{"backtrace":[{"a":"7FF62DEFE2F3","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":349,"s":"mongo::`anonymous namespace'::printWindowsStackTraceImpl","s+":"43"},{"a":"7FF62DF0018E","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":256,"s":"mongo::`anonymous namespace'::myTerminate","s+":"12E"},{"a":"7FF62DFC3E07","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"},{"a":"7FF62DFC3DE9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FF95276DE58","module":"ucrtbase.dll","s":"terminate","s+":"18"},{"a":"7FF9439F1ABF","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"96F"},{"a":"7FF9439F232B","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11DB"},{"a":"7FF9439F40E9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},{"a":"7FF62E19DA54","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FF9559D41BF","module":"ntdll.dll","s":"_chkstk","s+":"11F"},{"a":"7FF955934BEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"},{"a":"7FF9559389E6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"},{"a":"7FF951B396C9","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FF943D76220","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"},{"a":"7FF62DF67721","module":"mongod.exe","file":"C:/data/mci/828db7bca19a7173123cb605d6b56a03/src/build/opt/mongo/base/error_codes.cpp","line":1885,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"},{"a":"7FF62DF0AB33","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"},{"a":"7FF62CE2B6AD","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5BD"},{"a":"7FF62CE2AF8C","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"},{"a":"7FF95272268A","module":"ucrtbase.dll","s":"o_exp","s+":"5A"},{"a":"7FF952C07974","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}]}}}
{"t":{"$date":"2021-03-14T23:03:41.797+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DEFE2F3","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":349,"s":"mongo::`anonymous namespace'::printWindowsStackTraceImpl","s+":"43"}}}
{"t":{"$date":"2021-03-14T23:03:41.797+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DF0018E","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":256,"s":"mongo::`anonymous namespace'::myTerminate","s+":"12E"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DFC3E07","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DFC3DE9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"}}}

Windows Server 2019 / MongoDb 4.4

Thanks

Steve

Welcome to the community forum @Abdelrahman_N_A and @STEVE_HELDEBAUME1.

I added some formatting to make your logs more readable (see Formatting code and log snippets in posts), but both of your deployments appear to have a similar problem with file permissions.

If the MongoDB process is unable to write to an expected file or path, the process will shut down. The relevant log message in both cases includes:

“msg”:“Writing fatal message”,“attr”:{“message”:“DBException::toString(): FileRenameFailed: Access is denied\nActual exception type: class mongo::error_details::ExceptionForImpl<37,class mongo::AssertionException>\n”}}

I expect there may be more context on the operation attempted in the log lines immediately preceding the “Writing fatal error” message, but the solution should be to ensure the file & directory permissions for your MongoDB storage.dbPath and system.logPath match the user you are running the mongod.exe process as.

Regards,
Stennie

Hi Stennie,

Thanks for your answer.

Unfortunately there is no log before the error…
Please find complete trace

{"t":{"$date":"2021-03-14T09:36:44.125+01:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn637","msg":"Connection ended","attr":{"remote":"127.0.0.1:49697","connectionId":637,"connectionCount":26}}
{"t":{"$date":"2021-03-14T23:03:28.152+01: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":"2021-03-14T23:03:28.298+01:00"},"s":"F",  "c":"CONTROL",  "id":4757800, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"DBException::toString(): FileRenameFailed: Access is denied\nActual exception type: class mongo::error_details::ExceptionForImpl<37,class mongo::AssertionException>\n"}}
{"t":{"$date":"2021-03-14T23:03:41.797+01:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE: {bt}","attr":{"bt":{"backtrace":[{"a":"7FF62DEFE2F3","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":349,"s":"mongo::`anonymous namespace'::printWindowsStackTraceImpl","s+":"43"},{"a":"7FF62DF0018E","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":256,"s":"mongo::`anonymous namespace'::myTerminate","s+":"12E"},{"a":"7FF62DFC3E07","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"},{"a":"7FF62DFC3DE9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FF95276DE58","module":"ucrtbase.dll","s":"terminate","s+":"18"},{"a":"7FF9439F1ABF","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"96F"},{"a":"7FF9439F232B","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11DB"},{"a":"7FF9439F40E9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},{"a":"7FF62E19DA54","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FF9559D41BF","module":"ntdll.dll","s":"_chkstk","s+":"11F"},{"a":"7FF955934BEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"},{"a":"7FF9559389E6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"},{"a":"7FF951B396C9","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FF943D76220","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"},{"a":"7FF62DF67721","module":"mongod.exe","file":"C:/data/mci/828db7bca19a7173123cb605d6b56a03/src/build/opt/mongo/base/error_codes.cpp","line":1885,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"},{"a":"7FF62DF0AB33","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"},{"a":"7FF62CE2B6AD","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5BD"},{"a":"7FF62CE2AF8C","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"},{"a":"7FF95272268A","module":"ucrtbase.dll","s":"o_exp","s+":"5A"},{"a":"7FF952C07974","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}]}}}
{"t":{"$date":"2021-03-14T23:03:41.797+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DEFE2F3","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":349,"s":"mongo::`anonymous namespace'::printWindowsStackTraceImpl","s+":"43"}}}
{"t":{"$date":"2021-03-14T23:03:41.797+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DF0018E","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":256,"s":"mongo::`anonymous namespace'::myTerminate","s+":"12E"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DFC3E07","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DFC3DE9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF95276DE58","module":"ucrtbase.dll","s":"terminate","s+":"18"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF9439F1ABF","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"96F"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF9439F232B","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11DB"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF9439F40E9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62E19DA54","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF9559D41BF","module":"ntdll.dll","s":"_chkstk","s+":"11F"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF955934BEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF9559389E6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF951B396C9","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF943D76220","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DF67721","module":"mongod.exe","file":"C:/data/mci/828db7bca19a7173123cb605d6b56a03/src/build/opt/mongo/base/error_codes.cpp","line":1885,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DF0AB33","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62CE2B6AD","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5BD"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62CE2AF8C","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF95272268A","module":"ucrtbase.dll","s":"o_exp","s+":"5A"}}}
{"t":{"$date":"2021-03-14T23:03:41.798+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF952C07974","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}}}
{"t":{"$date":"2021-03-14T23:03:41.800+01:00"},"s":"F",  "c":"CONTROL",  "id":23134,   "ctx":"ftdc","msg":"Unhandled exception","attr":{"exceptionString":"0xE0000001","addressString":"0x00007FF951B396C9"}}
{"t":{"$date":"2021-03-14T23:03:41.800+01:00"},"s":"F",  "c":"CONTROL",  "id":23136,   "ctx":"ftdc","msg":"*** stack trace for unhandled exception:"}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE: {bt}","attr":{"bt":{"backtrace":[{"a":"7FF951B396C9","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FF62DEFF979","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":97,"s":"mongo::`anonymous namespace'::endProcessWithSignal","s+":"19"},{"a":"7FF62DF0019D","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":257,"s":"mongo::`anonymous namespace'::myTerminate","s+":"13D"},{"a":"7FF62DFC3E07","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"},{"a":"7FF62DFC3DE9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FF95276DE58","module":"ucrtbase.dll","s":"terminate","s+":"18"},{"a":"7FF9439F1ABF","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"96F"},{"a":"7FF9439F232B","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11DB"},{"a":"7FF9439F40E9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},{"a":"7FF62E19DA54","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FF9559D41BF","module":"ntdll.dll","s":"_chkstk","s+":"11F"},{"a":"7FF955934BEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"},{"a":"7FF9559389E6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"},{"a":"7FF951B396C9","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FF943D76220","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"},{"a":"7FF62DF67721","module":"mongod.exe","file":"C:/data/mci/828db7bca19a7173123cb605d6b56a03/src/build/opt/mongo/base/error_codes.cpp","line":1885,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"},{"a":"7FF62DF0AB33","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"},{"a":"7FF62CE2B6AD","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5BD"},{"a":"7FF62CE2AF8C","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"},{"a":"7FF95272268A","module":"ucrtbase.dll","s":"o_exp","s+":"5A"},{"a":"7FF952C07974","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}]}}}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF951B396C9","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"}}}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DEFF979","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":97,"s":"mongo::`anonymous namespace'::endProcessWithSignal","s+":"19"}}}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DF0019D","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":257,"s":"mongo::`anonymous namespace'::myTerminate","s+":"13D"}}}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DFC3E07","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"}}}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DFC3DE9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"}}}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF95276DE58","module":"ucrtbase.dll","s":"terminate","s+":"18"}}}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF9439F1ABF","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"96F"}}}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF9439F232B","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11DB"}}}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF9439F40E9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"}}}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62E19DA54","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"}}}
{"t":{"$date":"2021-03-14T23:03:41.802+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF9559D41BF","module":"ntdll.dll","s":"_chkstk","s+":"11F"}}}
{"t":{"$date":"2021-03-14T23:03:41.803+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF955934BEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"}}}
{"t":{"$date":"2021-03-14T23:03:41.803+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF9559389E6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"}}}
{"t":{"$date":"2021-03-14T23:03:41.803+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF951B396C9","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"}}}
{"t":{"$date":"2021-03-14T23:03:41.803+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF943D76220","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"}}}
{"t":{"$date":"2021-03-14T23:03:41.803+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DF67721","module":"mongod.exe","file":"C:/data/mci/828db7bca19a7173123cb605d6b56a03/src/build/opt/mongo/base/error_codes.cpp","line":1885,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"}}}
{"t":{"$date":"2021-03-14T23:03:41.803+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62DF0AB33","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"}}}
{"t":{"$date":"2021-03-14T23:03:41.803+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62CE2B6AD","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5BD"}}}
{"t":{"$date":"2021-03-14T23:03:41.803+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF62CE2AF8C","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"}}}
{"t":{"$date":"2021-03-14T23:03:41.803+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF95272268A","module":"ucrtbase.dll","s":"o_exp","s+":"5A"}}}
{"t":{"$date":"2021-03-14T23:03:41.803+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF952C07974","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}}}
{"t":{"$date":"2021-03-14T23:03:41.804+01:00"},"s":"I",  "c":"CONTROL",  "id":23131,   "ctx":"ftdc","msg":"Failed to open minidump file","attr":{"dumpName":"C:\\Program Files\\MongoDB\\Server\\4.4\\bin\\mongod.2021-03-14T22-03-41.mdmp","error":"Access is denied."}}
{"t":{"$date":"2021-03-14T23:03:41.804+01:00"},"s":"F",  "c":"CONTROL",  "id":23137,   "ctx":"ftdc","msg":"*** immediate exit due to unhandled exception"}

Thanks,

Steve

Hi All,

Any solution for this error? I have the same error and mongo crash.
Same version of mongo 4.4 and windows server 2019.

Any help?

Best Regards,

Have you checked memory utilization that time?

Hi,

We have 32Gb in our server, the process has taken 12 GB.

What is “id”:4757800" is the same that @STEVE_HELDEBAUME1 and @Abdelrahman_N_A put?

And what is ctx":“ftdc” ?

“FileRenameFailed” it is permissions? it is another process using file?
We mongodb as windows service.

Any ideia?

Best Regards