#0 0x00007ffff666c817 in raise () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000555566c720af in mongo::breakpoint () at src/mongo/util/debugger.cpp:72 #2 0x0000555566c04b4a in mongo::invariantFailedWithMsg (expr=0x55555c8c560c "resId != resourceIdGlobal", msg=..., file=0x55555c9473c2 "src/mongo/db/concurrency/lock_manager.cpp", line=557) at src/mongo/util/assert_util.cpp:137 #3 0x0000555565d0e53f in mongo::invariantWithContextAndLocation(bool const&, char const*, mongo::LockManager::convert(mongo::ResourceId, mongo::LockRequest*, mongo::LockMode)::$_2&&, char const*, unsigned int) (testOK=@0x7fffffff21b2: false, expr=0x55555c8c560c "resId != resourceIdGlobal", contextExpr=..., file=0x55555c9473c2 "src/mongo/db/concurrency/lock_manager.cpp", line=557) at src/mongo/util/assert_util_core.h:101 #4 0x0000555565d0e124 in mongo::LockManager::convert (this=0x7ffff52edd58, resId=..., request=0x7fffeb813a30, newMode=mongo::MODE_IX) at src/mongo/db/concurrency/lock_manager.cpp:552 #5 0x0000555565d21468 in mongo::LockerImpl::_lockBegin (this=0x7ffff52c9820, opCtx=0x7ffff57456a0, resId=..., mode=mongo::MODE_IX) at src/mongo/db/concurrency/lock_state.cpp:913 #6 0x0000555565d20e18 in mongo::LockerImpl::lockGlobal (this=0x7ffff52c9820, opCtx=0x7ffff57456a0, mode=mongo::MODE_IX, deadline=...) at src/mongo/db/concurrency/lock_state.cpp:414 #7 0x0000555565d0a5f2 in mongo::Lock::GlobalLock::_takeGlobalAndRSTLLocks (this=0x7fffffff5908, lockMode=mongo::MODE_IX, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:193 #8 0x0000555565d0a1a9 in mongo::Lock::GlobalLock::GlobalLock (this=0x7fffffff5908, opCtx=0x7ffff57456a0, lockMode=mongo::MODE_IX, deadline=..., behavior=mongo::Lock::InterruptBehavior::kThrow, skipRSTLLock=false) at src/mongo/db/concurrency/d_concurrency.cpp:169 #9 0x0000555565d0caa5 in boost::optional_detail::optional_base::construct (this=0x7fffffff5900, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow) at src/third_party/boost/boost/optional/optional.hpp:421 #10 0x0000555565d0ca04 in boost::optional_detail::optional_base::emplace_assign (this=0x7fffffff5900, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow) at src/third_party/boost/boost/optional/optional.hpp:429 #11 0x0000555565d0c81c in boost::optional::emplace (this=0x7fffffff5900, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow, args=@0x7fffffff27f0: mongo::Lock::InterruptBehavior::kThrow) at src/third_party/boost/boost/optional/optional.hpp:1111 #12 0x0000555565d0aa2b in mongo::Lock::DBLock::DBLock (this=0x7fffffff58e8, opCtx=0x7ffff57456a0, db=..., mode=mongo::MODE_IX, deadline=..., skipGlobalAndRSTLLocks=false) at src/mongo/db/concurrency/d_concurrency.cpp:223 #13 0x00005555635c8721 in mongo::AutoGetDb::AutoGetDb (this=0x7fffffff58c8, opCtx=0x7ffff57456a0, dbName=..., mode=mongo::MODE_IX, deadline=..., secondaryDbNames=...) at src/mongo/db/catalog_raii.cpp:173 #14 0x00005555635d6679 in boost::optional_detail::optional_base::construct, std::allocator >&> (this=0x7fffffff58c0, args=..., args=..., args=..., args=..., args=...) at src/third_party/boost/boost/optional/optional.hpp:421 #15 0x00005555635d65a9 in boost::optional_detail::optional_base::emplace_assign, std::allocator >&> (this=0x7fffffff58c0, args=..., args=..., args=..., args=..., args=...) at src/third_party/boost/boost/optional/optional.hpp:429 #16 0x00005555635d3731 in boost::optional::emplace, std::allocator >&> (this=0x7fffffff58c0, args=..., args=..., args=..., args=..., args=...) at src/third_party/boost/boost/optional/optional.hpp:1111 #17 0x00005555635c91c3 in mongo::AutoGetCollection::AutoGetCollection (this=0x7fffffff58c0, opCtx=0x7ffff57456a0, nsOrUUID=..., modeColl=mongo::MODE_IX, viewMode=mongo::AutoGetCollectionViewMode::kViewsPermitted, deadline=..., secondaryNssOrUUIDs=...) at src/mongo/db/catalog_raii.cpp:230 #18 0x00005555635bcd99 in boost::optional_detail::optional_base::construct > const&> (this=0x7fffffff58b8, args=..., args=..., args=..., args=..., args=..., args=...) at src/third_party/boost/boost/optional/optional.hpp:421 #19 0x00005555635bcca6 in boost::optional_detail::optional_base::emplace_assign > const&> (this=0x7fffffff58b8, args=..., args=..., args=..., args=..., args=..., args=...) at src/third_party/boost/boost/optional/optional.hpp:429 #20 0x00005555635bb8fb in boost::optional::emplace > const&> (this=0x7fffffff58b8, args=..., args=..., args=..., args=..., args=..., args=...) at src/third_party/boost/boost/optional/optional.hpp:1111 #21 0x00005555635ae2a2 in mongo::EmplaceAutoGetCollectionForRead::emplace (this=0x7fffffff3cd0, autoColl=...) at src/mongo/db/db_raii.cpp:635 #22 0x00005555635b7bfb in mongo::AutoGetCollectionForReadBase::AutoGetCollectionForReadBase (this=0x7fffffff58a0, opCtx=0x7ffff57456a0, emplaceAutoColl=..., isLockFreeReadSubOperation=false) at src/mongo/db/db_raii.cpp:454 #23 0x00005555635aeb3a in mongo::AutoGetCollectionForRead::AutoGetCollectionForRead (this=0x7fffffff58a0, opCtx=0x7ffff57456a0, nsOrUUID=..., viewMode=mongo::AutoGetCollectionViewMode::kViewsPermitted, deadline=..., secondaryNssOrUUIDs=...) at src/mongo/db/db_raii.cpp:645 #24 0x00005555635b92d9 in mongo::AutoGetCollectionForReadCommandBase::AutoGetCollectionForReadCommandBase (this=0x7fffffff58a0, opCtx=0x7ffff57456a0, nsOrUUID=..., viewMode=mongo::AutoGetCollectionViewMode::kViewsPermitted, deadline=..., logMode=mongo::AutoStatsTracker::LogMode::kUpdateTopAndCurOp, secondaryNssOrUUIDs=...) at src/mongo/db/db_raii.cpp:816 #25 0x0000555560238d85 in mongo::AutoGetCollectionForReadCommand::AutoGetCollectionForReadCommand (this=0x7fffffff58a0, opCtx=0x7ffff57456a0, nsOrUUID=..., viewMode=mongo::AutoGetCollectionViewMode::kViewsPermitted, deadline=..., logMode=mongo::AutoStatsTracker::LogMode::kUpdateTopAndCurOp, secondaryNssOrUUIDs=...) at src/mongo/db/db_raii.h:390 #26 0x00005555635bdde9 in boost::optional_detail::optional_base::construct > const&> (this=0x7fffffff5898, args=..., args=..., args=..., args=..., args=..., args=...) at src/third_party/boost/boost/optional/optional.hpp:421 #27 0x00005555635bdd16 in boost::optional_detail::optional_base::emplace_assign > const&> (this=0x7fffffff5898, args=..., args=..., args=..., args=..., args=..., args=...) at src/third_party/boost/boost/optional/optional.hpp:429 #28 0x00005555635bbe8b in boost::optional::emplace > const&> (this=0x7fffffff5898, args=..., args=..., args=..., args=..., args=..., args=...) at src/third_party/boost/boost/optional/optional.hpp:1111 #29 0x00005555635b0ba3 in mongo::AutoGetCollectionForReadCommandMaybeLockFree::AutoGetCollectionForReadCommandMaybeLockFree (this=0x7fffffff5898, opCtx=0x7ffff57456a0, nsOrUUID=..., viewMode=mongo::AutoGetCollectionViewMode::kViewsPermitted, deadline=..., logMode=mongo::AutoStatsTracker::LogMode::kUpdateTopAndCurOp, secondaryNssOrUUIDs=...) at src/mongo/db/db_raii.cpp:921 #30 0x00005555623300db in boost::optional_detail::optional_base::construct (this=0x7fffffff5890, args=@0x7fffffff4cbc: mongo::AutoGetCollectionViewMode::kViewsPermitted, args=@0x7fffffff4cbc: mongo::AutoGetCollectionViewMode::kViewsPermitted, args=@0x7fffffff4cbc: mongo::AutoGetCollectionViewMode::kViewsPermitted) at src/third_party/boost/boost/optional/optional.hpp:421 #31 0x000055556232ffff in boost::optional_detail::optional_base::emplace_assign (this=0x7fffffff5890, args=@0x7fffffff4cbc: mongo::AutoGetCollectionViewMode::kViewsPermitted, args=@0x7fffffff4cbc: mongo::AutoGetCollectionViewMode::kViewsPermitted, args=@0x7fffffff4cbc: mongo::AutoGetCollectionViewMode::kViewsPermitted) at src/third_party/boost/boost/optional/optional.hpp:429 #32 0x000055556232fc07 in boost::optional::emplace (this=0x7fffffff5890, args=@0x7fffffff4cbc: mongo::AutoGetCollectionViewMode::kViewsPermitted, args=@0x7fffffff4cbc: mongo::AutoGetCollectionViewMode::kViewsPermitted, args=@0x7fffffff4cbc: mongo::AutoGetCollectionViewMode::kViewsPermitted) at src/third_party/boost/boost/optional/optional.hpp:1111 #33 0x00005555623cf730 in mongo::(anonymous namespace)::FindCmd::Invocation::run (this=0x7ffff0f188e0, opCtx=0x7ffff57456a0, result=0x7ffff5461f20) at src/mongo/db/commands/find_cmd.cpp:492 #34 0x0000555565cc8045 in mongo::CommandHelpers::runCommandInvocation (opCtx=0x7ffff57456a0, request=..., invocation=0x7ffff0f188e0, response=0x7ffff5461f20) at src/mongo/db/commands.cpp:215 #35 0x0000555565cd0fb5 in mongo::CommandHelpers::runCommandInvocation(std::shared_ptr, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0::operator()() const (this=0x7fffffff6018) at src/mongo/db/commands.cpp:199 #36 0x0000555565cc7ea8 in mongo::makeReadyFutureWith, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0, 0>(mongo::CommandHelpers::runCommandInvocation(std::shared_ptr, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0&&) (func=...) at src/mongo/util/future.h:1238 #37 0x0000555565cc7ac9 in mongo::CommandHelpers::runCommandInvocation (rec=..., invocation=..., threadingModel=mongo::transport::ServiceExecutor::ThreadingModel::kDedicated) at src/mongo/db/commands.cpp:195 #38 0x0000555560dfd6df in mongo::(anonymous namespace)::runCommandInvocation (rec=..., invocation=...) at src/mongo/db/service_entry_point_common.cpp:159 #39 0x0000555560e0747d in mongo::(anonymous namespace)::InvokeCommand::run()::$_1::operator()() const (this=0x7fffffff6280) at src/mongo/db/service_entry_point_common.cpp:780 #40 0x0000555560e0719c in mongo::makeReadyFutureWith(mongo::(anonymous namespace)::InvokeCommand::run()::$_1&&) (func=...) at src/mongo/util/future.h:1241 #41 0x0000555560e07117 in mongo::(anonymous namespace)::InvokeCommand::run (this=0x7ffff50bd8e0) at src/mongo/db/service_entry_point_common.cpp:773 #42 0x0000555560e06fe0 in mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_11::operator()(mongo::(anonymous namespace)::InvokeCommand*) const (this=0x7fffffff64d8, path=0x7ffff50bd8e0) at src/mongo/db/service_entry_point_common.cpp:1188 #43 0x0000555560e06ef0 in mongo::future_util::AsyncState::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_11&&) &&::{lambda()#1}::operator()() const (this=0x7fffffff6430) at src/mongo/util/future_util.h:827 #44 0x0000555560e06d9c in mongo::makeReadyFutureWith::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_11&&) &&::{lambda()#1}, 0>(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_11&&) (func=...) at src/mongo/util/future.h:1241 #45 0x0000555560dfa6cc in mongo::future_util::AsyncState::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_11&&) && (this=0x7fffffff64e0, launcher=...) at src/mongo/util/future_util.h:826 #46 0x0000555560dfa392 in mongo::(anonymous namespace)::RunCommandImpl::_runCommand (this=0x7ffff524d110) at src/mongo/db/service_entry_point_common.cpp:1187 #47 0x0000555560dfa159 in mongo::(anonymous namespace)::RunCommandImpl::_runImpl (this=0x7ffff524d110) at src/mongo/db/service_entry_point_common.cpp:1177 #48 0x0000555560e0fc23 in mongo::(anonymous namespace)::RunCommandImpl::run()::{lambda()#1}::operator()() const (this=0x7fffffff66a0) at src/mongo/db/service_entry_point_common.cpp:658 #49 0x0000555560e0f96c in mongo::makeReadyFutureWith(mongo::(anonymous namespace)::RunCommandImpl::run()::{lambda()#1}) (func=...) at src/mongo/util/future.h:1241 #50 0x0000555560e0f8b7 in mongo::(anonymous namespace)::RunCommandImpl::run (this=0x7ffff524d110) at src/mongo/db/service_entry_point_common.cpp:656 #51 0x0000555560e17e30 in mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_16::operator()() const::{lambda(auto:1*)#2}::operator()(mongo::(anonymous namespace)::RunCommandImpl*) const (this=0x7fffffff68f8, runner=0x7ffff524d110) at src/mongo/db/service_entry_point_common.cpp:1685 #52 0x0000555560e17d40 in mongo::future_util::AsyncState::thenWithState(mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_16::operator()() const::{lambda(auto:1*)#2}&&) &&::{lambda()#1}::operator()() const (this=0x7fffffff6860) at src/mongo/util/future_util.h:827 #53 0x0000555560e17bec in mongo::makeReadyFutureWith::thenWithState(mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_16::operator()() const::{lambda(auto:1*)#2}&&) &&::{lambda()#1}, 0>(mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_16::operator()() const::{lambda(auto:1*)#2}) (func=...) at src/mongo/util/future.h:1241 #54 0x0000555560df98cc in mongo::future_util::AsyncState::thenWithState(mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_16::operator()() const::{lambda(auto:1*)#2}&&) && (this=0x7fffffff6908, launcher=...) at src/mongo/util/future_util.h:826 #55 0x0000555560df9344 in mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_16::operator()() const (this=0x7fffffff6a18) at src/mongo/db/service_entry_point_common.cpp:1684 #56 0x0000555560df67c7 in mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec (this=0x7fffef617220) at src/mongo/db/service_entry_point_common.cpp:1689 #57 0x0000555560df3637 in mongo::(anonymous namespace)::ExecCommandDatabase::run()::{lambda()#1}::operator()() const (this=0x7fffffff6b30) at src/mongo/db/service_entry_point_common.cpp:538 #58 0x0000555560df344c in mongo::makeReadyFutureWith(mongo::(anonymous namespace)::ExecCommandDatabase::run()::{lambda()#1}) (func=...) at src/mongo/util/future.h:1241 #59 0x0000555560df33c7 in mongo::(anonymous namespace)::ExecCommandDatabase::run (this=0x7fffef617220) at src/mongo/db/service_entry_point_common.cpp:536 #60 0x0000555560df3290 in mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23::operator()()::{lambda(auto:1*)#1}::operator()(mongo::(anonymous namespace)::ExecCommandDatabase*) const (this=0x7fffffff6d40, runner=0x7fffef617220) at src/mongo/db/service_entry_point_common.cpp:1960 #61 0x0000555560df31a0 in mongo::future_util::AsyncState::thenWithState)::$_23::operator()()::{lambda(auto:1*)#1}>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23::operator()()::{lambda(auto:1*)#1}&&) &&::{lambda()#1}::operator()() const (this=0x7fffffff6ce0) at src/mongo/util/future_util.h:827 #62 0x0000555560df304c in mongo::makeReadyFutureWith::thenWithState)::$_23::operator()()::{lambda(auto:1*)#1}>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23::operator()()::{lambda(auto:1*)#1}&&) &&::{lambda()#1}, 0>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23::operator()()::{lambda(auto:1*)#1}) (func=...) at src/mongo/util/future.h:1241 #63 0x0000555560df1bdc in mongo::future_util::AsyncState::thenWithState)::$_23::operator()()::{lambda(auto:1*)#1}>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23::operator()()::{lambda(auto:1*)#1}&&) && (this=0x7fffffff6d48, launcher=...) at src/mongo/util/future_util.h:826 #64 0x0000555560df1a84 in mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23::operator()() (this=0x7ffff51fcb18) at src/mongo/db/service_entry_point_common.cpp:1960 #65 0x0000555560df1a1c in mongo::future_details::call)::$_23&>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23&, mongo::future_details::FakeVoid) (func=...) at src/mongo/util/future_impl.h:255 #66 0x0000555560df19f0 in mongo::future_details::throwingCall)::$_23&, mongo::future_details::FakeVoid>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23&, mongo::future_details::FakeVoid&&) (func=..., args=...) at src/mongo/util/future_impl.h:308 #67 0x0000555560e246b6 in mongo::future_details::FutureImpl::then)::$_23>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}::operator()(mongo::future_details::SharedStateImpl, mongo::future_details::SharedStateImpl) (this=0x7ffff51fcb18, input=0x7ffff5411ce0, output=0x7ffff5411e20) at src/mongo/util/future_impl.h:953 #68 0x0000555560e245b1 in mongo::future_details::FutureImpl::makeContinuation::then)::$_23>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}>(mongo::future_details::FutureImpl::then)::$_23>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}&&)::{lambda(mongo::future_details::SharedStateBase*)#1}::operator()(mongo::future_details::FutureImpl::then)::$_23>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}&&) (this=0x7ffff51fcb18, ssb=0x7ffff5411ce0) at src/mongo/util/future_impl.h:1275 #69 0x0000555560e24521 in mongo::unique_function::makeImpl::makeContinuation::then)::$_23>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}>(mongo::future_details::FutureImpl::then)::$_23>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}&&)::{lambda(mongo::future_details::SharedStateBase*)#1}>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_23&&)::SpecificImpl::call(mongo::future_details::SharedStateBase*&&) (this=0x7ffff51fcb10, args=@0x7fffffff6f60: 0x7ffff5411ce0) at src/mongo/util/functional.h:259 #70 0x00005555602ef31d in mongo::unique_function::operator()(mongo::future_details::SharedStateBase*) const (this=0x7ffff5411cf8, args=0x7ffff5411ce0) at src/mongo/util/functional.h:217 #71 0x00005555602eef6c in mongo::future_details::SharedStateBase::transitionToFinished (this=0x7ffff5411ce0) at src/mongo/util/future_impl.h:441 #72 0x00005555603a0741 in mongo::future_details::SharedStateImpl::emplaceValue (this=0x7ffff5411ce0, args=...) at src/mongo/util/future_impl.h:592 #73 0x00005555603a0366 in mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::{lambda(mongo::future_details::FakeVoid&&)#1}::operator()(mongo::future_details::FakeVoid&&) const (this=0x7fffffff71f8, val=...) at src/mongo/util/future_impl.h:1164 #74 0x00005555603a0104 in mongo::future_details::FutureImpl::generalImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::{lambda(mongo::future_details::FakeVoid&&)#1}, mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::{lambda(mongo::Status&&)#1}, mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::{lambda()#1}>(mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::{lambda(mongo::future_details::FakeVoid&&)#1}&&, mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::{lambda(mongo::Status&&)#1}&&, mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::{lambda()#1}&&) (this=0x7fffffff72d8, success=..., fail=..., notReady=...) at src/mongo/util/future_impl.h:1202 #75 0x00005555603a0049 in mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) && (this=0x7fffffff72d8, output=0x7ffff5411ce0) at src/mongo/util/future_impl.h:1162 #76 0x00005555603a4f02 in mongo::SemiFuture::propagateResultTo*&>(mongo::future_details::SharedStateImpl*&) && (this=0x7fffffff72d8, arg=@0x7fffffff72d0: 0x7ffff5411ce0) at src/mongo/util/future.h:295 #77 0x0000555560df0ab8 in mongo::future_details::FutureImpl::then)::$_22>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_22&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}::operator()(mongo::future_details::SharedStateImpl, mongo::future_details::SharedStateImpl) (this=0x7ffff50caa68, input=0x7ffff54111a0, output=0x7ffff5411ce0) at src/mongo/util/future_impl.h:953 #78 0x0000555560df09a1 in mongo::future_details::FutureImpl::makeContinuation::then)::$_22>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_22&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}>(mongo::future_details::FutureImpl::then)::$_22>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_22&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}&&)::{lambda(mongo::future_details::SharedStateBase*)#1}::operator()(mongo::future_details::FutureImpl::then)::$_22>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_22&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}&&) (this=0x7ffff50caa68, ssb=0x7ffff54111a0) at src/mongo/util/future_impl.h:1275 #79 0x0000555560df0911 in mongo::unique_function::makeImpl::makeContinuation::then)::$_22>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_22&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}>(mongo::future_details::FutureImpl::then)::$_22>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_22&&) &&::{lambda()#1}::operator()() const::{lambda(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl)#1}&&)::{lambda(mongo::future_details::SharedStateBase*)#1}>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_22&&)::SpecificImpl::call(mongo::future_details::SharedStateBase*&&) (this=0x7ffff50caa60, args=@0x7fffffff73c0: 0x7ffff54111a0) at src/mongo/util/functional.h:259 #80 0x00005555602ef31d in mongo::unique_function::operator()(mongo::future_details::SharedStateBase*) const (this=0x7ffff54111b8, args=0x7ffff54111a0) at src/mongo/util/functional.h:217 #81 0x00005555602eef6c in mongo::future_details::SharedStateBase::transitionToFinished (this=0x7ffff54111a0) at src/mongo/util/future_impl.h:441 #82 0x00005555602efca7 in mongo::future_details::SharedStateImpl::emplaceValue<>() (this=0x7ffff54111a0) at src/mongo/util/future_impl.h:592 #83 0x0000555560c41431 in mongo::Promise::emplaceValue<, 0>()::{lambda(boost::intrusive_ptr >&&)#1}::operator()(boost::intrusive_ptr >&&) const (this=0x7fffffff7590, sharedState=...) at src/mongo/util/future.h:871 #84 0x0000555560c413ae in mongo::Promise::setImpl::emplaceValue<, 0>()::{lambda(boost::intrusive_ptr >&&)#1}>(mongo::Promise::emplaceValue<, 0>()::{lambda(boost::intrusive_ptr >&&)#1}&&) (this=0x7fffffff7630, doSet=...) at src/mongo/util/future.h:914 #85 0x0000555560c2bab6 in mongo::Promise::emplaceValue<, 0>() (this=0x7fffffff7630) at src/mongo/util/future.h:870 #86 0x0000555560dee490 in mongo::(anonymous namespace)::executeCommand (execContext=...) at src/mongo/db/service_entry_point_common.cpp:1972 #87 0x0000555560dee350 in mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25::operator()() (this=0x7fffffff7a30) at src/mongo/db/service_entry_point_common.cpp:2019 #88 0x0000555560dee2ec in mongo::future_details::call)::$_25&>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25&, mongo::future_details::FakeVoid) (func=...) at src/mongo/util/future_impl.h:255 #89 0x0000555560dee2c0 in mongo::future_details::throwingCall)::$_25&, mongo::future_details::FakeVoid>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25&, mongo::future_details::FakeVoid&&) (func=..., args=...) at src/mongo/util/future_impl.h:308 #90 0x0000555560dedf62 in mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25&&) &&::{lambda(mongo::future_details::FakeVoid&&)#1}::operator()(mongo::future_details::FakeVoid&&) const (this=0x7fffffff7910, val=...) at src/mongo/util/future_impl.h:935 #91 0x0000555560dedccf in mongo::future_details::FutureImpl::generalImpl::then)::$_25>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25&&) &&::{lambda(mongo::future_details::FakeVoid&&)#1}, mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25&&) &&::{lambda(mongo::Status&&)#1}, mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25&&) &&::{lambda()#1}>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25&&, mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25&&) &&::{lambda(mongo::Status&&)#1}&&, mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25&&) &&::{lambda()#1}&&) (this=0x7fffffff7a58, success=..., fail=..., notReady=...) at src/mongo/util/future_impl.h:1202 #92 0x0000555560dedbf8 in mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25&&) && (this=0x7fffffff7a58, func=...) at src/mongo/util/future_impl.h:931 #93 0x0000555560ded6c8 in mongo::Future::then)::$_25, 0>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_25&&) && (this=0x7fffffff7a58, func=...) at src/mongo/util/future.h:416 #94 0x0000555560deceed in mongo::(anonymous namespace)::receivedCommands (execContext=...) at src/mongo/db/service_entry_point_common.cpp:2019 #95 0x0000555560decd9c in mongo::(anonymous namespace)::CommandOpRunner::run (this=0x7ffff50c9a20) at src/mongo/db/service_entry_point_common.cpp:2050 #96 0x0000555560de9610 in mongo::ServiceEntryPointCommon::handleRequest (opCtx=0x7ffff57456a0, m=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:2275 #97 0x0000555560de3b1d in mongo::ServiceEntryPointMongod::handleRequest (this=0x7ffff508d020, opCtx=0x7ffff57456a0, m=...) at src/mongo/db/service_entry_point_mongod.cpp:285 #98 0x00005555632e7381 in mongo::(anonymous namespace)::loopbackBuildResponse (opCtx=0x7ffff57456a0, toSend=...) at src/mongo/db/dbdirectclient.cpp:133 #99 0x00005555632e715b in mongo::DBDirectClient::call (this=0x7fffffffa608, toSend=..., response=..., assertOk=true, actualServer=0x7fffef5f0050) at src/mongo/db/dbdirectclient.cpp:138 #100 0x0000555566274c25 in mongo::DBClientCursor::init (this=0x7fffef5f0020) at src/mongo/client/dbclient_cursor.cpp:396 #101 0x0000555566269214 in mongo::DBClientBase::find (this=0x7fffffffa608, findRequest=..., readPref=...) at src/mongo/client/dbclient_base.cpp:614 #102 0x00005555632e763f in mongo::DBDirectClient::find (this=0x7fffffffa608, findRequest=..., readPref=...) at src/mongo/db/dbdirectclient.cpp:154 #103 0x00005555662695bf in mongo::DBClientBase::findOne (this=0x7fffffffa608, findRequest=..., readPref=...) at src/mongo/client/dbclient_base.cpp:635 #104 0x0000555561239a51 in mongo::DBClientBase::findOne (this=0x7fffffffa608, findRequest=...) at src/mongo/client/dbclient_base.h:545 #105 0x0000555566269912 in mongo::DBClientBase::findOne (this=0x7fffffffa608, nssOrUuid=..., filter=...) at src/mongo/client/dbclient_base.cpp:645 #106 0x0000555562b7c6ba in mongo::(anonymous namespace)::fetchActiveTransactionHistory(mongo::OperationContext*, mongo::LogicalSessionId const&, bool)::$_0::operator()() const::{lambda(mongo::DBDirectClient*)#1}::operator()(mongo::DBDirectClient*) const (this=0x7fffffffa6f0, client=0x7fffffffa608) at src/mongo/db/transaction_participant.cpp:203 #107 0x0000555562b7c48c in mongo::(anonymous namespace)::performReadWithNoTimestampDBDirectClient(mongo::OperationContext*, mongo::(anonymous namespace)::fetchActiveTransactionHistory(mongo::OperationContext*, mongo::LogicalSessionId const&, bool)::$_0::operator()() const::{lambda(mongo::DBDirectClient*)#1}&&) (opCtx=0x7ffff57456a0, callable=...) at src/mongo/db/transaction_participant.cpp:182 #108 0x0000555562b7c07b in mongo::(anonymous namespace)::fetchActiveTransactionHistory(mongo::OperationContext*, mongo::LogicalSessionId const&, bool)::$_0::operator()() const (this=0x7fffffffa8e8) at src/mongo/db/transaction_participant.cpp:200 #109 0x0000555562b76895 in mongo::(anonymous namespace)::fetchActiveTransactionHistory (opCtx=0x7ffff57456a0, lsid=..., fetchOplogEntries=true) at src/mongo/db/transaction_participant.cpp:199 #110 0x0000555562b75de5 in mongo::TransactionParticipant::Participant::_refreshSelfFromStorageIfNeeded (this=0x7fffffffb1d8, opCtx=0x7ffff57456a0, fetchOplogEntries=true) at src/mongo/db/transaction_participant.cpp:2797 #111 0x0000555562b75c6e in mongo::TransactionParticipant::Participant::_refreshFromStorageIfNeeded (this=0x7fffffffb1d8, opCtx=0x7ffff57456a0, fetchOplogEntries=true) at src/mongo/db/transaction_participant.cpp:2778 #112 0x0000555562b75c22 in mongo::TransactionParticipant::Participant::refreshFromStorageIfNeeded (this=0x7fffffffb1d8, opCtx=0x7ffff57456a0) at src/mongo/db/transaction_participant.cpp:2768 #113 0x0000555562b53f66 in mongo::MongoDOperationContextSession::MongoDOperationContextSession (this=0x7fffffffcca0, opCtx=0x7ffff57456a0) at src/mongo/db/session_catalog_mongod.cpp:585 #114 0x0000555560834a5d in boost::optional_detail::optional_base::construct (this=0x7fffffffcc98, args=@0x7fffffffcb48: 0x7ffff57456a0) at src/third_party/boost/boost/optional/optional.hpp:421 #115 0x0000555560834a15 in boost::optional_detail::optional_base::emplace_assign (this=0x7fffffffcc98, args=@0x7fffffffcb48: 0x7ffff57456a0) at src/third_party/boost/boost/optional/optional.hpp:429 #116 0x00005555608349ad in boost::optional::emplace (this=0x7fffffffcc98, args=@0x7fffffffcb48: 0x7ffff57456a0) at src/third_party/boost/boost/optional/optional.hpp:1111 #117 0x0000555560837355 in mongo::MultiDocumentTransactionTest::MultiDocumentTransactionTest (this=0x7fffffffcae0, vtt=0x555567154728 ) at src/mongo/db/repl/storage_timestamp_test.cpp:3422 #118 0x0000555560836755 in mongo::UnitTest_SuiteNameMultiDocumentTransactionTestTestNameMultiDocumentTransaction::UnitTest_SuiteNameMultiDocumentTransactionTestTestNameMultiDocumentTransaction (this=0x7fffffffcae0) at src/mongo/db/repl/storage_timestamp_test.cpp:3487 #119 0x0000555560836662 in mongo::unittest::Test::RegistrationAgent::RegistrationAgent(mongo::unittest::TestInfo const*)::{lambda()#1}::operator()() const (this=0x7ffff7fc8060) at src/mongo/unittest/unittest.h:607 #120 0x000055556083645d in std::_Function_handler::RegistrationAgent(mongo::unittest::TestInfo const*)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (__functor=...) at /opt/mongodbtoolchain/revisions/c6da1cf7f0b4b60d53566305e59857d3d540dcf7/stow/gcc-v3.JnX/lib/gcc/x86_64-mongodb-linux/8.5.0/../../../../include/c++/8.5.0/bits/std_function.h:297 #121 0x000055556064066e in std::function::operator()() const (this=0x7ffff7fc8060) at /opt/mongodbtoolchain/revisions/c6da1cf7f0b4b60d53566305e59857d3d540dcf7/stow/gcc-v3.JnX/lib/gcc/x86_64-mongodb-linux/8.5.0/../../../../include/c++/8.5.0/bits/std_function.h:687 #122 0x0000555560db18e2 in mongo::unittest::Suite::run (this=0x7ffff7faaad0, filter=..., fileNameFilter=..., runsPerTest=1) at src/mongo/unittest/unittest.cpp:438 #123 0x0000555560db3157 in mongo::unittest::Suite::run (suites=..., filter=..., fileNameFilter=..., runsPerTest=1) at src/mongo/unittest/unittest.cpp:507 #124 0x00005555609ea86c in main (argc=3, argv=0x7fffffffe2f8) at src/mongo/unittest/unittest_main.cpp:126