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

Invariant failure when running explained update

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc1
    • Affects Version/s: None
    • Component/s: Concurrency
    • ALL

      #0  0x00007ffff7bcc20b in raise (sig=5) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
      #1  0x0000000001899d94 in mongo::mongo_breakpoint () at src/mongo/util/debug_util.cpp:58
      #2  0x00000000018909be in mongo::breakpoint () at src/mongo/util/debug_util.h:73
      #3  0x000000000188f854 in mongo::invariantFailed (msg=0x1e68788 "_txn->lockState()->isDbLockedForMode(nsToDatabaseSubstring(_ns), MODE_X)", file=0x1e68701 "src/mongo/db/client.cpp", line=302)
          at src/mongo/util/assert_util.cpp:145
      #4  0x0000000001265def in mongo::Client::Context::_finishInit (this=0x7ffff7fca070) at src/mongo/db/client.cpp:302
      #5  0x00000000012654c2 in mongo::Client::Context::Context (this=0x7ffff7fca070, txn=0x37b26e0, ns=..., doVersion=true) at src/mongo/db/client.cpp:201
      #6  0x00000000012f4f0f in mongo::WriteCmd::explain (this=0x2fb6d10, txn=0x37b26e0, dbname=..., cmdObj=..., verbosity=mongo::ExplainCommon::QUERY_PLANNER, out=0x7ffff7fcb040)
          at src/mongo/db/commands/write_commands/write_commands.cpp:219
      #7  0x0000000001291e93 in mongo::CmdExplain::run (this=0x2706d60 <mongo::cmdExplain>, txn=0x37b26e0, dbname=..., cmdObj=..., options=0, errmsg=..., result=..., fromRepl=false)
          at src/mongo/db/commands/explain_cmd.cpp:113
      #8  0x000000000130d715 in mongo::_execCommand (txn=0x37b26e0, c=0x2706d60 <mongo::cmdExplain>, dbname=..., cmdObj=..., queryOptions=0, errmsg=..., result=..., fromRepl=false)
          at src/mongo/db/dbcommands.cpp:1160
      #9  0x000000000130e6ca in mongo::Command::execCommand (txn=0x37b26e0, c=0x2706d60 <mongo::cmdExplain>, queryOptions=0, cmdns=0x36bb414 "foo.$cmd", cmdObj=..., result=..., fromRepl=false)
          at src/mongo/db/dbcommands.cpp:1374
      #10 0x000000000130efd7 in mongo::_runCommands (txn=0x37b26e0, ns=0x36bb414 "foo.$cmd", _cmdobj=..., b=..., anObjBuilder=..., fromRepl=false, queryOptions=0) at src/mongo/db/dbcommands.cpp:1450
      #11 0x0000000001529632 in mongo::runCommands (txn=0x37b26e0, ns=0x36bb414 "foo.$cmd", jsobj=..., curop=..., b=..., anObjBuilder=..., fromRepl=false, queryOptions=0) at src/mongo/db/query/new_find.cpp:125
      #12 0x000000000152afef in mongo::newRunQuery (txn=0x37b26e0, m=..., q=..., curop=..., result=..., fromDBDirectClient=false) at src/mongo/db/query/new_find.cpp:529
      #13 0x0000000001417d1f in mongo::receivedQuery (txn=0x37b26e0, c=..., dbresponse=..., m=..., fromDBDirectClient=false) at src/mongo/db/instance.cpp:219
      #14 0x0000000001418e42 in mongo::assembleResponse (txn=0x37b26e0, m=..., dbresponse=..., remote=..., fromDBDirectClient=false) at src/mongo/db/instance.cpp:392
      #15 0x00000000011243a0 in mongo::MyMessageHandler::process (this=0x2f5a168, m=..., port=0x2f75430, le=0x2f75cf0) at src/mongo/db/db.cpp:184
      #16 0x00000000018b5e25 in mongo::PortMessageServer::handleIncomingMsg (arg=0x2f5e5c0) at src/mongo/util/net/message_server_port.cpp:234
      #17 0x00007ffff7bc4182 in start_thread (arg=0x7ffff7fcc700) at pthread_create.c:312
      #18 0x00007ffff6cc4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      Version: 0f3ef4550c44a21

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: