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

CollectionInfoCache being written without exclusive lock

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.8.0-rc2
    • Fix Version/s: 2.8.0-rc5
    • Component/s: Indexing
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      Happy to provide the full log, but doubt it is helpful in this case.

      2014-12-11T09:59:48.422+0000 I QUERY    [conn2464] command local.$cmd command: collStats { collstats: "oplog.rs" } keyUpdates:0  reslen:3264 1600ms
      2014-12-11T09:59:49.054+0000 I WRITE    [conn2355] update mmsdbhours.data.rrdHours query: { _id: "06a98548784bf2292cbbc9168c237c34-56836570e762631af71d0013f17db191-20141211-getmore-opcounters" } update: { $inc: { hy.9.n: 1, hy.9.t: 2315888 } } nscanned:1 nscannedObjects:1 nMatched:1 nModified:1 fastmod:1 keyUpdates:0  352ms
      2014-12-11T10:00:04.418+0000 F -        [conn2353] Invalid access at address: 0
      2014-12-11T10:00:04.454+0000 F -        [conn2353] Got signal: 11 (Segmentation fault).
       
       0xf0cfa9 0xf0c912 0xf0cc3e 0x7fe3b11cd340 0x7fe3b0b21e20 0x810584 0xd4701d 0x8f2825 0xb02739 0xb01254 0xb01ee0 0xa8b4d9 0xa8f39e 0x7e02d0 0xecb271 0x7fe3b11c5182 0x7fe3b02c5efd
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"400000","o":"B0CFA9"},{"b":"400000","o":"B0C912"},{"b":"400000","o":"B0CC3E"},{"b":"7FE3B11BD000","o":"10340"},{"b":"7FE3B0AAD000","o":"74E20"},{"b":"400000","o":"410584"},{"b":"400000","o":"94701D"},{"b":"400000","o":"4F2825"},{"b":"400000","o":"702739"},{"b":"400000","o":"701254"},{"b":"400000","o":"701EE0"},{"b":"400000","o":"68B4D9"},{"b":"400000","o":"68F39E"},{"b":"400000","o":"3E02D0"},{"b":"400000","o":"ACB271"},{"b":"7FE3B11BD000","o":"8182"},{"b":"7FE3B01CB000","o":"FAEFD"}],"processInfo":{ "mongodbVersion" : "2.8.0-rc2", "gitVersion" : "f77869e01a6ed235695a46fad441c0dff15202f6", "uname" : { "sysname" : "Linux", "release" : "3.13.0-36-generic", "version" : "#63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000" }, { "b" : "7FFF682FE000", "elfType" : 3 }, { "b" : "7FE3B11BD000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3 }, { "b" : "7FE3B0FB5000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3 }, { "b" : "7FE3B0DB1000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3 }, { "b" : "7FE3B0AAD000", "path" : "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", "elfType" : 3 }, { "b" : "7FE3B07A7000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3 }, { "b" : "7FE3B0591000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3 }, { "b" : "7FE3B01CB000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3 }, { "b" : "7FE3B13DB000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3 } ] }}
       mongod(_ZN5mongo15printStackTraceERSo+0x29) [0xf0cfa9]
       mongod(+0xB0C912) [0xf0c912]
       mongod(+0xB0CC3E) [0xf0cc3e]
       libpthread.so.0(+0x10340) [0x7fe3b11cd340]
       libstdc++.so.6(_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_+0xA0) [0x7fe3b0b21e20]
       mongod(_ZNSt8_Rb_treeISsSsSt9_IdentityISsESt4lessISsESaISsEE16_M_insert_uniqueISsEESt4pairISt17_Rb_tree_iteratorISsEbEOT_+0x1A4) [0x810584]
       mongod(_ZN5mongo15UpdateIndexData7addPathERKNS_10StringDataE+0xFD) [0xd4701d]
       mongod(_ZN5mongo19CollectionInfoCache16computeIndexKeysEPNS_16OperationContextE+0x115) [0x8f2825]
       mongod(_ZNK5mongo19UpdateLifecycleImpl12getIndexKeysEPNS_16OperationContextE+0x29) [0xb02739]
       mongod(_ZN5mongo14UpdateExecutor13prepareInLockEPNS_8DatabaseE+0x174) [0xb01254]
       mongod(_ZN5mongo14UpdateExecutor7executeEPNS_8DatabaseE+0x100) [0xb01ee0]
       mongod(_ZN5mongo14receivedUpdateEPNS_16OperationContextERNS_7MessageERNS_5CurOpE+0x589) [0xa8b4d9]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortEb+0x16EE) [0xa8f39e]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0xE0) [0x7e02d0]
       mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x411) [0xecb271]
       libpthread.so.0(+0x8182) [0x7fe3b11c5182]
       libc.so.6(clone+0x6D) [0x7fe3b02c5efd]
      -----  END BACKTRACE  -----

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              scotthernandez Scott Hernandez
              Reporter:
              cailin.nelson Cailin Nelson
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: