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

Invariant failure root->stageType != STAGE_MULTI_PLAN during explain

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • ALL
    • QuInt A (10/12/15), QuInt B (11/02/15)

      Task
      Log

      [2015/10/09 13:08:13.987] [buildlogger:MongoDFixture:job0] 2015-10-09T17:08:13.920+0000 I -        [conn10] Invariant failure root->stageType != STAGE_MULTI_PLAN src/mongo/db/query/explain.cpp 63
      [2015/10/09 13:08:13.987] [buildlogger:MongoDFixture:job0] 2015-10-09T17:08:13.920+0000 I -        [conn10]
      [2015/10/09 13:08:13.987] [buildlogger:MongoDFixture:job0]
      [2015/10/09 13:08:13.987] [buildlogger:MongoDFixture:job0] ***aborting after invariant() failure
      [2015/10/09 13:08:13.987] [buildlogger:MongoDFixture:job0]
      [2015/10/09 13:08:13.987] [buildlogger:MongoDFixture:job0]
      [2015/10/09 13:08:13.987] [buildlogger:MongoDFixture:job0] 2015-10-09T17:08:13.927+0000 F -        [conn10] Got signal: 6 (Aborted).
      [2015/10/09 13:08:13.987] [buildlogger:MongoDFixture:job0]
      [2015/10/09 13:08:13.988] [buildlogger:MongoDFixture:job0]  0x126d0f2 0x126c029 0x126c832 0x2b10e4c63ca0 0x2b10e4ea1fc5 0x2b10e4ea3a70 0x12064bb 0xd49d8d 0xd49e14 0xd4a7ce 0xb00ff0 0xa8fd67 0xb1ada7 0xb1bc0e 0xa7095e 0xc33e76 0x9023e5 0x12279a5 0x2b10e4c5b83d 0x2b10e4f46fdd
      [2015/10/09 13:08:13.988] [buildlogger:MongoDFixture:job0] ----- BEGIN BACKTRACE -----
      [2015/10/09 13:08:13.990] [buildlogger:MongoDFixture:job0] {"backtrace":[{"b":"400000","o":"E6D0F2"},{"b":"400000","o":"E6C029"},{"b":"400000","o":"E6C832"},{"b":"2B10E4C55000","o":"ECA0"},{"b":"2B10E4E72000","o":"2FFC5"},{"b":"2B10E4E72000","o":"31A70"},{"b":"400000","o":"E064BB"},{"b":"400000","o":"949D8D"},{"b":"400000","o":"949E14"},{"b":"400000","o":"94A7CE"},{"b":"400000","o":"700FF0"},{"b":"400000","o":"68FD67"},{"b":"400000","o":"71ADA7"},{"b":"400000","o":"71BC0E"},{"b":"400000","o":"67095E"},{"b":"400000","o":"833E76"},{"b":"400000","o":"5023E5"},{"b":"400000","o":"E279A5"},{"b":"2B10E4C55000","o":"683D"},{"b":"2B10E4E72000","o":"D4FDD"}],"processInfo":{ "mongodbVersion" : "3.1.10-pre-", "gitVersion" : "26cd9915a727e50134c4f3ae9372282a74d78a13", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "2.6.18-194.el5xen", "version" : "#1 SMP Tue Mar 16 22:01:26 EDT 2010", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000" }, { "b" : "2B10E40B6000", "path" : "/lib64/librt.so.1", "elfType" : 3 }, { "b" : "2B10E42BF000", "path" : "/lib64/libdl.so.2", "elfType" : 3 }, { "b" : "2B10E44C3000", "path" : "/usr/lib64/libstdc++.so.6", "elfType" : 3 }, { "b" : "2B10E47C4000", "path" : "/lib64/libm.so.6", "elfType" : 3 }, { "b" : "2B10E4A47000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3 }, { "b" : "2B10E4C55000", "path" : "/lib64/libpthread.so.0", "elfType" : 3 }, { "b" : "2B10E4E72000", "path" : "/lib64/libc.so.6", "elfType" : 3 }, { "b" : "2B10E3E98000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3 } ] }}
      [2015/10/09 13:08:13.990] [buildlogger:MongoDFixture:job0]  mongod(_ZN5mongo15printStackTraceERSo+0x32) [0x126d0f2]
      [2015/10/09 13:08:13.990] [buildlogger:MongoDFixture:job0]  mongod(+0xE6C029) [0x126c029]
      [2015/10/09 13:08:13.990] [buildlogger:MongoDFixture:job0]  mongod(+0xE6C832) [0x126c832]
      [2015/10/09 13:08:13.990] [buildlogger:MongoDFixture:job0]  libpthread.so.0(+0xECA0) [0x2b10e4c63ca0]
      [2015/10/09 13:08:13.991] [buildlogger:MongoDFixture:job0]  libc.so.6(gsignal+0x35) [0x2b10e4ea1fc5]
      [2015/10/09 13:08:13.991] [buildlogger:MongoDFixture:job0]  libc.so.6(abort+0x110) [0x2b10e4ea3a70]
      [2015/10/09 13:08:13.991] [buildlogger:MongoDFixture:job0]  mongod(_ZN5mongo15invariantFailedEPKcS1_j+0xCB) [0x12064bb]
      [2015/10/09 13:08:13.991] [buildlogger:MongoDFixture:job0]  mongod(+0x949D8D) [0xd49d8d]
      [2015/10/09 13:08:13.991] [buildlogger:MongoDFixture:job0]  mongod(_ZN5mongo7Explain17generateExecStatsEPNS_14PlanStageStatsENS_13ExplainCommon9VerbosityEPNS_14BSONObjBuilderEN5boost8optionalIxEE+0x84) [0xd49e14]
      [2015/10/09 13:08:13.991] [buildlogger:MongoDFixture:job0]  mongod(_ZN5mongo7Explain13explainStagesEPNS_12PlanExecutorENS_13ExplainCommon9VerbosityEPNS_14BSONObjBuilderE+0x46E) [0xd4a7ce]
      [2015/10/09 13:08:13.992] [buildlogger:MongoDFixture:job0]  mongod(_ZNK5mongo8WriteCmd7explainEPNS_16OperationContextERKSsRKNS_7BSONObjENS_13ExplainCommon9VerbosityERKNS_3rpc23ServerSelectionMetadataEPNS_14BSONObjBuilderE+0xA40) [0xb00ff0]
      [2015/10/09 13:08:13.992] [buildlogger:MongoDFixture:job0]  mongod(+0x68FD67) [0xa8fd67]
      [2015/10/09 13:08:13.992] [buildlogger:MongoDFixture:job0]  mongod(_ZN5mongo7Command3runEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS3_21ReplyBuilderInterfaceE+0x2B7) [0xb1ada7]
      [2015/10/09 13:08:13.992] [buildlogger:MongoDFixture:job0]  mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_RKNS_3rpc16RequestInterfaceEPNS4_21ReplyBuilderInterfaceE+0x47E) [0xb1bc0e]
      [2015/10/09 13:08:13.992] [buildlogger:MongoDFixture:job0]  mongod(_ZN5mongo11runCommandsEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS2_21ReplyBuilderInterfaceE+0x1EE) [0xa7095e]
      [2015/10/09 13:08:13.993] [buildlogger:MongoDFixture:job0]  mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xB66) [0xc33e76]
      [2015/10/09 13:08:13.993] [buildlogger:MongoDFixture:job0]  mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0xC5) [0x9023e5]
      [2015/10/09 13:08:13.993] [buildlogger:MongoDFixture:job0]  mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x265) [0x12279a5]
      [2015/10/09 13:08:13.993] [buildlogger:MongoDFixture:job0]  libpthread.so.0(+0x683D) [0x2b10e4c5b83d]
      [2015/10/09 13:08:13.993] [buildlogger:MongoDFixture:job0]  libc.so.6(clone+0x6D) [0x2b10e4f46fdd]
      [2015/10/09 13:08:13.993] [buildlogger:MongoDFixture:job0] -----  END BACKTRACE  -----
      

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: