-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 3.0.0-rc7
-
Component/s: Concurrency, Testing Infrastructure
-
Fully Compatible
-
ALL
Invariant failure !_locker->inAWriteUnitOfWork() src/mongo/db/concurrency/lock_state.cpp 816 * frame #0: 0x00007fff87130dfb libstdc++.6.dylib`std::basic_ostream<char, std::char_traits<char> >& std::operator<<<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char) + 12 frame #1: 0x00000001008a6878 mongod`mongo::logger::MessageEventDetailsEncoder::encode(this=0x000000010798a818, event=0x000000010798ab60, os=0x000000010798a820) + 312 at message_event_utf8_encoder.cpp:67 frame #2: 0x00000001008ad379 mongod`mongo::RamLogAppender::append(this=0x0000000103b38e90, event=0x000000010798ab60) + 121 at ramlog.cpp:197 frame #3: 0x00000001008a71cb mongod`mongo::logger::LogDomain<mongo::logger::MessageEventEphemeral>::append(this=0x0000000103f06da0, event=0x000000010798ab60) + 171 at log_domain-impl.h:60 frame #4: 0x00000001008a3dba mongod`mongo::logger::LogstreamBuilder::~LogstreamBuilder(this=0x000000010798ac48) + 410 at logstream_builder.cpp:123 frame #5: 0x00000001008a4225 mongod`mongo::logger::LogstreamBuilder::~LogstreamBuilder(this=0x000000010798ac48) + 21 at logstream_builder.cpp:117 frame #6: 0x0000000100a8ea67 mongod`mongo::invariantFailed(expr=0x00000001015e6470, file=0x00000001015e6c38, line=816) + 391 at assert_util.cpp:148 frame #7: 0x00000001002bdbaf mongod`mongo::AutoYieldFlushLockForMMAPV1Commit::AutoYieldFlushLockForMMAPV1Commit(this=0x000000010798ad50, locker=0x0000000108009600) + 95 at lock_state.cpp:816 frame #8: 0x00000001002bdc4d mongod`mongo::AutoYieldFlushLockForMMAPV1Commit::AutoYieldFlushLockForMMAPV1Commit(this=0x000000010798ad50, locker=0x0000000108009600) + 29 at lock_state.cpp:821 frame #9: 0x00000001007f22ac mongod`mongo::dur::(anonymous namespace)::DurableImpl::commitNow(this=0x0000000101cdace0, txn=0x000000010798e910) + 60 at dur.cpp:512 frame #10: 0x00000001007e9218 mongod`mongo::NamespaceIndex::init(this=0x00000001040c8618, txn=0x000000010798e910) + 2968 at namespace_index.cpp:238 frame #11: 0x0000000100822c7a mongod`mongo::MMAPV1DatabaseCatalogEntry::MMAPV1DatabaseCatalogEntry(this=0x00000001040c8600, txn=0x000000010798e910, name=0x000000010798b698, path=0x000000010798b388, directoryPerDB=false, transient=false) + 554 at mmap_v1_database_catalog_entry.cpp:174 frame #12: 0x0000000100824765 mongod`mongo::MMAPV1DatabaseCatalogEntry::MMAPV1DatabaseCatalogEntry(this=0x00000001040c8600, txn=0x000000010798e910, name=0x000000010798b698, path=0x000000010798b388, directoryPerDB=false, transient=false) + 85 at mmap_v1_database_catalog_entry.cpp:198 frame #13: 0x000000010082f2e7 mongod`mongo::MMAPV1Engine::getDatabaseCatalogEntry(this=0x0000000103b5f710, opCtx=0x000000010798e910, db=0x000000010798b698) + 567 at mmap_v1_engine.cpp:267 frame #14: 0x00000001001b65db mongod`mongo::DatabaseHolder::openDb(this=0x0000000101ccde50, txn=0x000000010798e910, ns=0x000000010798b738, justCreated=0x000000010798b998) + 923 at database_holder.cpp:128 frame #15: 0x00000001001d16c1 mongod`mongo::Client::Context::_finishInit(this=0x000000010798b990) + 353 at client.cpp:316 frame #16: 0x00000001001d1858 mongod`mongo::Client::Context::Context(this=0x000000010798b990, txn=0x000000010798e910, ns=0x000000010798ba50, doVersion=true) + 136 at client.cpp:206 frame #17: 0x00000001001d18d4 mongod`mongo::Client::Context::Context(this=0x000000010798b990, txn=0x000000010798e910, ns=0x000000010798ba50, doVersion=true) + 52 at client.cpp:207 frame #18: 0x0000000100272214 mongod`mongo::GodInsert::run(this=0x0000000103b5bf20, txn=0x000000010798e910, dbname=0x000000010798c498, cmdObj=0x000000010798c868, (null)=0, errmsg=0x000000010798c0f0, result=0x000000010798d8b0, (null)=false) + 836 at test_commands.cpp:76 frame #19: 0x00000001002d07a5 mongod`mongo::_execCommand(txn=0x000000010798e910, c=0x0000000103b5bf20, dbname=0x000000010798c498, cmdObj=0x000000010798c868, queryOptions=0, errmsg=0x000000010798c0f0, result=0x000000010798d8b0, fromRepl=false) + 149 at dbcommands.cpp:1273 frame #20: 0x00000001002d1edf mongod`mongo::Command::execCommand(txn=0x000000010798e910, c=0x0000000103b5bf20, queryOptions=0, cmdns=0x0000000104002e14, cmdObj=0x000000010798c868, result=0x000000010798d8b0, fromRepl=false) + 4767 at dbcommands.cpp:1489 frame #21: 0x00000001002d2b62 mongod`mongo::_runCommands(txn=0x000000010798e910, ns=0x0000000104002e14, _cmdobj=0x000000010798df30, b=0x000000010798d908, anObjBuilder=0x000000010798d8b0, fromRepl=false, queryOptions=0) + 2066 at dbcommands.cpp:1561 frame #22: 0x00000001005b6090 mongod`mongo::runCommands(txn=0x000000010798e910, ns=0x0000000104002e14, jsobj=0x000000010798df30, curop=0x0000000115000000, b=0x000000010798d908, anObjBuilder=0x000000010798d8b0, fromRepl=false, queryOptions=0) + 96 at find.cpp:137 frame #23: 0x00000001005b28ea mongod`mongo::runQuery(txn=0x000000010798e910, m=0x000000010798ecf0, q=0x000000010798df18, nss=0x000000010798dee0, curop=0x0000000115000000, result=0x0000000103b3f450, fromDBDirectClient=false) + 1258 at find.cpp:606 frame #24: 0x000000010044ec2b mongod`mongo::receivedQuery(txn=0x000000010798e910, c=0x0000000105301ca0, dbresponse=0x000000010798e8b8, m=0x000000010798ecf0, fromDBDirectClient=false) + 923 at instance.cpp:220 frame #25: 0x000000010044cccf mongod`mongo::assembleResponse(txn=0x000000010798e910, m=0x000000010798ecf0, dbresponse=0x000000010798e8b8, remote=0x000000010798e8a8, fromDBDirectClient=false) + 1327 at instance.cpp:403 frame #26: 0x00000001000145bf mongod`mongo::MyMessageHandler::process(this=0x0000000103b54a60, m=0x000000010798ecf0, port=0x0000000105300d50, le=0x0000000105300db0) + 351 at db.cpp:206 frame #27: 0x0000000100ac7d57 mongod`mongo::PortMessageServer::handleIncomingMsg(arg=0x0000000105300d50) + 2839 at message_server_port.cpp:229 frame #28: 0x0000000100ac61c9 mongod`void* boost::_bi::list1<boost::_bi::value<mongo::(anonymous namespace)::MessagingPortWithHandler*> >::operator(this=0x0000000105301c30, (null)=type<void *> at 0x000000010798edf8, f=0x0000000105301c28, a=0x000000010798ee20, (null)=0)<void*, void* (*)(void*), boost::_bi::list0>(boost::_bi::type<void*>, void* (*&)(void*), boost::_bi::list0&, long) + 89 at bind.hpp:243 frame #29: 0x0000000100ac6164 mongod`boost::_bi::bind_t<void*, void* (this=0x0000000105301c28)(void*), boost::_bi::list1<boost::_bi::value<mongo::(anonymous namespace)::MessagingPortWithHandler*> > >::operator()() + 68 at bind_template.hpp:20 frame #30: 0x0000000100ac610c mongod`boost::detail::thread_data<boost::_bi::bind_t<void*, void* (this=0x0000000105301a40)(void*), boost::_bi::list1<boost::_bi::value<mongo::(anonymous namespace)::MessagingPortWithHandler*> > > >::run() + 28 at thread.hpp:62 frame #31: 0x0000000100b66d24 mongod`boost::(anonymous namespace)::thread_proxy(param=0x0000000105301a40) + 148 at thread.cpp:121 frame #32: 0x00007fff90b862fc libsystem_pthread.dylib`_pthread_body + 131 frame #33: 0x00007fff90b86279 libsystem_pthread.dylib`_pthread_start + 176 frame #34: 0x00007fff90b844b1 libsystem_pthread.dylib`thread_start + 13
Version: 8e11987b6f7f393bbf1