Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29707

MongoDB server crashed because of serverStatus command of FTDC

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.4
    • Component/s: Diagnostics
    • None
    • ALL
    • Hide

      I don't know how to reproduce this crash case.

      Show
      I don't know how to reproduce this crash case.

      MongoDB server crashed because of serverStatus command of FTDC.
      And gitVersion might be different from official distribution, because I built mongod with random git version. (And I never changed wiredtiger section of serverStatus command and also FTDC)

      2017-06-18T04:14:49.000+0900 F -        [ftdc] Invalid access at address: 0
      2017-06-18T04:14:49.012+0900 F -        [ftdc] Got signal: 11 (Segmentation fault).
      
       0x7ff494a9a5ca 0x7ff494a99849 0x7ff494a99e8f 0x7ff492548370 0x7ff4955093e6 0x7ff4921bf231 0x7ff4922848d5 0x7ff4954593f3 0x7ff495493bea 0x7ff49541e08b 0x7ff4947c1bd6 0x7ff4947b6423 0x7ff4940044da 0x7ff4940055b6 0x7ff4940f8c58 0x7ff4940eb85b 0x7ff4940ef9ab 0x7ff4955058df 0x7ff492540dc5 0x7ff49226f73d
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"7FF4935A4000","o":"14F65CA","s":"_ZN5mongo15printStackTraceERSo"},{"b":"7FF4935A4000","o":"14F5849"},{"b":"7FF4935A4000","o":"14F5E8F"},{"b":"7FF492539000","o":"F370"},{"b":"7FF4935A4000","o":"1F653E6","s":"_ZdlPvRKSt9nothrow_t"},{"b":"7FF492178000","o":"47231","s":"_IO_vfprintf"},{"b":"7FF492178000","o":"10C8D5","s":"__vsnprintf_chk"},{"b":"7FF4935A4000","o":"1EB53F3","s":"__wt_vsnprintf_len_incr"},{"b":"7FF4935A4000","o":"1EEFBEA"},{"b":"7FF4935A4000","o":"1E7A08B"},{"b":"7FF4935A4000","o":"121DBD6","s":"_ZN5mongo14WiredTigerUtil17exportTableToBSONEP12__wt_sessionRKSsS4_PNS_14BSONObjBuilderE"},{"b":"7FF4935A4000","o":"1212423","s":"_ZNK5mongo29WiredTigerServerStatusSection15generateSectionEPNS_16OperationContextERKNS_11BSONElementE"},{"b":"7FF4935A4000","o":"A604DA","s":"_ZNK5mongo19ServerStatusSection13appendSectionEPNS_16OperationContextERKNS_11BSONElementEPNS_14BSONObjBuilderE"},{"b":"7FF4935A4000","o":"A615B6","s":"_ZN5mongo15CmdServerStatus3runEPNS_16OperationContextERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderE"},{"b":"7FF4935A4000","o":"B54C58"},{"b":"7FF4935A4000","o":"B4785B","s":"_ZN5mongo23FTDCCollectorCollection7collectEPNS_6ClientE"},{"b":"7FF4935A4000","o":"B4B9AB","s":"_ZN5mongo14FTDCController6doLoopEv"},{"b":"7FF4935A4000","o":"1F618DF"},{"b":"7FF492539000","o":"7DC5"},{"b":"7FF492178000","o":"F773D","s":"clone"}],"processInfo":{ "mongodbVersion" : "3.4.4", "gitVersion" : "888390515874a9debd1b6c5d36559ca86b44babd", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "3.10.0-514.16.1.el7.x86_64", "version" : "#1 SMP Wed Apr 12 15:04:24 UTC 2017", "machine" : "x86_64" }, "somap" : [ { "b" : "7FF4935A4000", "elfType" : 3, "buildId" : "ACE65D1BE5A49573AC50D3472F8CD399B34E9E1F" }, { "b" : "7FFF612E1000", "elfType" : 3, "buildId" : "B1A473E77A06C30ABAADD55464231F0FCFA9D0BF" }, { "b" : "7FF49317A000", "path" : "/lib64/librt.so.1", "elfType" : 3, "buildId" : "82E77ADE22BC9FFF8D3458BD37331E7EDF174C28" }, { "b" : "7FF492F76000", "path" : "/lib64/libdl.so.2", "elfType" : 3, "buildId" : "C5F560504E1AF52E29679C3B52FF11121015D6BB" }, { "b" : "7FF492C6D000", "path" : "/lib64/libstdc++.so.6", "elfType" : 3, "buildId" : "913C54197A79038476BCA584355952C7C3B719F9" }, { "b" : "7FF49296B000", "path" : "/lib64/libm.so.6", "elfType" : 3, "buildId" : "721C7CC9488EFA25F83B48AF713AB27DBE48EF3E" }, { "b" : "7FF492755000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3, "buildId" : "408B46E291B2D4C9612E27C0509D165D7E186D40" }, { "b" : "7FF492539000", "path" : "/lib64/libpthread.so.0", "elfType" : 3, "buildId" : "C3DEB1FA27CD0C1C3CC575B944ABACBA0698B0F2" }, { "b" : "7FF492178000", "path" : "/lib64/libc.so.6", "elfType" : 3, "buildId" : "8B2C421716985B927AA0CAF2A05D0B1F452367F7" }, { "b" : "7FF493382000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "8F3E366E2DB73C330A3791DEAE31AE9579099B44" } ] }}
       mongod(_ZN5mongo15printStackTraceERSo+0x3A) [0x7ff494a9a5ca]
       mongod(+0x14F5849) [0x7ff494a99849]
       mongod(+0x14F5E8F) [0x7ff494a99e8f]
       libpthread.so.0(+0xF370) [0x7ff492548370]
       mongod(_ZdlPvRKSt9nothrow_t+0x86) [0x7ff4955093e6]
       libc.so.6(_IO_vfprintf+0x101) [0x7ff4921bf231]
       libc.so.6(__vsnprintf_chk+0x95) [0x7ff4922848d5]
       mongod(__wt_vsnprintf_len_incr+0x23) [0x7ff4954593f3]
       mongod(+0x1EEFBEA) [0x7ff495493bea]
       mongod(+0x1E7A08B) [0x7ff49541e08b]
       mongod(_ZN5mongo14WiredTigerUtil17exportTableToBSONEP12__wt_sessionRKSsS4_PNS_14BSONObjBuilderE+0x246) [0x7ff4947c1bd6]
       mongod(_ZNK5mongo29WiredTigerServerStatusSection15generateSectionEPNS_16OperationContextERKNS_11BSONElementE+0x183) [0x7ff4947b6423]
       mongod(_ZNK5mongo19ServerStatusSection13appendSectionEPNS_16OperationContextERKNS_11BSONElementEPNS_14BSONObjBuilderE+0x3A) [0x7ff4940044da]
       mongod(_ZN5mongo15CmdServerStatus3runEPNS_16OperationContextERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderE+0xEE6) [0x7ff4940055b6]
       mongod(+0xB54C58) [0x7ff4940f8c58]
       mongod(_ZN5mongo23FTDCCollectorCollection7collectEPNS_6ClientE+0x3CB) [0x7ff4940eb85b]
       mongod(_ZN5mongo14FTDCController6doLoopEv+0x24B) [0x7ff4940ef9ab]
       mongod(+0x1F618DF) [0x7ff4955058df]
       libpthread.so.0(+0x7DC5) [0x7ff492540dc5]
       libc.so.6(clone+0x6D) [0x7ff49226f73d]
      -----  END BACKTRACE  -----
      

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            sunguck.lee@gmail.com 아나 하리
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: