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

Interrupting aggregation operation can trip fatal assertion

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.0
    • Component/s: Aggregation Framework
    • None
    • ALL
    • Quint Iteration 3.1.1

      Interrupting an aggregation operation can trip invariant( _cursor ) in ClientCursorPin::deleteUnderlying().

      Example assertion failure:

       mongod(_ZN5mongo15printStackTraceERSo+0x29) [0xf5b1f9]
       mongod(_ZN5mongo10logContextEPKc+0xE1) [0xefba11]
       mongod(_ZN5mongo15invariantFailedEPKcS1_j+0xB2) [0xee0ce2]
       mongod(_ZN5mongo15ClientCursorPin16deleteUnderlyingEv+0x72) [0x94ce52]
       mongod(_ZN5mongo15PipelineCommand3runEPNS_16OperationContextERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0xF2C) [0x9a27ec]
       mongod(_ZN5mongo12_execCommandEPNS_16OperationContextEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x34) [0x9f1744]
       mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_iPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xC13) [0x9f2683]
       mongod(_ZN5mongo12_runCommandsEPNS_16OperationContextEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x28B) [0x9f327b]
       mongod(_ZN5mongo8runQueryEPNS_16OperationContextERNS_7MessageERNS_12QueryMessageERKNS_15NamespaceStringERNS_5CurOpES3_b+0x755) [0xbb3d05]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortEb+0xB19) [0xacc1e9]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0xE0) [0x828f70]
       mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x32B) [0xf0f36b]
       libpthread.so.0(+0x7F18) [0x7f7c1a528f18]
       libc.so.6(clone+0x6D) [0x7f7c18fe9b9d]
      

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: