gdb ./mongo GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb 6 22:51:23 UTC 2013) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ..... done (gdb) run Starting program: /Users/luke/code/mongo/mongo Reading symbols for shared libraries ++++................................ done MongoDB shell version: 2.5.3-pre- connecting to: test Server has startup warnings: 2013-09-24T20:37:28.039+0000 [initandlisten] 2013-09-24T20:37:28.039+0000 [initandlisten] ** NOTE: This is a development version (2.5.3-pre-) of MongoDB. 2013-09-24T20:37:28.039+0000 [initandlisten] ** Not recommended for production. 2013-09-24T20:37:28.039+0000 [initandlisten] > db.getSiblingDB("$external").auth({ ... mechanism:"MONGODB-X509", ... user:"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US" ... }) Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 0x000000010004dbc0 in mongo::DBClientWithCommands::_auth (this=0x101a0e000, params=@0x0) at dbclient.cpp:572 572 uassert(ErrorCodes::AuthenticationFailed, (gdb) bt #0 0x000000010004dbc0 in mongo::DBClientWithCommands::_auth (this=0x101a0e000, params=@0x0) at dbclient.cpp:572 #1 0x000000010004fe99 in mongo::DBClientConnection::_auth (this=0x20000000303, params=@0x7fff5fbfe3b0) at dbclient.cpp:828 #2 0x00000001000d962e in v8::Boolean::New () at /Users/luke/code/mongo/src/third_party/v8/include/v8.h:353 #3 0x00000001000d962e in mongo::mongoAuth (scope=0x1018c6000, args=@0x1018a6fc0) at v8_db.cpp:358 #4 0x00000001000c5110 in mongo::V8Scope::v8Callback (args=@0x7fff5fbfe5d0) at engine_v8.cpp:614 #5 0x00000001001e7ef0 in Builtin_HandleApiCall (isolate=0x10072bb78) at builtins.cc:1145 #6 0x00002b9a38e06362 in ?? () #7 0x00002b9a38e4f9e1 in ?? () #8 0x00002b9a38e0c76e in ?? () #9 0x00002b9a38e113f8 in ?? () #10 0x00002b9a38e4f4c3 in ?? () #11 0x00002b9a38e0c76e in ?? () #12 0x00002b9a38e4f2f5 in ?? () #13 0x00002b9a38e0cfa7 in ?? () #14 0x00002b9a38e06116 in ?? () #15 0x0000000100217938 in Invoke (argc=1606412624, args=0x7fff5fbfe950, has_pending_exception=0x7fff5fbfe950, is_construct=3) at execution.cc:118 #16 0x00000001001cc3ab in v8::Script::Run (this=0x101916040) at api.cc:1613 #17 0x00000001000ca72d in mongo::V8Scope::exec (this=0x1018c6000, code=@0x0, name=@0x1, timeoutMs=0, assertOnError=false, reportError=true, printResult=false) at engine_v8.cpp:1088 #18 0x000000010000cb16 in _main (argc=1606415800, argv=0x7fff5fbff9f0, envp=0x1000ca4f0) at dbshell.cpp:1258 #19 0x000000010000dc0e in main (argc=771, argv=0x101916040, envp=0x10072bb78) at dbshell.cpp:1296 (gdb) bt full #0 0x000000010004dbc0 in mongo::DBClientWithCommands::_auth (this=0x101a0e000, params=@0x0) at dbclient.cpp:572 userSource = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x1018947f8 "$external" } } user = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x10189c918 "CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US" } } errmsg = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x100d42000 "�Hs" } } mechanism = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101894c48 "MONGODB-X509" } } #1 0x000000010004fe99 in mongo::DBClientConnection::_auth (this=0x20000000303, params=@0x7fff5fbfe3b0) at dbclient.cpp:828 No locals. #2 0x00000001000d962e in v8::Boolean::New () at /Users/luke/code/mongo/src/third_party/v8/include/v8.h:353 params = { _objdata = 0x1018a6fc4 "�", _holder = { px = 0x1018a6fc0 } } #3 0x00000001000d962e in mongo::mongoAuth (scope=0x1018c6000, args=@0x1018a6fc0) at v8_db.cpp:358 params = { _objdata = 0x1018a6fc4 "�", _holder = { px = 0x1018a6fc0 } } #4 0x00000001000c5110 in mongo::V8Scope::v8Callback (args=@0x7fff5fbfe5d0) at engine_v8.cpp:614 handle_scope = { isolate_ = 0x1018c8000, prev_next_ = 0x101916060, prev_limit_ = 0x101917ff0, is_closed_ = false } exceptionText = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x7fff7a314588 "" } } scope = ('mongo::V8Scope' *) 0x1018c6000 #5 0x00000001001e7ef0 in Builtin_HandleApiCall (isolate=0x10072bb78) at builtins.cc:1145 function = { location_ = 0x7fff5fbfe680 } custom = { = { _vptr$Relocatable = 0x1006f2930, isolate_ = 0x1018c8000, prev_ = 0x0 }, members of v8::internal::CustomArguments: values_ = {0x6d3f104f9, 0x1af1720354b9, 0x1af172004121, 0x1018c8000} } new_args = { implicit_args_ = 0x7fff5fbfe618, values_ = 0x7fff5fbfe688, length_ = 1, is_construct_call_ = false } heap = ('v8::internal::Heap' *) 0x20000000303 fun_data = ('v8::internal::FunctionTemplateInfo' *) 0x1af172004121 raw_call_data = ('v8::internal::Object' *) 0x0 logger = ('v8::internal::Logger' *) 0x20000000303 callback_obj = ('v8::internal::Object' *) 0x9a5fe233a39 data_obj = ('v8::internal::Object' *) 0x1af172004121 args = #6 0x00002b9a38e06362 in ?? () No symbol table info available. #7 0x00002b9a38e4f9e1 in ?? () No symbol table info available. #8 0x00002b9a38e0c76e in ?? () No symbol table info available. #9 0x00002b9a38e113f8 in ?? () No symbol table info available. #10 0x00002b9a38e4f4c3 in ?? () No symbol table info available. #11 0x00002b9a38e0c76e in ?? () No symbol table info available. #12 0x00002b9a38e4f2f5 in ?? () No symbol table info available. #13 0x00002b9a38e0cfa7 in ?? () No symbol table info available. #14 0x00002b9a38e06116 in ?? () No symbol table info available. #15 0x0000000100217938 in Invoke (argc=1606412624, args=0x7fff5fbfe950, has_pending_exception=0x7fff5fbfe950, is_construct=3) at execution.cc:118 func = ('v8::internal::JSFunction' *) 0x30000000300 recv = ('v8::internal::Object' *) 0x10072bb78 argv = ('v8::internal::Object' ***) 0x0 save = { context_ = { location_ = 0x101916050 }, dummy_ = { location_ = 0x101916058 }, prev_ = 0x0, c_entry_fp_ = 0x0 } stub_entry = (JSEntryFunction) 0 function_entry = (byte *) 0x20000000303
isolate = ('v8::internal::Isolate' *) 0x7fff5fbfe690 function = #16 0x00000001001cc3ab in v8::Script::Run (this=0x101916040) at api.cc:1613 has_pending_exception = false isolate = ('v8::internal::Isolate' *) 0x1018c8000 #17 0x00000001000ca72d in mongo::V8Scope::exec (this=0x1018c6000, code=@0x0, name=@0x1, timeoutMs=0, assertOnError=false, reportError=true, printResult=false) at engine_v8.cpp:1088 try_catch = { isolate_ = 0x1018c8000, next_ = 0x0, exception_ = 0x1af172004181, message_ = 0x0, is_verbose_ = false, can_continue_ = true, capture_message_ = true, rethrow_ = false } v8lock = { has_lock_ = true, top_level_ = true, isolate_ = 0x1018c8000 } handle_scope = { isolate_ = 0x1018c8000, prev_next_ = 0x0, prev_limit_ = 0x0, is_closed_ = false } script = { val_ = 0x101916030 } result = { val_ = 0x3c } #18 0x000000010000cb16 in _main (argc=1606415800, argv=0x7fff5fbff9f0, envp=0x1000ca4f0) at dbshell.cpp:1258 code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } code = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101a162d8 "db.getSiblingDB(\"$external\").auth({\n mechanism:\"MONGODB-X509\",\n user:\"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"\n})" } } s = {} rcLocation = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101894168 "/Users/luke/.mongorc.js" } } prompt = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101896878 "> " } } authenticationMechanism = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101894fa8 "MONGODB-CR" } } port = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x7fff7a314588 "" } } sslPEMKeyPassword = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x7fff7a314588 "" } } sslCAFile = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x7fff7a314588 "" } } sslCRLFile = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x7fff7a314588 "" } } authStringStream = { >> = { >> = { >> = { = { _vptr$ios_base = 0x7fff7a313d38, _M_precision = 6, _M_width = 0, _M_flags = 4098, _M_exception = std::_S_goodbit, _M_streambuf_state = std::_S_goodbit, _M_callbacks = 0x0, _M_word_zero = { _M_pword = 0x0, _M_iword = 0 }, _M_local_word = {{ _M_pword = 0x0, _M_iword = 0 }, { _M_pword = 0x0, _M_iword = 0 }, { _M_pword = 0x0, _M_iword = 0 }, { _M_pword = 0x0, _M_iword = 0 }, { _M_pword = 0x0, _M_iword = 0 }, { _M_pword = 0x0, _M_iword = 0 }, { _M_pword = 0x0, _M_iword = 0 }, { _M_pword = 0x0, _M_iword = 0 }}, _M_word_size = 8, _M_word = 0x7fff5fbfed88, _M_ios_locale = { _M_impl = 0x7fff7a317880 } }, members of std::basic_ios >: _M_tie = 0x0, _M_fill = 0 '\0', _M_fill_init = false, _M_streambuf = 0x7fff5fbfecf8, _M_ctype = 0x7fff7a317ab0, _M_num_put = 0x7fff7a317dd0, _M_num_get = 0x7fff7a317dc0 }, members of std::basic_istream >: _vptr$basic_istream = 0x7fff7a313ce8, _M_gcount = 0 }, >> = { members of std::basic_ostream >: _vptr$basic_ostream = 0x7fff7a313d10 }, }, members of std::basic_stringstream,std::allocator >: _M_stringbuf = { >> = { _vptr$basic_streambuf = 0x7fff7a313b80, _M_in_beg = 0x1018a6018 "(function() { \nDB.prototype._defaultAuthenticationMechanism = \"MONGODB-CR\";\n}())11~1/RELEASE_X86_64", _M_in_cur = 0x1018a6018 "(function() { \nDB.prototype._defaultAuthenticationMechanism = \"MONGODB-CR\";\n}())11~1/RELEASE_X86_64", _M_in_end = 0x1018a6019 "function() { \nDB.prototype._defaultAuthenticationMechanism = \"MONGODB-CR\";\n}())11~1/RELEASE_X86_64", _M_out_beg = 0x1018a6018 "(function() { \nDB.prototype._defaultAuthenticationMechanism = \"MONGODB-CR\";\n}())11~1/RELEASE_X86_64", _M_out_cur = 0x1018a6068 "11~1/RELEASE_X86_64", _M_out_end = 0x1018a6218 "", _M_buf_locale = { _M_impl = 0x7fff7a317880 } }, members of std::basic_stringbuf,std::allocator >: _M_mode = 24, _M_string = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x1018a6018 "(function() { \nDB.prototype._defaultAuthenticationMechanism = \"MONGODB-CR\";\n}())11~1/RELEASE_X86_64" } } } } rcGlobalLocation = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x1018945b8 "/etc/mongorc.js" } } url = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x101896018 "test" } } dbhost = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x7fff7a314588 "" } } files = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::_Vector_base >::_Vector_impl: _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0 } }, } username = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x7fff7a314588 "" } } sslPEMKeyFile = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x7fff7a314588 "" } } password = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x7fff7a314588 "" } } authenticationDatabase = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x7fff7a314588 "" } } script = { _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::string::_Alloc_hider: _M_p = 0x7fff7a314588 "" } } #19 0x000000010000dc0e in main (argc=771, argv=0x101916040, envp=0x10072bb78) at dbshell.cpp:1296 No locals.