Windows event 7034 "the MongoDB Server (MongoDB) service terminated unexpectedly"

Hello,

For an unknown reason the service managing my MongoDb server crashes regularly causing a windows event 7034 “the MongoDB Server (MongoDB) service terminated unexpectedly”.
However i can’t figure out why.

I checked the logs looking for an error and got the following lines

{"t":{"$date":"2024-02-14T05:12:35.169+01:00"},"s":"F",  "c":"CONTROL",  "id":6384300, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"DBException::toString(): FileRenameFailed: Acc\ufffds refus\ufffd\nActual exception type: class mongo::error_details::ExceptionForImpl<37,class mongo::AssertionException>\n\n"}}
{"t":{"$date":"2024-02-14T05:12:35.169+01:00"},"s":"F",  "c":"CONTROL",  "id":6384300, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"\n"}}

{"t":{"$date":"2024-02-14T05:12:59.675+01:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE","attr":{"bt":{"backtrace":[{"a":"7FF75EE6D731","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":336,"s":"mongo::printStackTrace","s+":"41"},{"a":"7FF75EE70EF8","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":261,"s":"mongo::`anonymous namespace'::myTerminate","s+":"E8"},{"a":"7FF75EF22CF7","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":87,"s":"mongo::stdx::dispatch_impl","s+":"17"},{"a":"7FF75EF22CD9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":91,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FFF3180DE58","module":"ucrtbase.dll","s":"terminate","s+":"18"},{"a":"7FFF234F1AAB","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"95B"},{"a":"7FFF234F2317","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11C7"},{"a":"7FFF234F4119","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},{"a":"7FF75F160EEC","module":"mongod.exe","file":"d:/a01/_work/43/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FFF3494509F","module":"ntdll.dll","s":"_chkstk","s+":"11F"},{"a":"7FFF348A4CEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"},{"a":"7FFF348A8AE6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"},{"a":"7FFF30A449B9","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FFF243766C0","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"},{"a":"7FF75EEE8C5D","module":"mongod.exe","file":"C:/data/mci/dfefef4a18018d98a9c5c798766336c0/src/build/opt/mongo/base/error_codes.cpp","line":2592,"s":"mongo::error_details::throwExceptionForStatus","s+":"42D"},{"a":"7FF75EE7AA2E","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":282,"s":"mongo::uassertedWithLocation","s+":"19E"},{"a":"7FF75CFCB450","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":256,"s":"mongo::FTDCController::doLoop","s+":"5B0"},{"a":"7FF75CFCAD3C","module":"mongod.exe","file":"C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.31.31103/include/thread","line":56,"s":"std::thread::_Invoke<std::tuple<`mongo::stdx::thread::thread<`mongo::FTDCController::start'::`2'::<lambda_2>,0>'::`1'::<lambda_4_> >,0>","s+":"2C"},{"a":"7FFF317C268A","module":"ucrtbase.dll","s":"o_exp","s+":"5A"},{"a":"7FFF32587AB4","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}]}},"tags":[]}

{"t":{"$date":"2024-02-14T05:12:59.675+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF75EEE8C5D","module":"mongod.exe","file":"C:/data/mci/dfefef4a18018d98a9c5c798766336c0/src/build/opt/mongo/base/error_codes.cpp","line":2592,"s":"mongo::error_details::throwExceptionForStatus","s+":"42D"}}}

{"t":{"$date":"2024-02-14T05:12:59.679+01:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE","attr":{"bt":{"backtrace":[{"a":"7FFF30A449B9","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FF75EE70579","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":103,"s":"mongo::`anonymous namespace'::endProcessWithSignal","s+":"19"},{"a":"7FF75EE70F07","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":262,"s":"mongo::`anonymous namespace'::myTerminate","s+":"F7"},{"a":"7FF75EF22CF7","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":87,"s":"mongo::stdx::dispatch_impl","s+":"17"},{"a":"7FF75EF22CD9","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":91,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FFF3180DE58","module":"ucrtbase.dll","s":"terminate","s+":"18"},{"a":"7FFF234F1AAB","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"95B"},{"a":"7FFF234F2317","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11C7"},{"a":"7FFF234F4119","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},{"a":"7FF75F160EEC","module":"mongod.exe","file":"d:/a01/_work/43/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FFF3494509F","module":"ntdll.dll","s":"_chkstk","s+":"11F"},{"a":"7FFF348A4CEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"},{"a":"7FFF348A8AE6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"},{"a":"7FFF30A449B9","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FFF243766C0","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"},{"a":"7FF75EEE8C5D","module":"mongod.exe","file":"C:/data/mci/dfefef4a18018d98a9c5c798766336c0/src/build/opt/mongo/base/error_codes.cpp","line":2592,"s":"mongo::error_details::throwExceptionForStatus","s+":"42D"},{"a":"7FF75EE7AA2E","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":282,"s":"mongo::uassertedWithLocation","s+":"19E"},{"a":"7FF75CFCB450","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":256,"s":"mongo::FTDCController::doLoop","s+":"5B0"},{"a":"7FF75CFCAD3C","module":"mongod.exe","file":"C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.31.31103/include/thread","line":56,"s":"std::thread::_Invoke<std::tuple<`mongo::stdx::thread::thread<`mongo::FTDCController::start'::`2'::<lambda_2>,0>'::`1'::<lambda_4_> >,0>","s+":"2C"},{"a":"7FFF317C268A","module":"ucrtbase.dll","s":"o_exp","s+":"5A"},{"a":"7FFF32587AB4","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}]}},"tags":[]}

{"t":{"$date":"2024-02-14T05:12:59.679+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF75EEE8C5D","module":"mongod.exe","file":"C:/data/mci/dfefef4a18018d98a9c5c798766336c0/src/build/opt/mongo/base/error_codes.cpp","line":2592,"s":"mongo::error_details::throwExceptionForStatus","s+":"42D"}}}

{"t":{"$date":"2024-02-14T05:12:59.680+01:00"},"s":"I",  "c":"CONTROL",  "id":23131,   "ctx":"ftdc","msg":"Failed to open minidump file","attr":{"dumpName":"C:\\Program Files\\MongoDB\\Server\\7.0\\bin\\mongod.2024-02-14T04-12-59.mdmp","error":"Acc\ufffds refus\ufffd."}}
{"t":{"$date":"2024-02-14T05:12:59.680+01:00"},"s":"F",  "c":"CONTROL",  "id":23137,   "ctx":"ftdc","msg":"*** immediate exit due to unhandled exception"}

Could the error be linked to the server not beeing able to open the file C:\Program Files\MongoDB\Server\7.0\bin\mongod.2024-02-14T04-12-59.mdmp ?

1 Like

This is a big trouble.

Hi,

we have similar issues. Here is a little bit more of data. Our server version is 7.0.5 on a Windows Server 21H2 (OS Build 20348.2700)

{"t":{"$date":"2024-11-27T08:15:17.058+01:00"},"s":"I",  "c":"FTDC",     "id":20631,   "ctx":"ftdc","msg":"Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost","attr":{"error":{"code":0,"codeName":"OK"}}}
{"t":{"$date":"2024-11-27T08:15:17.116+01:00"},"s":"F",  "c":"CONTROL",  "id":6384300, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"terminate() called. An exception is active; attempting to gather more information\n"}}
{"t":{"$date":"2024-11-27T08:15:17.116+01:00"},"s":"F",  "c":"CONTROL",  "id":6384300, "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\n"}}
{"t":{"$date":"2024-11-27T08:15:17.116+01:00"},"s":"F",  "c":"CONTROL",  "id":6384300, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"\n"}}
{"t":{"$date":"2024-11-27T08:15:17.462+01:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE","attr":{"bt":{"backtrace":[{"a":"7FF605617E31","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":336,"s":"mongo::printStackTrace","s+":"41"},{"a":"7FF60561B5F8","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":261,"s":"mongo::`anonymous namespace'::myTerminate","s+":"E8"},{"a":"7FF6056CD677","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":87,"s":"mongo::stdx::dispatch_impl","s+":"17"},{"a":"7FF6056CD659","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":91,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FFA16ADC202","module":"ucrtbase.dll","s":"terminate","s+":"22"},{"a":"7FFA0DA31AAB","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"95B"},{"a":"7FFA0DA32317","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11C7"},{"a":"7FFA0DA3237A","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"122A"},{"a":"7FFA0DA34159","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},{"a":"7FF60590BAFC","module":"mongod.exe","file":"d:/a01/_work/43/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FFA18D647EF","module":"ntdll.dll","s":"_chkstk","s+":"12F"},{"a":"7FFA18CF192E","module":"ntdll.dll","s":"RtlVirtualUnwind2","s+":"35E"},{"a":"7FFA18D0FB01","module":"ntdll.dll","s":"RtlRaiseException","s+":"1F1"},{"a":"7FFA163EF14C","module":"KERNELBASE.dll","s":"RaiseException","s+":"6C"},{"a":"7FFA0E466720","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"},{"a":"7FF6056935DD","module":"mongod.exe","file":"C:/data/mci/f539ee551cee53269db6cd5d7b1e9cb0/src/build/opt/mongo/base/error_codes.cpp","line":2592,"s":"mongo::error_details::throwExceptionForStatus","s+":"42D"},{"a":"7FF60562512E","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":282,"s":"mongo::uassertedWithLocation","s+":"19E"},{"a":"7FF60376E000","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":248,"s":"mongo::FTDCController::doLoop","s+":"590"},{"a":"7FF60376D90C","module":"mongod.exe","file":"C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.31.31103/include/thread","line":56,"s":"std::thread::_Invoke<std::tuple<`mongo::stdx::thread::thread<`mongo::FTDCController::start'::`2'::<lambda_2>,0>'::`1'::<lambda_4_> >,0>","s+":"2C"},{"a":"7FFA16A86B4C","module":"ucrtbase.dll","s":"recalloc","s+":"5C"},{"a":"7FFA17864CB0","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"10"}]}},"tags":[]}
{"t":{"$date":"2024-11-27T08:15:17.462+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF605617E31","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":336,"s":"mongo::printStackTrace","s+":"41"}}}
{"t":{"$date":"2024-11-27T08:15:17.462+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF60561B5F8","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":261,"s":"mongo::`anonymous namespace'::myTerminate","s+":"E8"}}}
{"t":{"$date":"2024-11-27T08:15:17.462+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF6056CD677","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":87,"s":"mongo::stdx::dispatch_impl","s+":"17"}}}
{"t":{"$date":"2024-11-27T08:15:17.462+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF6056CD659","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":91,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"}}}
{"t":{"$date":"2024-11-27T08:15:17.462+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA16ADC202","module":"ucrtbase.dll","s":"terminate","s+":"22"}}}
{"t":{"$date":"2024-11-27T08:15:17.462+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA0DA31AAB","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"95B"}}}
{"t":{"$date":"2024-11-27T08:15:17.462+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA0DA32317","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11C7"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA0DA3237A","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"122A"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA0DA34159","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF60590BAFC","module":"mongod.exe","file":"d:/a01/_work/43/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA18D647EF","module":"ntdll.dll","s":"_chkstk","s+":"12F"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA18CF192E","module":"ntdll.dll","s":"RtlVirtualUnwind2","s+":"35E"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA18D0FB01","module":"ntdll.dll","s":"RtlRaiseException","s+":"1F1"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA163EF14C","module":"KERNELBASE.dll","s":"RaiseException","s+":"6C"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA0E466720","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF6056935DD","module":"mongod.exe","file":"C:/data/mci/f539ee551cee53269db6cd5d7b1e9cb0/src/build/opt/mongo/base/error_codes.cpp","line":2592,"s":"mongo::error_details::throwExceptionForStatus","s+":"42D"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF60562512E","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":282,"s":"mongo::uassertedWithLocation","s+":"19E"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF60376E000","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":248,"s":"mongo::FTDCController::doLoop","s+":"590"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF60376D90C","module":"mongod.exe","file":"C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.31.31103/include/thread","line":56,"s":"std::thread::_Invoke<std::tuple<`mongo::stdx::thread::thread<`mongo::FTDCController::start'::`2'::<lambda_2>,0>'::`1'::<lambda_4_> >,0>","s+":"2C"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA16A86B4C","module":"ucrtbase.dll","s":"recalloc","s+":"5C"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA17864CB0","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"10"}}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"F",  "c":"CONTROL",  "id":23134,   "ctx":"ftdc","msg":"Unhandled exception","attr":{"exceptionString":"0xE0000001","addressString":"0x00007FFA163EF14C"}}
{"t":{"$date":"2024-11-27T08:15:17.463+01:00"},"s":"F",  "c":"CONTROL",  "id":23136,   "ctx":"ftdc","msg":"*** stack trace for unhandled exception:"}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE","attr":{"bt":{"backtrace":[{"a":"7FFA163EF14C","module":"KERNELBASE.dll","s":"RaiseException","s+":"6C"},{"a":"7FF60561AC79","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":103,"s":"mongo::`anonymous namespace'::endProcessWithSignal","s+":"19"},{"a":"7FF60561B607","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":262,"s":"mongo::`anonymous namespace'::myTerminate","s+":"F7"},{"a":"7FF6056CD677","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":87,"s":"mongo::stdx::dispatch_impl","s+":"17"},{"a":"7FF6056CD659","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":91,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FFA16ADC202","module":"ucrtbase.dll","s":"terminate","s+":"22"},{"a":"7FFA0DA31AAB","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"95B"},{"a":"7FFA0DA32317","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11C7"},{"a":"7FFA0DA3237A","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"122A"},{"a":"7FFA0DA34159","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},{"a":"7FF60590BAFC","module":"mongod.exe","file":"d:/a01/_work/43/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FFA18D647EF","module":"ntdll.dll","s":"_chkstk","s+":"12F"},{"a":"7FFA18CF192E","module":"ntdll.dll","s":"RtlVirtualUnwind2","s+":"35E"},{"a":"7FFA18D0FB01","module":"ntdll.dll","s":"RtlRaiseException","s+":"1F1"},{"a":"7FFA163EF14C","module":"KERNELBASE.dll","s":"RaiseException","s+":"6C"},{"a":"7FFA0E466720","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"},{"a":"7FF6056935DD","module":"mongod.exe","file":"C:/data/mci/f539ee551cee53269db6cd5d7b1e9cb0/src/build/opt/mongo/base/error_codes.cpp","line":2592,"s":"mongo::error_details::throwExceptionForStatus","s+":"42D"},{"a":"7FF60562512E","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":282,"s":"mongo::uassertedWithLocation","s+":"19E"},{"a":"7FF60376E000","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":248,"s":"mongo::FTDCController::doLoop","s+":"590"},{"a":"7FF60376D90C","module":"mongod.exe","file":"C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.31.31103/include/thread","line":56,"s":"std::thread::_Invoke<std::tuple<`mongo::stdx::thread::thread<`mongo::FTDCController::start'::`2'::<lambda_2>,0>'::`1'::<lambda_4_> >,0>","s+":"2C"},{"a":"7FFA16A86B4C","module":"ucrtbase.dll","s":"recalloc","s+":"5C"},{"a":"7FFA17864CB0","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"10"}]}},"tags":[]}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA163EF14C","module":"KERNELBASE.dll","s":"RaiseException","s+":"6C"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF60561AC79","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":103,"s":"mongo::`anonymous namespace'::endProcessWithSignal","s+":"19"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF60561B607","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":262,"s":"mongo::`anonymous namespace'::myTerminate","s+":"F7"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF6056CD677","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":87,"s":"mongo::stdx::dispatch_impl","s+":"17"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF6056CD659","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":91,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA16ADC202","module":"ucrtbase.dll","s":"terminate","s+":"22"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA0DA31AAB","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"95B"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA0DA32317","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11C7"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA0DA3237A","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"122A"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA0DA34159","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF60590BAFC","module":"mongod.exe","file":"d:/a01/_work/43/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA18D647EF","module":"ntdll.dll","s":"_chkstk","s+":"12F"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA18CF192E","module":"ntdll.dll","s":"RtlVirtualUnwind2","s+":"35E"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA18D0FB01","module":"ntdll.dll","s":"RtlRaiseException","s+":"1F1"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA163EF14C","module":"KERNELBASE.dll","s":"RaiseException","s+":"6C"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA0E466720","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF6056935DD","module":"mongod.exe","file":"C:/data/mci/f539ee551cee53269db6cd5d7b1e9cb0/src/build/opt/mongo/base/error_codes.cpp","line":2592,"s":"mongo::error_details::throwExceptionForStatus","s+":"42D"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF60562512E","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":282,"s":"mongo::uassertedWithLocation","s+":"19E"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF60376E000","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":248,"s":"mongo::FTDCController::doLoop","s+":"590"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FF60376D90C","module":"mongod.exe","file":"C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.31.31103/include/thread","line":56,"s":"std::thread::_Invoke<std::tuple<`mongo::stdx::thread::thread<`mongo::FTDCController::start'::`2'::<lambda_2>,0>'::`1'::<lambda_4_> >,0>","s+":"2C"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA16A86B4C","module":"ucrtbase.dll","s":"recalloc","s+":"5C"}}}
{"t":{"$date":"2024-11-27T08:15:17.464+01:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"Frame","attr":{"frame":{"a":"7FFA17864CB0","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"10"}}}
{"t":{"$date":"2024-11-27T08:15:17.465+01:00"},"s":"I",  "c":"CONTROL",  "id":23131,   "ctx":"ftdc","msg":"Failed to open minidump file","attr":{"dumpName":"C:\\Program Files\\MongoDB\\Server\\7.0\\bin\\mongod.2024-11-27T07-15-17.mdmp","error":"Access is denied."}}
{"t":{"$date":"2024-11-27T08:15:17.465+01:00"},"s":"F",  "c":"CONTROL",  "id":23137,   "ctx":"ftdc","msg":"*** immediate exit due to unhandled exception"}

Best regards,
Andreas

Yesterday I made some more tests on this issue and I made two changes:

First I added the user “NETWORK SERVICE” to the security settings of the bin folder (C:\Program Files\MongoDB\Server\7.0\bin) with read and write permissios. So the service can write a mini dump to the folder on the next crash.

Second I added the data (C:\Program Files\MongoDB\Server\7.0\data) and the log (C:\Program Files\MongoDB\Server\7.0\log) folders to the exceptions of the virus scanner.

Since then the service runs stable again. Maybe an automatic update of the virus scanner caused the issue because the service ran without any problems before.