-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.4.13
-
Component/s: None
-
None
Version 3.4.13
When I run "mongo" inside a container that's running mongodb, I get :
bash-4.3# mongo
MongoDB shell version v3.4.13
connecting to: mongodb://127.0.0.1:27017
2018-03-13T20:19:49.547+0000 I - [thread1] Invariant failure !driverName.empty() && !driverVersion.empty() && !osType.empty() && !osName.empty() && !osArchitecture.empty() && !osVersion.empty() src/mongo/rpc/metadata/client_metadata.cpp 350
2018-03-13T20:19:49.548+0000 I - [thread1]
***aborting after invariant() failure
2018-03-13T20:19:49.559+0000 F - [thread1] Got signal: 6 (Aborted).
0x559e18285c01 0x559e18284e19 0x559e182852fd 0x7f3f71361390 0x7f3f70fbb428 0x7f3f70fbd02a 0x559e17ef180e 0x559e18131abd 0x559e18131e10 0x559e17fa0fd1 0x559e17fa1895 0x559e17f8e339 0x559e17fc6511 0x559e18185802 0x559e181787d3 0x559e188c24df 0x559e188be1ba 0x559e188c1ee3 0x559e188c897f 0x559e188c8b01 0x559e1876f7ca 0x559e1876f870 0x559e18173b21 0x559e181d511d 0x559e18176bd2 0x559e181a32c5 0x559e181571ec 0x559e18b0b820 0x7f3f713576ba 0x7f3f7108d3dd
----- BEGIN BACKTRACE -----
{"backtrace":[
,
{"b":"559E179E4000","o":"8A0E19"},
{"b":"559E179E4000","o":"8A12FD"},
{"b":"7F3F71350000","o":"11390"},
{"b":"7F3F70F86000","o":"35428","s":"gsignal"},
{"b":"7F3F70F86000","o":"3702A","s":"abort"},
{"b":"559E179E4000","o":"50D80E","s":"_ZN5mongo17invariantOKFailedEPKcRKNS_6StatusES1_j"},
{"b":"559E179E4000","o":"74DABD","s":"_ZN5mongo14ClientMetadata16serializePrivateENS_10StringDataES1_S1_S1_S1_S1_S1_PNS_14BSONObjBuilderE"},
{"b":"559E179E4000","o":"74DE10","s":"_ZN5mongo14ClientMetadata9serializeENS_10StringDataES1_S1_PNS_14BSONObjBuilderE"},
{"b":"559E179E4000","o":"5BCFD1","s":"_ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortENS_10StringDataE"},
{"b":"559E179E4000","o":"5BD895","s":"_ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortENS_10StringDataERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE"},
{"b":"559E179E4000","o":"5AA339","s":"_ZNK5mongo16ConnectionString7connectENS_10StringDataERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdPKNS_8MongoURIE"},
{"b":"559E179E4000","o":"5E2511","s":"_ZNK5mongo8MongoURI7connectENS_10StringDataERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5boost8optionalIdEE"},
{"b":"559E179E4000","o":"7A1802","s":"_ZN5mongo5mozjs17MongoExternalInfo9constructEP9JSContextN2JS8CallArgsE"},
{"b":"559E179E4000","o":"7947D3","s":"_ZN5mongo5mozjs7smUtils9constructINS0_17MongoExternalInfoEEEbP9JSContextjPN2JS5ValueE"},
{"b":"559E179E4000","o":"EDE4DF"},
{"b":"559E179E4000","o":"EDA1BA"},
{"b":"559E179E4000","o":"EDDEE3","s":"_ZN2js9RunScriptEP9JSContextRNS_8RunStateE"},
{"b":"559E179E4000","o":"EE497F","s":"_ZN2js13ExecuteKernelEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectRKNS2_5ValueENS_11ExecuteTypeENS_16AbstractFramePtrEPS9_"},
{"b":"559E179E4000","o":"EE4B01","s":"_ZN2js7ExecuteEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectPNS2_5ValueE"},
{"b":"559E179E4000","o":"D8B7CA"},
{"b":"559E179E4000","o":"D8B870","s":"_Z16JS_ExecuteScriptP9JSContextN2JS6HandleIP8JSScriptEENS1_13MutableHandleINS1_5ValueEEE"},
{"b":"559E179E4000","o":"78FB21","s":"_ZN5mongo5mozjs14MozJSImplScope4execENS_10StringDataERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbbbi"},
{"b":"559E179E4000","o":"7F111D","s":"_ZN5mongo11shell_utils9initScopeERNS_5ScopeE"},
{"b":"559E179E4000","o":"792BD2","s":"_ZN5mongo5mozjs14MozJSImplScopeC1EPNS0_17MozJSScriptEngineE"},
{"b":"559E179E4000","o":"7BF2C5","s":"_ZN5mongo5mozjs15MozJSProxyScope10implThreadEPv"},
{"b":"559E179E4000","o":"7731EC","s":"_ZN4nspr6Thread13ThreadRoutineEPv"},
{"b":"559E179E4000","o":"1127820"},
{"b":"7F3F71350000","o":"76BA"},
{"b":"7F3F70F86000","o":"1073DD","s":"clone"}],"processInfo":{ "mongodbVersion" : "3.4.13", "gitVersion" : "fbdef2ccc53e0fcc9afb570063633d992b2aae42", "compiledModules" : [], "uname" :
{ "sysname" : "Linux", "release" : "4.4.102-k8s", "version" : "#1 SMP Sun Nov 26 23:32:43 UTC 2017", "machine" : "x86_64" }, "somap" : [
{ "b" : "559E179E4000", "elfType" : 3, "buildId" : "73D6E0CE0B5D7BBCAAAB24DDE0E1A725D9DE9C34" },
{ "b" : "7FFE3C385000", "elfType" : 3, "buildId" : "407DBEE5B40D69E65144EED6E90772B42574D336" },
{ "b" : "7F3F722DC000", "path" : "/lib/x86_64-linux-gnu/libssl.so.1.0.0", "elfType" : 3, "buildId" : "DCF10134B91ED2139E3E8C72564668F5CDBA8522" },
{ "b" : "7F3F71E98000", "path" : "/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", "elfType" : 3, "buildId" : "1649272BE0CA9FA22F082DC86372B6C9959779B0" },
{ "b" : "7F3F71C90000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "F951C1E0765FCAE48F82CAFE35D1ADD36D6C9AF9" },
{ "b" : "7F3F71A8C000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "0FC788F0861846257B5F1773FBD438E95DFC1032" },
{ "b" : "7F3F71783000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "FF7A33D389E756CA381A8189291A968EA5E1F4F8" },
{ "b" : "7F3F7156D000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "68220AE2C65D65C1B6AAA12FA6765A6EC2F5F434" },
{ "b" : "7F3F71350000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "27F189EF8DB8C3734C6A678E6EF3CB0B206D58B2" },
{ "b" : "7F3F70F86000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "088A6E00A1814622219F346B41E775B8DD46C518" },
{ "b" : "7F3F72545000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "9157F205547F0EB588E2AB1F2F120B74253A43EA" } ] }}
mongo(_ZN5mongo15printStackTraceERSo+0x41) [0x559e18285c01]
mongo(+0x8A0E19) [0x559e18284e19]
mongo(+0x8A12FD) [0x559e182852fd]
libpthread.so.0(+0x11390) [0x7f3f71361390]
libc.so.6(gsignal+0x38) [0x7f3f70fbb428]
libc.so.6(abort+0x16A) [0x7f3f70fbd02a]
mongo(_ZN5mongo17invariantOKFailedEPKcRKNS_6StatusES1_j+0x0) [0x559e17ef180e]
mongo(_ZN5mongo14ClientMetadata16serializePrivateENS_10StringDataES1_S1_S1_S1_S1_S1_PNS_14BSONObjBuilderE+0x22BD) [0x559e18131abd]
mongo(_ZN5mongo14ClientMetadata9serializeENS_10StringDataES1_S1_PNS_14BSONObjBuilderE+0xA0) [0x559e18131e10]
mongo(_ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortENS_10StringDataE+0x2F1) [0x559e17fa0fd1]
mongo(ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortENS_10StringDataERNSt7_cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x35) [0x559e17fa1895]
mongo(ZNK5mongo16ConnectionString7connectENS_10StringDataERNSt7_cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdPKNS_8MongoURIE+0xB99) [0x559e17f8e339]
mongo(ZNK5mongo8MongoURI7connectENS_10StringDataERNSt7_cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5boost8optionalIdEE+0xC1) [0x559e17fc6511]
mongo(_ZN5mongo5mozjs17MongoExternalInfo9constructEP9JSContextN2JS8CallArgsE+0x6A2) [0x559e18185802]
mongo(_ZN5mongo5mozjs7smUtils9constructINS0_17MongoExternalInfoEEEbP9JSContextjPN2JS5ValueE+0x33) [0x559e181787d3]
mongo(+0xEDE4DF) [0x559e188c24df]
mongo(+0xEDA1BA) [0x559e188be1ba]
mongo(_ZN2js9RunScriptEP9JSContextRNS_8RunStateE+0x113) [0x559e188c1ee3]
mongo(ZN2js13ExecuteKernelEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectRKNS2_5ValueENS_11ExecuteTypeENS_16AbstractFramePtrEPS9+0xCF) [0x559e188c897f]
mongo(_ZN2js7ExecuteEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectPNS2_5ValueE+0xB1) [0x559e188c8b01]
mongo(+0xD8B7CA) [0x559e1876f7ca]
mongo(_Z16JS_ExecuteScriptP9JSContextN2JS6HandleIP8JSScriptEENS1_13MutableHandleINS1_5ValueEEE+0x60) [0x559e1876f870]
mongo(ZN5mongo5mozjs14MozJSImplScope4execENS_10StringDataERKNSt7_cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbbbi+0x181) [0x559e18173b21]
mongo(_ZN5mongo11shell_utils9initScopeERNS_5ScopeE+0x4BD) [0x559e181d511d]
mongo(_ZN5mongo5mozjs14MozJSImplScopeC1EPNS0_17MozJSScriptEngineE+0x1962) [0x559e18176bd2]
mongo(_ZN5mongo5mozjs15MozJSProxyScope10implThreadEPv+0x95) [0x559e181a32c5]
mongo(_ZN4nspr6Thread13ThreadRoutineEPv+0x1C) [0x559e181571ec]
mongo(+0x1127820) [0x559e18b0b820]
libpthread.so.0(+0x76BA) [0x7f3f713576ba]
libc.so.6(clone+0x6D) [0x7f3f7108d3dd]
----- END BACKTRACE -----
Aborted (core dumped)
- duplicates
-
SERVER-30857 when i try to launch ./mongo instance its crash right away even it show on other hand connection accepted from 127.0.0.1:54008 #1 (1 connection now open)
- Closed