My MongoDB crashed on windows

log:{"t":{"$date":"2022-04-30T15:01:33.010+08: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-04-30T15:01:33.010+08:00"},"s":"F",  "c":"CONTROL",  "id":4757800, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"DBException::toString(): FileRenameFailed: \ufffdܾ\ufffd\ufffd\ufffd\ufffdʡ\ufffd\nActual exception type: class mongo::error_details::ExceptionForImpl<37,class mongo::AssertionException>\n"}}
{"t":{"$date":"2022-04-30T15:01:33.232+08:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE: {bt}","attr":{"bt":{"backtrace":[{"a":"7FF649112853","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":349,"s":"mongo::`anonymous namespace'::printWindowsStackTraceImpl","s+":"43"},{"a":"7FF6491146EE","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":256,"s":"mongo::`anonymous namespace'::myTerminate","s+":"12E"},
{"a":"7FF6491D9347","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"},
{"a":"7FF6491D9329","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FFB93E1D4E8","module":"ucrtbase.dll","s":"terminate","s+":"18"},
{"a":"7FFB8BFA1AAB","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"95B"},
{"a":"7FFB8BFA2317","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11C7"},
{"a":"7FFB8BFA40D9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},
{"a":"7FF6493C789C","module":"mongod.exe","file":"d:/a01/_work/12/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FFB969DA71D","module":"ntdll.dll","s":"_chkstk","s+":"11D"},{"a":"7FFB969649D3","module":"ntdll.dll","s":"RtlImageNtHeaderEx","s+":"483"},{"a":"7FFB969666E9","module":"ntdll.dll","s":"RtlRaiseException","s+":"2D9"},{"a":"7FFB92E34F38","module":"KERNELBASE.dll","s":"RaiseException","s+":"68"},{"a":"7FFB8B356480","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"90"},{"a":"7FF64917BEB1","module":"mongod.exe","file":"C:/data/mci/47248606fd9a23008b92cb0d96c8c674/src/build/opt/mongo/base/error_codes.cpp","line":1891,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"},{"a":"7FF64911EEE3","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"},{"a":"7FF64800D52B","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"53B"},{"a":"7FF64800CE8C","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/include/thread","line":56,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"},{"a":"7FFB93DCFB80","module":"ucrtbase.dll","s":"o__realloc_base","s+":"60"},{"a":"7FFB94B784D4","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}]}}}
{"t":{"$date":"2022-04-30T15:01:33.232+08:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF649112853","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":349,"s":"mongo::`anonymous namespace'::printWindowsStackTraceImpl","s+":"43"}}}
{"t":{"$date":"2022-04-30T15:01:33.232+08:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6491146EE","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":256,"s":"mongo::`anonymous namespace'::myTerminate","s+":"12E"}}}
{"t":{"$date":"2022-04-30T15:01:33.232+08:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6491D9347","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"}}}
{"t":{"$date":"2022-04-30T15:01:33.232+08:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6491D9329","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"}}}

This is my working environment:Tencent cloud server,Windows version: windows server 2016 DataCenter。Cpu:Inter(R) Xeon(R) Platinum 8255C ,RAM:8GB

Hello @zhu_Mr
it will help others to help when you post your message in a more readable format. You can find in Formatting code and log snippets in posts a helpful description from @Stennie_X how to do this.

Also it will help to get responses when you elaborate on

  • the system settings, versions of tools
  • what triggers the error, obviously MS Visual Studio code is involved…
  • if the issues can be recreated on another system
  • which step you have already take to narrow the issue down

Regards,
Michael