Uploaded image for project: 'Core Server'
  1. Core Server
  2. 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)

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.15, 3.6.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Platforms 2017-10-02

       ./bin/mongo --port 27017
      MongoDB shell version v3.4.7
      connecting to: mongodb://127.0.0.1:27017/
      2017-08-26T19:28:14.818-0700 I -        [thread1] Invariant failure !driverName.empty() && !driverVersion.empty() && !osType.empty() && !osName.empty() && !osArchitecture.empty() && !osVersion.empty() src/mongo/rpc/metadata/client_metadata.cpp 350
      2017-08-26T19:28:14.818-0700 I -        [thread1] 
      
      ***aborting after invariant() failure
      
      
      2017-08-26T19:28:14.835-0700 F -        [thread1] Got signal: 6 (Aborted).
      
       0x7fb6ef9225f1 0x7fb6ef921809 0x7fb6ef921ced 0x7fb6ee3ed7e0 0x7fb6ee07c495 0x7fb6ee07dc75 0x7fb6ef5baeda 0x7fb6ef7ea06d 0x7fb6ef7ea3c3 0x7fb6ef65f788 0x7fb6ef660055 0x7fb6ef6506d9 0x7fb6ef68f381 0x7fb6ef83cd62 0x7fb6ef82fc43 0x7fb6eff5776f 0x7fb6eff534ea 0x7fb6eff57173 0x7fb6eff5db5f 0x7fb6eff5dcc9 0x7fb6efe047ca 0x7fb6efe04870 0x7fb6ef82b151 0x7fb6ef88bead 0x7fb6ef82e098 0x7fb6ef85a735 0x7fb6ef80f90c 0x7fb6f01a15b0 0x7fb6ee3e5aa1 0x7fb6ee132bad
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"7FB6EF0C4000","o":"85E5F1","s":"_ZN5mongo15printStackTraceERSo"},{"b":"7FB6EF0C4000","o":"85D809"},{"b":"7FB6EF0C4000","o":"85DCED"},{"b":"7FB6EE3DE000","o":"F7E0"},{"b":"7FB6EE04A000","o":"32495","s":"gsignal"},{"b":"7FB6EE04A000","o":"33C75","s":"abort"},{"b":"7FB6EF0C4000","o":"4F6EDA","s":"_ZN5mongo17invariantOKFailedEPKcRKNS_6StatusES1_j"},{"b":"7FB6EF0C4000","o":"72606D","s":"_ZN5mongo14ClientMetadata16serializePrivateENS_10StringDataES1_S1_S1_S1_S1_S1_PNS_14BSONObjBuilderE"},{"b":"7FB6EF0C4000","o":"7263C3","s":"_ZN5mongo14ClientMetadata9serializeENS_10StringDataES1_S1_PNS_14BSONObjBuilderE"},{"b":"7FB6EF0C4000","o":"59B788","s":"_ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortENS_10StringDataE"},{"b":"7FB6EF0C4000","o":"59C055","s":"_ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortENS_10StringDataERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE"},{"b":"7FB6EF0C4000","o":"58C6D9","s":"_ZNK5mongo16ConnectionString7connectENS_10StringDataERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdPKNS_8MongoURIE"},{"b":"7FB6EF0C4000","o":"5CB381","s":"_ZNK5mongo8MongoURI7connectENS_10StringDataERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5boost8optionalIdEE"},{"b":"7FB6EF0C4000","o":"778D62","s":"_ZN5mongo5mozjs17MongoExternalInfo9constructEP9JSContextN2JS8CallArgsE"},{"b":"7FB6EF0C4000","o":"76BC43","s":"_ZN5mongo5mozjs7smUtils9constructINS0_17MongoExternalInfoEEEbP9JSContextjPN2JS5ValueE"},{"b":"7FB6EF0C4000","o":"E9376F"},{"b":"7FB6EF0C4000","o":"E8F4EA"},{"b":"7FB6EF0C4000","o":"E93173","s":"_ZN2js9RunScriptEP9JSContextRNS_8RunStateE"},{"b":"7FB6EF0C4000","o":"E99B5F","s":"_ZN2js13ExecuteKernelEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectRKNS2_5ValueENS_11ExecuteTypeENS_16AbstractFramePtrEPS9_"},{"b":"7FB6EF0C4000","o":"E99CC9","s":"_ZN2js7ExecuteEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectPNS2_5ValueE"},{"b":"7FB6EF0C4000","o":"D407CA"},{"b":"7FB6EF0C4000","o":"D40870","s":"_Z16JS_ExecuteScriptP9JSContextN2JS6HandleIP8JSScriptEENS1_13MutableHandleINS1_5ValueEEE"},{"b":"7FB6EF0C4000","o":"767151","s":"_ZN5mongo5mozjs14MozJSImplScope4execENS_10StringDataERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbbbi"},{"b":"7FB6EF0C4000","o":"7C7EAD","s":"_ZN5mongo11shell_utils9initScopeERNS_5ScopeE"},{"b":"7FB6EF0C4000","o":"76A098","s":"_ZN5mongo5mozjs14MozJSImplScopeC1EPNS0_17MozJSScriptEngineE"},{"b":"7FB6EF0C4000","o":"796735","s":"_ZN5mongo5mozjs15MozJSProxyScope10implThreadEPv"},{"b":"7FB6EF0C4000","o":"74B90C","s":"_ZN4nspr6Thread13ThreadRoutineEPv"},{"b":"7FB6EF0C4000","o":"10DD5B0"},{"b":"7FB6EE3DE000","o":"7AA1"},{"b":"7FB6EE04A000","o":"E8BAD","s":"clone"}],"processInfo":{ "mongodbVersion" : "3.4.7", "gitVersion" : "cf38c1b8a0a8dca4a11737581beafef4fe120bcd", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "2.6.32-673.26.1.lve1.4.29.el6.x86_64", "version" : "#1 SMP Tue Jun 20 13:27:00 EDT 2017", "machine" : "x86_64" }, "somap" : [ { "b" : "7FB6EF0C4000", "elfType" : 3, "buildId" : "1F3D9B928D8531FF1F61563A01EE9944D480E79C" }, { "b" : "7FFCD2CC1000", "elfType" : 3, "buildId" : "1B633659CA5B9AA30E85BD80843190847E725196" }, { "b" : "7FB6EEC99000", "path" : "/lib64/librt.so.1", "elfType" : 3, "buildId" : "FDF3A36FFFE08375456D59DA959EAB2FC30B6186" }, { "b" : "7FB6EEA95000", "path" : "/lib64/libdl.so.2", "elfType" : 3, "buildId" : "1F7E85410384392BC51FA7324961719A10125F31" }, { "b" : "7FB6EE811000", "path" : "/lib64/libm.so.6", "elfType" : 3, "buildId" : "8A852AC42F0B64F0F30C760EBBCFA3FE4A228F12" }, { "b" : "7FB6EE5FB000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3, "buildId" : "26C55A3BB8F4FF6A9AD905ADBEAA827DF2FCF1E6" }, { "b" : "7FB6EE3DE000", "path" : "/lib64/libpthread.so.0", "elfType" : 3, "buildId" : "85104ECFE42C606B31C2D0D0D2E5DACD3286A341" }, { "b" : "7FB6EE04A000", "path" : "/lib64/libc.so.6", "elfType" : 3, "buildId" : "2533679DD4BBED6235F656BFE81FD078587CD73E" }, { "b" : "7FB6EEEA1000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "1CC2165E019D43F71FDE0A47AF9F4C8EB5E51963" } ] }}
       mongo(_ZN5mongo15printStackTraceERSo+0x41) [0x7fb6ef9225f1]
       mongo(+0x85D809) [0x7fb6ef921809]
       mongo(+0x85DCED) [0x7fb6ef921ced]
       libpthread.so.0(+0xF7E0) [0x7fb6ee3ed7e0]
       libc.so.6(gsignal+0x35) [0x7fb6ee07c495]
       libc.so.6(abort+0x175) [0x7fb6ee07dc75]
       mongo(_ZN5mongo17invariantOKFailedEPKcRKNS_6StatusES1_j+0x0) [0x7fb6ef5baeda]
       mongo(_ZN5mongo14ClientMetadata16serializePrivateENS_10StringDataES1_S1_S1_S1_S1_S1_PNS_14BSONObjBuilderE+0x22BD) [0x7fb6ef7ea06d]
       mongo(_ZN5mongo14ClientMetadata9serializeENS_10StringDataES1_S1_PNS_14BSONObjBuilderE+0xA3) [0x7fb6ef7ea3c3]
       mongo(_ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortENS_10StringDataE+0x2F8) [0x7fb6ef65f788]
       mongo(_ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortENS_10StringDataERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x35) [0x7fb6ef660055]
       mongo(_ZNK5mongo16ConnectionString7connectENS_10StringDataERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdPKNS_8MongoURIE+0xB99) [0x7fb6ef6506d9]
       mongo(_ZNK5mongo8MongoURI7connectENS_10StringDataERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5boost8optionalIdEE+0xC1) [0x7fb6ef68f381]
       mongo(_ZN5mongo5mozjs17MongoExternalInfo9constructEP9JSContextN2JS8CallArgsE+0x6A2) [0x7fb6ef83cd62]
       mongo(_ZN5mongo5mozjs7smUtils9constructINS0_17MongoExternalInfoEEEbP9JSContextjPN2JS5ValueE+0x33) [0x7fb6ef82fc43]
       mongo(+0xE9376F) [0x7fb6eff5776f]
       mongo(+0xE8F4EA) [0x7fb6eff534ea]
       mongo(_ZN2js9RunScriptEP9JSContextRNS_8RunStateE+0x113) [0x7fb6eff57173]
       mongo(_ZN2js13ExecuteKernelEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectRKNS2_5ValueENS_11ExecuteTypeENS_16AbstractFramePtrEPS9_+0xCF) [0x7fb6eff5db5f]
       mongo(_ZN2js7ExecuteEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectPNS2_5ValueE+0x99) [0x7fb6eff5dcc9]
       mongo(+0xD407CA) [0x7fb6efe047ca]
       mongo(_Z16JS_ExecuteScriptP9JSContextN2JS6HandleIP8JSScriptEENS1_13MutableHandleINS1_5ValueEEE+0x60) [0x7fb6efe04870]
       mongo(_ZN5mongo5mozjs14MozJSImplScope4execENS_10StringDataERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbbbi+0x181) [0x7fb6ef82b151]
       mongo(_ZN5mongo11shell_utils9initScopeERNS_5ScopeE+0x4CD) [0x7fb6ef88bead]
       mongo(_ZN5mongo5mozjs14MozJSImplScopeC1EPNS0_17MozJSScriptEngineE+0x19D8) [0x7fb6ef82e098]
       mongo(_ZN5mongo5mozjs15MozJSProxyScope10implThreadEPv+0x95) [0x7fb6ef85a735]
       mongo(_ZN4nspr6Thread13ThreadRoutineEPv+0x1C) [0x7fb6ef80f90c]
       mongo(+0x10DD5B0) [0x7fb6f01a15b0]
       libpthread.so.0(+0x7AA1) [0x7fb6ee3e5aa1]
       libc.so.6(clone+0x6D) [0x7fb6ee132bad]
      -----  END BACKTRACE  -----
      Aborted
      

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            aftabkhan aftab muhammed khan
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: