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

serverStatus command with {oplog: 1} option can trigger segmentation fault in mongod

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.2, 3.1.1
    • Affects Version/s: 3.0.0-rc11, 3.0.0
    • Component/s: Querying, Replication
    • None
    • Fully Compatible
    • ALL
    • Quint Iteration 3.1.1

      2015-03-20T12:55:29.481+0000 I COMMAND  [conn477245] command mmsdbminutes-even.$cmd command: update { update: "rrdMinutes2015032012", updates: [ { q: { _id: "76944cdf39c34ae723c30a028b8a53a5-45f36fa5cc4c4c
      62aa2bd07b26200517-2015032012-gogolookset-mmschunk_detail.VCdetail" }, u: { $set: { mn.55.n: 1426856096, mn.55.t: 2, d: "2015032012", d2: new Date(1426852800000), g: "mmschunk_detail.VCdetail", i: "gogoloo
      kset", cid: ObjectId('51af3f4b7fe227e9f18a28cd'), hid: "45f36fa5cc4c4c62aa2bd07b26200517" } }, multi: false, upsert: true } ], writeConcern: { w: 1 }, ordered: true, metadata: { shardName: "mmsrs5", shardV
      ersion: [ Timestamp 32000|16, ObjectId('5502d27cc1871495a063eab8') ], session: 0 } } ntoreturn:1 keyUpdates:0 writeConflicts:0 numYields:0 reslen:427 locks:{} 251ms
      2015-03-20T12:55:29.490+0000 I COMMAND  [conn504054] command mmsdbminutes-even.$cmd command: update { update: "rrdMinutes2015032012", updates: [ { q: { _id: "76944cdf39c34ae723c30a028b8a53a5-45f36fa5cc4c4c
      62aa2bd07b26200517-2015032012-gogolookset-mmschunk_faketag.CFfaketag" }, u: { $set: { mn.55.n: 1426856096, mn.55.t: 2, d: "2015032012", d2: new Date(1426852800000), g: "mmschunk_faketag.CFfaketag", i: "gog
      olookset", cid: ObjectId('51af3f4b7fe227e9f18a28cd'), hid: "45f36fa5cc4c4c62aa2bd07b26200517" } }, multi: false, upsert: true } ], writeConcern: { w: 1 }, ordered: true, metadata: { shardName: "mmsrs5", sh
      ardVersion: [ Timestamp 32000|16, ObjectId('5502d27cc1871495a063eab8') ], session: 0 } } ntoreturn:1 keyUpdates:0 writeConflicts:0 numYields:0 reslen:427 locks:{} 283ms
      2015-03-20T12:55:29.514+0000 I SHARDING [conn475880] MigrateFromStatus::done About to acquire global lock to exit critical section
      2015-03-20T12:55:29.654+0000 F -        [conn326365] Invalid access at address: 0x7f953f48ea6e
      2015-03-20T12:55:29.670+0000 F -        [conn326365] Got signal: 11 (Segmentation fault).
      
       0xf42419 0xf41a92 0xf41dee 0x3b66e0f710 0x80c9ab 0xc6d386 0x974698 0x9bcab4 0x9bd9f3 0x9be5eb 0xb8e665 0xaa06f9 0x7e7570 0xf004cb 0x3b66e079d1 0x3b66ae8b5d
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"400000","o":"B42419"},{"b":"400000","o":"B41A92"},{"b":"400000","o":"B41DEE"},{"b":"3B66E00000","o":"F710"},{"b":"400000","o":"40C9AB"},{"b":"400000","o":"86D386"},{"b":"400000","o":"574698"},{"b":"400000","o":"5BCAB4"},{"b":"400000","o":"5BD9F3"},{"b":"400000","o":"5BE5EB"},{"b":"400000","o":"78E665"},{"b":"400000","o":"6A06F9"},{"b":"400000","o":"3E7570"},{"b":"400000","o":"B004CB"},{"b":"3B66E00000","o":"79D1"},{"b":"3B66A00000","o":"E8B5D"}],"processInfo":{ "mongodbVersion" : "3.0.0-rc11", "gitVersion" : "709cafbbb86c994bc153df189ace58a9c2e4145b", "uname" : { "sysname" : "Linux", "release" : "2.6.32-431.17.1.el6.x86_64", "version" : "#1 SMP Wed May 7 23:32:49 UTC 2014", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000" }, { "b" : "7FFFF02FF000", "elfType" : 3 }, { "path" : "/lib64/libpthread.so.0", "elfType" : 3 }, { "path" : "/lib64/librt.so.1", "elfType" : 3 }, { "path" : "/lib64/libdl.so.2", "elfType" : 3 }, { "path" : "/usr/lib64/libstdc++.so.6", "elfType" : 3 }, { "path" : "/lib64/libm.so.6", "elfType" : 3 }, { "path" : "/lib64/libgcc_s.so.1", "elfType" : 3 }, { "path" : "/lib64/libc.so.6", "elfType" : 3 }, { "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3 } ] }}
       mongod(_ZN5mongo15printStackTraceERSo+0x29) [0xf42419]
       mongod(+0xB41A92) [0xf41a92]
       mongod(+0xB41DEE) [0xf41dee]
       libpthread.so.0(+0xF710) [0x3b66e0f710]
       mongod(_ZNK5mongo7BSONObj8getFieldERKNS_10StringDataE+0x6B) [0x80c9ab]
       mongod(_ZNK5mongo4repl21OplogInfoServerStatus15generateSectionEPNS_16OperationContextERKNS_11BSONElementE+0x186) [0xc6d386]
       mongod(_ZN5mongo15CmdServerStatus3runEPNS_16OperationContextERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x7A8) [0x974698]
       mongod(_ZN5mongo12_execCommandEPNS_16OperationContextEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x34) [0x9bcab4]
       mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_iPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xC13) [0x9bd9f3]
       mongod(_ZN5mongo12_runCommandsEPNS_16OperationContextEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x28B) [0x9be5eb]
       mongod(_ZN5mongo8runQueryEPNS_16OperationContextERNS_7MessageERNS_12QueryMessageERKNS_15NamespaceStringERNS_5CurOpES3_b+0x755) [0xb8e665]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortEb+0xB19) [0xaa06f9]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0xE0) [0x7e7570]
       mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x32B) [0xf004cb]
       libpthread.so.0(+0x79D1) [0x3b66e079d1]
       libc.so.6(clone+0x6D) [0x3b66ae8b5d]
      -----  END BACKTRACE  -----
      

            Assignee:
            rassi J Rassi
            Reporter:
            cailin.nelson@mongodb.com Cailin Nelson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: