-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.2.0-rc6
-
Component/s: Shell
-
None
-
Fully Compatible
-
Windows
-
-
Platforms E (01/08/16), Platforms 10 (02/19/16)
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Pressing tab for completion in the shell, multiple times in a row in quick succession causes the crash below on Windows (haven't tried on Linux). The shell was started with the --nodb flag.
E:\workspace\mongo>mongo.exe --nodb MongoDB shell version: 3.2.0-rc6-7-gb1f0d16 > var r = Repli<TAB><TAB><TAB><TAB>...<TAB> 2015-12-03T15:57:27.347-0500 I CONTROL [thread1] *** C runtime error: e:\workspace\mongo\src\third_party\mozjs-38\extract\js\src\jit\jitframes.cpp(361) : Run-Time Check Failure #3 - The variable 'machine' is being used without being initialized., terminating 2015-12-03T15:57:27.380-0500 I - [thread1] Fatal Assertion 17006
Stack:
mongo.exe!mongo::fassertFailed(int msgid=17006) Line 171 C++ mongo.exe!mongo::crtDebugCallback(int __formal=1, char * originalMessage=0x0000001b2d4f06a0, int * __formal=0x0000001b2d4f0648) Line 282 C++ msvcr120d.dll!_VCrtDbgReportW(int nRptType=1, void * returnAddress=0x00007ff6fc0c4759, const wchar_t * szFile=0x0000001b2d4f89d0, int nLine=361, const wchar_t * szModule=0x0000001b2d4f87c0, const wchar_t * szFormat=0x00007ff6fcbd2c80, char * arglist=0x0000001b2d4f8798) Line 609 C msvcr120d.dll!_CrtDbgReportWV(int nRptType=1, void * returnAddress=0x00007ff6fc0c4759, const wchar_t * szFile=0x0000001b2d4f89d0, int nLine=361, const wchar_t * szModule=0x0000001b2d4f87c0, const wchar_t * szFormat=0x00007ff6fcbd2c80, char * arglist=0x0000001b2d4f8798) Line 263 C++ msvcr120d.dll!_CrtDbgReportW(int nRptType=1, const wchar_t * szFile=0x0000001b2d4f89d0, int nLine=361, const wchar_t * szModule=0x0000001b2d4f87c0, const wchar_t * szFormat=0x00007ff6fcbd2c80, ...) Line 279 C++ mongo.exe!failwithmessage(void * retaddr=0x00007ff6fb908e61, int crttype=1, int errnum, const char * msg=0x0000001b2d4f9680) Line 203 C++ mongo.exe!_RTC_UninitUse(const char * varname=0x00007ff6fc99e580) Line 475 C++ > mongo.exe!js::jit::JitFrameIterator::machineState() Line 361 C++ mongo.exe!js::jit::SnapshotIterator::SnapshotIterator(const js::jit::JitFrameIterator & iter={...}) Line 1740 C++ mongo.exe!js::jit::InlineFrameIterator::resetOn(const js::jit::JitFrameIterator * iter=0x0000001b2d4fa078) Line 2353 C++ mongo.exe!js::jit::InlineFrameIterator::InlineFrameIterator(JSContext * cx=0x000001f64e0e2b50, const js::jit::JitFrameIterator * iter=0x0000001b2d4fa078) Line 2316 C++ mongo.exe!js::jit::GetPcScript(JSContext * cx=0x000001f64e0e2b50, JSScript * * scriptRes=0x0000001b2d4fa508, unsigned char * * pcRes=0x0000001b2d4fa628) Line 1606 C++ mongo.exe!JSContext::currentScript(unsigned char * * ppc=0x0000001b2d4fa628, JSContext::MaybeAllowCrossCompartment allowCrossCompartment=DONT_ALLOW_CROSS_COMPARTMENT) Line 463 C++ mongo.exe!js::jit::InvokeFunction(JSContext * cx=0x000001f64e0e2b50, JS::Handle<JSObject *> obj={...}, unsigned int argc=0, JS::Value * argv=0x0000001b2d4fa7a0, JS::Value * rval=0x0000001b2d4fa760) Line 81 C++