Details
-
Bug
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
None
-
None
-
ALL
Description
If Ctrl+C is pressed before the mongo initializers have run (which is pretty unlikely), mongod could fail with an invariant during thread name initialization of the Ctrl+C handler thread:
mongod.exe!mongo::invariantFailed(const char * expr=0x00007ff7ada2bdc8, const char * file=0x00007ff7ada2bd98, unsigned int line=63) Line 152
|
mongod.exe!mongo::setThreadName(mongo::StringData name) Line 63
|
mongod.exe!mongo::Client::initThread(const char * desc=0x00007ff7ada64050, mongo::ServiceContext * service=0x000000ed0714db30, mongo::AbstractMessagingPort * mp=0x0000000000000000) Line 89
|
mongod.exe!mongo::Client::initThread(const char * desc=0x00007ff7ada64050, mongo::AbstractMessagingPort * mp=0x0000000000000000) Line 70
|
mongod.exe!mongo::`anonymous namespace'::consoleTerminate(const char * controlCodeName=0x00007ff7ada640a8) Line 94
|
mongod.exe!mongo::`anonymous namespace'::CtrlHandler(unsigned long fdwCtrlType=0) Line 103
|
KERNELBASE.dll!CtrlRoutine()
|
kernel32.dll!BaseThreadInitThunk()
|
ntdll.dll!RtlUserThreadStart()
|