Thread 20 (Thread 0x7f4f0f39f700 (LWP 20192)): #0 0x00007f4f1b5a9786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f4f0f39b100, expected=0, futex_word=0x55a4e6d690dc) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f4f0f39b100, mutex=0x55a4e6d69088, cond=0x55a4e6d690b0) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x55a4e6d690b0, mutex=0x55a4e6d69088, abstime=0x7f4f0f39b100) at pthread_cond_wait.c:667 #3 0x000055a4e31c1241 in __gthread_cond_timedwait (__cond=, __mutex=, __abs_timeout=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/x86_64-mongodb-linux/bits/gthr-default.h:871 #4 (anonymous namespace)::condition_variable::__wait_until_impl > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:165 #5 (anonymous namespace)::condition_variable::wait_until > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:105 #6 (anonymous namespace)::condition_variable::wait_until >, (lambda at src/mongo/db/concurrency/lock_state.cpp:222:50)> (this=, __lock=..., __atime=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:128 #7 (anonymous namespace)::condition_variable::wait_for, (lambda at src/mongo/db/concurrency/lock_state.cpp:222:50)> (this=, __lock=..., __rtime=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:144 #8 (anonymous namespace)::CondVarLockGrantNotification::wait (this=, timeout=...) at src/mongo/db/concurrency/lock_state.cpp:221 #9 0x000055a4e31c62ff in (anonymous namespace)::LockerImpl::lockComplete (this=0x55a4e6d69000, opCtx=0x55a4e69387c0, resId=..., mode=, deadline=..., checkDeadlock=) at src/mongo/db/concurrency/lock_state.cpp:874 #10 0x000055a4e31ba11b in (anonymous namespace)::Lock::GlobalLock::waitForLockUntil (this=0x7f4f0f39b840, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:187 #11 0x000055a4e31b9ffc in (anonymous namespace)::Lock::GlobalLock::GlobalLock (this=0x7f4f0f39b840, opCtx=, lockMode=(anonymous namespace)::MODE_IX, deadline=..., behavior=) at src/mongo/db/concurrency/d_concurrency.cpp:144 #12 0x000055a4e31ba432 in (anonymous namespace)::Lock::DBLock::DBLock (this=0x7f4f0f39b828, opCtx=, db=..., mode=, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:215 #13 0x000055a4e2fe4b23 in (anonymous namespace)::AutoGetDb::AutoGetDb (this=0x7f4f0f39b828, opCtx=0x55a4e69387c0, dbName=..., mode=(anonymous namespace)::MODE_IX, deadline=...) at src/mongo/db/catalog_raii.cpp:59 #14 0x000055a4e2fe4f01 in (anonymous namespace)::AutoGetCollection::AutoGetCollection (this=0x7f4f0f39b800, opCtx=0x55a4e69387c0, nsOrUUID=..., modeDB=(anonymous namespace)::MODE_IX, modeColl=(anonymous namespace)::MODE_IX, viewMode=, deadline=...) at src/mongo/db/catalog_raii.cpp:78 #15 0x000055a4e25bf921 in (anonymous namespace)::AutoGetCollection::AutoGetCollection (this=0x55a4e6d690dc, opCtx=0x55a4e69387c0, nsOrUUID=..., modeAll=(anonymous namespace)::MODE_IX, viewMode=(anonymous namespace)::AutoGetCollection::kViewsForbidden, deadline=...) at src/mongo/db/catalog_raii.h:93 #16 operator() (this=) at src/mongo/db/commands/mr.cpp:826 #17 0x000055a4e25b8990 in (anonymous namespace)::writeConflictRetry<(lambda at src/mongo/db/commands/mr.cpp:825:73)> (opCtx=, opStr=, ns=..., f=...) at src/mongo/db/concurrency/write_conflict_exception.h:91 #18 (anonymous namespace)::(anonymous namespace)::State::_insertToInc (this=, o=...) at src/mongo/db/commands/mr.cpp:825 #19 0x000055a4e25bc36b in (anonymous namespace)::(anonymous namespace)::State::dumpToInc (this=) at src/mongo/db/commands/mr.cpp:1273 #20 0x000055a4e25bca9b in (anonymous namespace)::(anonymous namespace)::State::reduceAndSpillInMemoryStateIfNeeded (this=0x7f4f0f39c220) at src/mongo/db/commands/mr.cpp:1335 #21 0x000055a4e25c17c7 in (anonymous namespace)::(anonymous namespace)::MapReduceCommand::errmsgRun (this=, opCtx=, dbname=..., cmd=..., errmsg=..., result=...) at src/mongo/db/commands/mr.cpp:1546 #22 0x000055a4e33fa9d4 in (anonymous namespace)::ErrmsgCommandDeprecated::run (this=0x55a4e6d690dc, opCtx=0x189, db=..., cmdObj=..., result=...) at src/mongo/db/commands.cpp:546 #23 0x000055a4e33fb3ac in (anonymous namespace)::BasicCommand::Invocation::run (this=0x55a4e6e11340, opCtx=0x55a4e69387c0, result=) at src/mongo/db/commands.cpp:449 #24 0x000055a4e21ff32b in (anonymous namespace)::(anonymous namespace)::invokeInTransaction (opCtx=0x55a4e69387c0, invocation=0x55a4e6e11340, replyBuilder=0x7f4f0f39c9a0) at src/mongo/db/service_entry_point_common.cpp:464 #25 0x000055a4e21faf70 in (anonymous namespace)::(anonymous namespace)::runCommandImpl (opCtx=0x55a4e69387c0, invocation=0x55a4e6e11340, request=..., replyBuilder=0x55a4e76248c0, behaviors=..., sessionOptions=..., startOperationTime=..., extraFieldsBuilder=) at src/mongo/db/service_entry_point_common.cpp:539 #26 (anonymous namespace)::(anonymous namespace)::execCommandDatabase (opCtx=, command=0x55a4e495bd40 , request=..., replyBuilder=, behaviors=...) at src/mongo/db/service_entry_point_common.cpp:875 #27 0x000055a4e21f34c8 in operator() (this=) at src/mongo/db/service_entry_point_common.cpp:1022 #28 (anonymous namespace)::(anonymous namespace)::runCommands (opCtx=, message=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:970 #29 (anonymous namespace)::ServiceEntryPointCommon::handleRequest (opCtx=, m=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:1313 #30 0x000055a4e21ea0b6 in (anonymous namespace)::ServiceEntryPointMongod::handleRequest (this=, opCtx=0x189, m=...) at src/mongo/db/service_entry_point_mongod.cpp:123 #31 0x000055a4e21f0d67 in (anonymous namespace)::ServiceStateMachine::_processMessage (this=0x55a4e66dceb0, guard=...) at src/mongo/transport/service_state_machine.cpp:378 #32 0x000055a4e21eede7 in (anonymous namespace)::ServiceStateMachine::_runNextInGuard (this=0x55a4e66dceb0, guard=...) at src/mongo/transport/service_state_machine.cpp:439 #33 0x000055a4e21f0689 in operator() (this=0x55a4e6971a20) at src/mongo/transport/service_state_machine.cpp:479 #34 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #35 0x000055a4e32c85c9 in (anonymous namespace)::function::operator() (this=0x7f4f0f39e690) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #36 (anonymous namespace)::(anonymous namespace)::ServiceExecutorSynchronous::schedule (this=0x55a4e65e2500, task=..., flags=(anonymous namespace)::(anonymous namespace)::ServiceExecutor::kMayRecurse, taskName=) at src/mongo/transport/service_executor_synchronous.cpp:115 #37 0x000055a4e21ee8ac in (anonymous namespace)::ServiceStateMachine::_scheduleNextWithGuard (this=, guard=..., flags=, taskName=, ownershipModel=) at src/mongo/transport/service_state_machine.cpp:483 #38 0x000055a4e21ee3ac in (anonymous namespace)::ServiceStateMachine::_sourceCallback (this=0x55a4e66dceb0, status=...) at src/mongo/transport/service_state_machine.cpp:303 #39 0x000055a4e21ed6e3 in operator() (msg=, this=) at src/mongo/transport/service_state_machine.cpp:259 #40 (anonymous namespace)::(anonymous namespace)::call<(lambda at src/mongo/transport/service_state_machine.cpp:254:30) &, mongo::Message> (func=..., arg=...) at src/mongo/util/future.h:112 #41 operator() (this=, val=...) at src/mongo/util/future.h:789 #42 (anonymous namespace)::(anonymous namespace)::Future::generalImpl<(lambda at src/mongo/util/future.h:789:13), (lambda at src/mongo/util/future.h:791:13), (lambda at src/mongo/util/future.h:793:13)> (this=, success=..., fail=..., notReady=...) at src/mongo/util/future.h:1093 #43 (anonymous namespace)::(anonymous namespace)::Future::getAsync<(lambda at src/mongo/transport/service_state_machine.cpp:254:30)> (this=, func=...) at src/mongo/util/future.h:787 #44 (anonymous namespace)::ServiceStateMachine::_sourceMessage (this=0x55a4e66dceb0, guard=...) at src/mongo/transport/service_state_machine.cpp:254 #45 0x000055a4e21eeda3 in (anonymous namespace)::ServiceStateMachine::_runNextInGuard (this=0x55a4e66dceb0, guard=...) at src/mongo/transport/service_state_machine.cpp:436 #46 0x000055a4e21f0689 in operator() (this=0x55a4e7b07500) at src/mongo/transport/service_state_machine.cpp:479 #47 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #48 0x000055a4e32c8f92 in (anonymous namespace)::function::operator() (this=0x55a4e6d690dc) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #49 operator() (this=) at src/mongo/transport/service_executor_synchronous.cpp:132 #50 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #51 0x000055a4e3894cfa in (anonymous namespace)::function::operator() (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #52 (anonymous namespace)::(anonymous namespace)::runFunc (ctx=0x55a4e6971fa0) at src/mongo/transport/service_entry_point_utils.cpp:55 #53 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f0f39f700) at pthread_create.c:465 #54 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 19 (Thread 0x7f4f0f4a0700 (LWP 20191)): #0 0x00007f4f1b5a9786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f4f0f49c2b0, expected=0, futex_word=0x55a4e6d61dd8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f4f0f49c2b0, mutex=0x55a4e6d61d88, cond=0x55a4e6d61db0) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x55a4e6d61db0, mutex=0x55a4e6d61d88, abstime=0x7f4f0f49c2b0) at pthread_cond_wait.c:667 #3 0x000055a4e31c1241 in __gthread_cond_timedwait (__cond=, __mutex=, __abs_timeout=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/x86_64-mongodb-linux/bits/gthr-default.h:871 #4 (anonymous namespace)::condition_variable::__wait_until_impl > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:165 #5 (anonymous namespace)::condition_variable::wait_until > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:105 #6 (anonymous namespace)::condition_variable::wait_until >, (lambda at src/mongo/db/concurrency/lock_state.cpp:222:50)> (this=, __lock=..., __atime=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:128 #7 (anonymous namespace)::condition_variable::wait_for, (lambda at src/mongo/db/concurrency/lock_state.cpp:222:50)> (this=, __lock=..., __rtime=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:144 #8 (anonymous namespace)::CondVarLockGrantNotification::wait (this=, timeout=...) at src/mongo/db/concurrency/lock_state.cpp:221 #9 0x000055a4e31c62ff in (anonymous namespace)::LockerImpl::lockComplete (this=0x55a4e6d61d00, opCtx=0x55a4e692b000, resId=..., mode=, deadline=..., checkDeadlock=) at src/mongo/db/concurrency/lock_state.cpp:874 #10 0x000055a4e31ba11b in (anonymous namespace)::Lock::GlobalLock::waitForLockUntil (this=0x7f4f0f49c9f0, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:187 #11 0x000055a4e31b9ffc in (anonymous namespace)::Lock::GlobalLock::GlobalLock (this=0x7f4f0f49c9f0, opCtx=, lockMode=(anonymous namespace)::MODE_IX, deadline=..., behavior=) at src/mongo/db/concurrency/d_concurrency.cpp:144 #12 0x000055a4e31ba432 in (anonymous namespace)::Lock::DBLock::DBLock (this=0x7f4f0f49c9d8, opCtx=, db=..., mode=, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:215 #13 0x000055a4e2fe4b23 in (anonymous namespace)::AutoGetDb::AutoGetDb (this=0x7f4f0f49c9d8, opCtx=0x55a4e692b000, dbName=..., mode=(anonymous namespace)::MODE_IX, deadline=...) at src/mongo/db/catalog_raii.cpp:59 #14 0x000055a4e2fe4f01 in (anonymous namespace)::AutoGetCollection::AutoGetCollection (this=0x7f4f0f49c9b0, opCtx=0x55a4e692b000, nsOrUUID=..., modeDB=(anonymous namespace)::MODE_IX, modeColl=(anonymous namespace)::MODE_IX, viewMode=, deadline=...) at src/mongo/db/catalog_raii.cpp:78 #15 0x000055a4e25bf921 in (anonymous namespace)::AutoGetCollection::AutoGetCollection (this=0x55a4e6d61dd8, opCtx=0x55a4e692b000, nsOrUUID=..., modeAll=(anonymous namespace)::MODE_IX, viewMode=(anonymous namespace)::AutoGetCollection::kViewsForbidden, deadline=...) at src/mongo/db/catalog_raii.h:93 #16 operator() (this=) at src/mongo/db/commands/mr.cpp:826 #17 0x000055a4e25b8990 in (anonymous namespace)::writeConflictRetry<(lambda at src/mongo/db/commands/mr.cpp:825:73)> (opCtx=, opStr=, ns=..., f=...) at src/mongo/db/concurrency/write_conflict_exception.h:91 #18 (anonymous namespace)::(anonymous namespace)::State::_insertToInc (this=, o=...) at src/mongo/db/commands/mr.cpp:825 #19 0x000055a4e25bc36b in (anonymous namespace)::(anonymous namespace)::State::dumpToInc (this=) at src/mongo/db/commands/mr.cpp:1273 #20 0x000055a4e25c1feb in (anonymous namespace)::(anonymous namespace)::MapReduceCommand::errmsgRun (this=, opCtx=, dbname=..., cmd=..., errmsg=..., result=...) at src/mongo/db/commands/mr.cpp:1608 #21 0x000055a4e33fa9d4 in (anonymous namespace)::ErrmsgCommandDeprecated::run (this=0x55a4e6d61dd8, opCtx=0x189, db=..., cmdObj=..., result=...) at src/mongo/db/commands.cpp:546 #22 0x000055a4e33fb3ac in (anonymous namespace)::BasicCommand::Invocation::run (this=0x55a4e66ef300, opCtx=0x55a4e692b000, result=) at src/mongo/db/commands.cpp:449 #23 0x000055a4e21ff32b in (anonymous namespace)::(anonymous namespace)::invokeInTransaction (opCtx=0x55a4e692b000, invocation=0x55a4e66ef300, replyBuilder=0x7f4f0f49d9a0) at src/mongo/db/service_entry_point_common.cpp:464 #24 0x000055a4e21faf70 in (anonymous namespace)::(anonymous namespace)::runCommandImpl (opCtx=0x55a4e692b000, invocation=0x55a4e66ef300, request=..., replyBuilder=0x55a4e73a0900, behaviors=..., sessionOptions=..., startOperationTime=..., extraFieldsBuilder=) at src/mongo/db/service_entry_point_common.cpp:539 #25 (anonymous namespace)::(anonymous namespace)::execCommandDatabase (opCtx=, command=0x55a4e495bd40 , request=..., replyBuilder=, behaviors=...) at src/mongo/db/service_entry_point_common.cpp:875 #26 0x000055a4e21f34c8 in operator() (this=) at src/mongo/db/service_entry_point_common.cpp:1022 #27 (anonymous namespace)::(anonymous namespace)::runCommands (opCtx=, message=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:970 #28 (anonymous namespace)::ServiceEntryPointCommon::handleRequest (opCtx=, m=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:1313 #29 0x000055a4e21ea0b6 in (anonymous namespace)::ServiceEntryPointMongod::handleRequest (this=, opCtx=0x189, m=...) at src/mongo/db/service_entry_point_mongod.cpp:123 #30 0x000055a4e21f0d67 in (anonymous namespace)::ServiceStateMachine::_processMessage (this=0x55a4e66dcdd0, guard=...) at src/mongo/transport/service_state_machine.cpp:378 #31 0x000055a4e21eede7 in (anonymous namespace)::ServiceStateMachine::_runNextInGuard (this=0x55a4e66dcdd0, guard=...) at src/mongo/transport/service_state_machine.cpp:439 #32 0x000055a4e21f0689 in operator() (this=0x55a4e67b0660) at src/mongo/transport/service_state_machine.cpp:479 #33 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #34 0x000055a4e32c85c9 in (anonymous namespace)::function::operator() (this=0x7f4f0f49f690) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #35 (anonymous namespace)::(anonymous namespace)::ServiceExecutorSynchronous::schedule (this=0x55a4e65e2500, task=..., flags=(anonymous namespace)::(anonymous namespace)::ServiceExecutor::kMayRecurse, taskName=) at src/mongo/transport/service_executor_synchronous.cpp:115 #36 0x000055a4e21ee8ac in (anonymous namespace)::ServiceStateMachine::_scheduleNextWithGuard (this=, guard=..., flags=, taskName=, ownershipModel=) at src/mongo/transport/service_state_machine.cpp:483 #37 0x000055a4e21ee3ac in (anonymous namespace)::ServiceStateMachine::_sourceCallback (this=0x55a4e66dcdd0, status=...) at src/mongo/transport/service_state_machine.cpp:303 #38 0x000055a4e21ed6e3 in operator() (msg=, this=) at src/mongo/transport/service_state_machine.cpp:259 #39 (anonymous namespace)::(anonymous namespace)::call<(lambda at src/mongo/transport/service_state_machine.cpp:254:30) &, mongo::Message> (func=..., arg=...) at src/mongo/util/future.h:112 #40 operator() (this=, val=...) at src/mongo/util/future.h:789 #41 (anonymous namespace)::(anonymous namespace)::Future::generalImpl<(lambda at src/mongo/util/future.h:789:13), (lambda at src/mongo/util/future.h:791:13), (lambda at src/mongo/util/future.h:793:13)> (this=, success=..., fail=..., notReady=...) at src/mongo/util/future.h:1093 #42 (anonymous namespace)::(anonymous namespace)::Future::getAsync<(lambda at src/mongo/transport/service_state_machine.cpp:254:30)> (this=, func=...) at src/mongo/util/future.h:787 #43 (anonymous namespace)::ServiceStateMachine::_sourceMessage (this=0x55a4e66dcdd0, guard=...) at src/mongo/transport/service_state_machine.cpp:254 #44 0x000055a4e21eeda3 in (anonymous namespace)::ServiceStateMachine::_runNextInGuard (this=0x55a4e66dcdd0, guard=...) at src/mongo/transport/service_state_machine.cpp:436 #45 0x000055a4e21f0689 in operator() (this=0x55a4e67b0340) at src/mongo/transport/service_state_machine.cpp:479 #46 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #47 0x000055a4e32c8f92 in (anonymous namespace)::function::operator() (this=0x55a4e6d61dd8) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #48 operator() (this=) at src/mongo/transport/service_executor_synchronous.cpp:132 #49 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #50 0x000055a4e3894cfa in (anonymous namespace)::function::operator() (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #51 (anonymous namespace)::(anonymous namespace)::runFunc (ctx=0x55a4e6971ee0) at src/mongo/transport/service_entry_point_utils.cpp:55 #52 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f0f4a0700) at pthread_create.c:465 #53 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 18 (Thread 0x7f4f0f5a1700 (LWP 20190)): #0 0x00007f4f1b5a9786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f4f0f59cfc0, expected=0, futex_word=0x55a4e6d5a458) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f4f0f59cfc0, mutex=0x55a4e6d5a408, cond=0x55a4e6d5a430) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x55a4e6d5a430, mutex=0x55a4e6d5a408, abstime=0x7f4f0f59cfc0) at pthread_cond_wait.c:667 #3 0x000055a4e31c1241 in __gthread_cond_timedwait (__cond=, __mutex=, __abs_timeout=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/x86_64-mongodb-linux/bits/gthr-default.h:871 #4 (anonymous namespace)::condition_variable::__wait_until_impl > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:165 #5 (anonymous namespace)::condition_variable::wait_until > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:105 #6 (anonymous namespace)::condition_variable::wait_until >, (lambda at src/mongo/db/concurrency/lock_state.cpp:222:50)> (this=, __lock=..., __atime=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:128 #7 (anonymous namespace)::condition_variable::wait_for, (lambda at src/mongo/db/concurrency/lock_state.cpp:222:50)> (this=, __lock=..., __rtime=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:144 #8 (anonymous namespace)::CondVarLockGrantNotification::wait (this=, timeout=...) at src/mongo/db/concurrency/lock_state.cpp:221 #9 0x000055a4e31c62ff in (anonymous namespace)::LockerImpl::lockComplete (this=0x55a4e6d5a380, opCtx=0x55a4e6938400, resId=..., mode=, deadline=..., checkDeadlock=) at src/mongo/db/concurrency/lock_state.cpp:874 #10 0x000055a4e31ba11b in (anonymous namespace)::Lock::GlobalLock::waitForLockUntil (this=0x7f4f0f59d6b8, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:187 #11 0x000055a4e31b9ffc in (anonymous namespace)::Lock::GlobalLock::GlobalLock (this=0x7f4f0f59d6b8, opCtx=, lockMode=(anonymous namespace)::MODE_IX, deadline=..., behavior=) at src/mongo/db/concurrency/d_concurrency.cpp:144 #12 0x000055a4e31ba432 in (anonymous namespace)::Lock::DBLock::DBLock (this=0x7f4f0f59d6a0, opCtx=, db=..., mode=, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:215 #13 0x000055a4e2fe4b23 in (anonymous namespace)::AutoGetDb::AutoGetDb (this=0x7f4f0f59d6a0, opCtx=0x55a4e6938400, dbName=..., mode=(anonymous namespace)::MODE_X, deadline=...) at src/mongo/db/catalog_raii.cpp:59 #14 0x000055a4e2fe72e1 in (anonymous namespace)::(anonymous namespace)::optional_base::emplace_assign (this=, args=..., args=..., args=..., args=...) at src/third_party/boost-1.60.0/boost/optional/optional.hpp:494 #15 (anonymous namespace)::optional::emplace (this=, args=..., args=..., args=..., args=...) at src/third_party/boost-1.60.0/boost/optional/optional.hpp:981 #16 (anonymous namespace)::AutoGetOrCreateDb::AutoGetOrCreateDb (this=0x7f4f0f59d698, opCtx=0x55a4e6938400, dbName=..., mode=(anonymous namespace)::MODE_X, deadline=...) at src/mongo/db/catalog_raii.cpp:172 #17 0x000055a4e25bd33f in operator() (this=) at src/mongo/db/commands/mr.cpp:494 #18 0x000055a4e25b51d3 in (anonymous namespace)::writeConflictRetry<(lambda at src/mongo/db/commands/mr.cpp:493:84)> (opCtx=, opStr=, ns=..., f=...) at src/mongo/db/concurrency/write_conflict_exception.h:91 #19 (anonymous namespace)::(anonymous namespace)::State::prepTempCollection (this=) at src/mongo/db/commands/mr.cpp:493 #20 0x000055a4e25c0faf in (anonymous namespace)::(anonymous namespace)::MapReduceCommand::errmsgRun (this=, opCtx=, dbname=..., cmd=..., errmsg=..., result=...) at src/mongo/db/commands/mr.cpp:1424 #21 0x000055a4e33fa9d4 in (anonymous namespace)::ErrmsgCommandDeprecated::run (this=0x55a4e6d5a458, opCtx=0x189, db=..., cmdObj=..., result=...) at src/mongo/db/commands.cpp:546 #22 0x000055a4e33fb3ac in (anonymous namespace)::BasicCommand::Invocation::run (this=0x55a4e66ef140, opCtx=0x55a4e6938400, result=) at src/mongo/db/commands.cpp:449 #23 0x000055a4e21ff32b in (anonymous namespace)::(anonymous namespace)::invokeInTransaction (opCtx=0x55a4e6938400, invocation=0x55a4e66ef140, replyBuilder=0x7f4f0f59e9a0) at src/mongo/db/service_entry_point_common.cpp:464 #24 0x000055a4e21faf70 in (anonymous namespace)::(anonymous namespace)::runCommandImpl (opCtx=0x55a4e6938400, invocation=0x55a4e66ef140, request=..., replyBuilder=0x55a4e64628c0, behaviors=..., sessionOptions=..., startOperationTime=..., extraFieldsBuilder=) at src/mongo/db/service_entry_point_common.cpp:539 #25 (anonymous namespace)::(anonymous namespace)::execCommandDatabase (opCtx=, command=0x55a4e495bd40 , request=..., replyBuilder=, behaviors=...) at src/mongo/db/service_entry_point_common.cpp:875 #26 0x000055a4e21f34c8 in operator() (this=) at src/mongo/db/service_entry_point_common.cpp:1022 #27 (anonymous namespace)::(anonymous namespace)::runCommands (opCtx=, message=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:970 #28 (anonymous namespace)::ServiceEntryPointCommon::handleRequest (opCtx=, m=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:1313 #29 0x000055a4e21ea0b6 in (anonymous namespace)::ServiceEntryPointMongod::handleRequest (this=, opCtx=0x189, m=...) at src/mongo/db/service_entry_point_mongod.cpp:123 #30 0x000055a4e21f0d67 in (anonymous namespace)::ServiceStateMachine::_processMessage (this=0x55a4e66dccf0, guard=...) at src/mongo/transport/service_state_machine.cpp:378 #31 0x000055a4e21eede7 in (anonymous namespace)::ServiceStateMachine::_runNextInGuard (this=0x55a4e66dccf0, guard=...) at src/mongo/transport/service_state_machine.cpp:439 #32 0x000055a4e21f0689 in operator() (this=0x55a4e6972260) at src/mongo/transport/service_state_machine.cpp:479 #33 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #34 0x000055a4e32c85c9 in (anonymous namespace)::function::operator() (this=0x7f4f0f5a0690) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #35 (anonymous namespace)::(anonymous namespace)::ServiceExecutorSynchronous::schedule (this=0x55a4e65e2500, task=..., flags=(anonymous namespace)::(anonymous namespace)::ServiceExecutor::kMayRecurse, taskName=) at src/mongo/transport/service_executor_synchronous.cpp:115 #36 0x000055a4e21ee8ac in (anonymous namespace)::ServiceStateMachine::_scheduleNextWithGuard (this=, guard=..., flags=, taskName=, ownershipModel=) at src/mongo/transport/service_state_machine.cpp:483 #37 0x000055a4e21ee3ac in (anonymous namespace)::ServiceStateMachine::_sourceCallback (this=0x55a4e66dccf0, status=...) at src/mongo/transport/service_state_machine.cpp:303 #38 0x000055a4e21ed6e3 in operator() (msg=, this=) at src/mongo/transport/service_state_machine.cpp:259 #39 (anonymous namespace)::(anonymous namespace)::call<(lambda at src/mongo/transport/service_state_machine.cpp:254:30) &, mongo::Message> (func=..., arg=...) at src/mongo/util/future.h:112 #40 operator() (this=, val=...) at src/mongo/util/future.h:789 #41 (anonymous namespace)::(anonymous namespace)::Future::generalImpl<(lambda at src/mongo/util/future.h:789:13), (lambda at src/mongo/util/future.h:791:13), (lambda at src/mongo/util/future.h:793:13)> (this=, success=..., fail=..., notReady=...) at src/mongo/util/future.h:1093 #42 (anonymous namespace)::(anonymous namespace)::Future::getAsync<(lambda at src/mongo/transport/service_state_machine.cpp:254:30)> (this=, func=...) at src/mongo/util/future.h:787 #43 (anonymous namespace)::ServiceStateMachine::_sourceMessage (this=0x55a4e66dccf0, guard=...) at src/mongo/transport/service_state_machine.cpp:254 #44 0x000055a4e21eeda3 in (anonymous namespace)::ServiceStateMachine::_runNextInGuard (this=0x55a4e66dccf0, guard=...) at src/mongo/transport/service_state_machine.cpp:436 #45 0x000055a4e21f0689 in operator() (this=0x55a4e69718c0) at src/mongo/transport/service_state_machine.cpp:479 #46 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #47 0x000055a4e32c8f92 in (anonymous namespace)::function::operator() (this=0x55a4e6d5a458) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #48 operator() (this=) at src/mongo/transport/service_executor_synchronous.cpp:132 #49 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #50 0x000055a4e3894cfa in (anonymous namespace)::function::operator() (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #51 (anonymous namespace)::(anonymous namespace)::runFunc (ctx=0x55a4e69713c0) at src/mongo/transport/service_entry_point_utils.cpp:55 #52 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f0f5a1700) at pthread_create.c:465 #53 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 17 (Thread 0x7f4f0f6a2700 (LWP 20189)): #0 0x00007f4f1b5a9786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f4f0f69de60, expected=0, futex_word=0x55a4e6d590d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f4f0f69de60, mutex=0x55a4e6d59088, cond=0x55a4e6d590b0) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x55a4e6d590b0, mutex=0x55a4e6d59088, abstime=0x7f4f0f69de60) at pthread_cond_wait.c:667 #3 0x000055a4e31c1241 in __gthread_cond_timedwait (__cond=, __mutex=, __abs_timeout=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/x86_64-mongodb-linux/bits/gthr-default.h:871 #4 (anonymous namespace)::condition_variable::__wait_until_impl > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:165 #5 (anonymous namespace)::condition_variable::wait_until > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:105 #6 (anonymous namespace)::condition_variable::wait_until >, (lambda at src/mongo/db/concurrency/lock_state.cpp:222:50)> (this=, __lock=..., __atime=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:128 #7 (anonymous namespace)::condition_variable::wait_for, (lambda at src/mongo/db/concurrency/lock_state.cpp:222:50)> (this=, __lock=..., __rtime=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:144 #8 (anonymous namespace)::CondVarLockGrantNotification::wait (this=, timeout=...) at src/mongo/db/concurrency/lock_state.cpp:221 #9 0x000055a4e31c62ff in (anonymous namespace)::LockerImpl::lockComplete (this=0x55a4e6d59000, opCtx=0x55a4e69382c0, resId=..., mode=, deadline=..., checkDeadlock=) at src/mongo/db/concurrency/lock_state.cpp:874 #10 0x000055a4e31ba11b in (anonymous namespace)::Lock::GlobalLock::waitForLockUntil (this=0x7f4f0f69e600, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:187 #11 0x000055a4e31b9ffc in (anonymous namespace)::Lock::GlobalLock::GlobalLock (this=0x7f4f0f69e600, opCtx=, lockMode=(anonymous namespace)::MODE_IX, deadline=..., behavior=) at src/mongo/db/concurrency/d_concurrency.cpp:144 #12 0x000055a4e31ba432 in (anonymous namespace)::Lock::DBLock::DBLock (this=0x7f4f0f69e5e8, opCtx=, db=..., mode=, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:215 #13 0x000055a4e2fe4b23 in (anonymous namespace)::AutoGetDb::AutoGetDb (this=0x7f4f0f69e5e8, opCtx=0x55a4e69382c0, dbName=..., mode=(anonymous namespace)::MODE_IX, deadline=...) at src/mongo/db/catalog_raii.cpp:59 #14 0x000055a4e2fe4f01 in (anonymous namespace)::AutoGetCollection::AutoGetCollection (this=0x7f4f0f69e5c0, opCtx=0x55a4e69382c0, nsOrUUID=..., modeDB=(anonymous namespace)::MODE_IX, modeColl=(anonymous namespace)::MODE_IX, viewMode=, deadline=...) at src/mongo/db/catalog_raii.cpp:78 #15 0x000055a4e25becf4 in (anonymous namespace)::AutoGetCollection::AutoGetCollection (this=0x55a4e6d590d8, opCtx=, nsOrUUID=..., modeAll=(anonymous namespace)::MODE_IX, viewMode=(anonymous namespace)::AutoGetCollection::kViewsForbidden, deadline=...) at src/mongo/db/catalog_raii.h:93 #16 operator() (this=) at src/mongo/db/commands/mr.cpp:787 #17 0x000055a4e25b8800 in (anonymous namespace)::writeConflictRetry<(lambda at src/mongo/db/commands/mr.cpp:786:56)> (opCtx=, opStr=, ns=..., f=...) at src/mongo/db/concurrency/write_conflict_exception.h:91 #18 (anonymous namespace)::(anonymous namespace)::State::insert (this=, nss=..., o=...) at src/mongo/db/commands/mr.cpp:786 #19 0x000055a4e25b9ed7 in (anonymous namespace)::(anonymous namespace)::State::finalReduce (this=0x7f4f0f69f220, values=...) at src/mongo/db/commands/mr.cpp:1049 #20 0x000055a4e25bad17 in (anonymous namespace)::(anonymous namespace)::State::finalReduce (this=, opCtx=, curOp=, pm=...) at src/mongo/db/commands/mr.cpp:1196 #21 0x000055a4e25c200c in (anonymous namespace)::(anonymous namespace)::MapReduceCommand::errmsgRun (this=, opCtx=0x189, dbname=..., cmd=..., errmsg=..., result=...) at src/mongo/db/commands/mr.cpp:1610 #22 0x000055a4e33fa9d4 in (anonymous namespace)::ErrmsgCommandDeprecated::run (this=0x55a4e6d590d8, opCtx=0x189, db=..., cmdObj=..., result=...) at src/mongo/db/commands.cpp:546 #23 0x000055a4e33fb3ac in (anonymous namespace)::BasicCommand::Invocation::run (this=0x55a4e66eefc0, opCtx=0x55a4e69382c0, result=) at src/mongo/db/commands.cpp:449 #24 0x000055a4e21ff32b in (anonymous namespace)::(anonymous namespace)::invokeInTransaction (opCtx=0x55a4e69382c0, invocation=0x55a4e66eefc0, replyBuilder=0x7f4f0f69f9a0) at src/mongo/db/service_entry_point_common.cpp:464 #25 0x000055a4e21faf70 in (anonymous namespace)::(anonymous namespace)::runCommandImpl (opCtx=0x55a4e69382c0, invocation=0x55a4e66eefc0, request=..., replyBuilder=0x55a4e64617b0, behaviors=..., sessionOptions=..., startOperationTime=..., extraFieldsBuilder=) at src/mongo/db/service_entry_point_common.cpp:539 #26 (anonymous namespace)::(anonymous namespace)::execCommandDatabase (opCtx=, command=0x55a4e495bd40 , request=..., replyBuilder=, behaviors=...) at src/mongo/db/service_entry_point_common.cpp:875 #27 0x000055a4e21f34c8 in operator() (this=) at src/mongo/db/service_entry_point_common.cpp:1022 #28 (anonymous namespace)::(anonymous namespace)::runCommands (opCtx=, message=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:970 #29 (anonymous namespace)::ServiceEntryPointCommon::handleRequest (opCtx=, m=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:1313 #30 0x000055a4e21ea0b6 in (anonymous namespace)::ServiceEntryPointMongod::handleRequest (this=, opCtx=0x189, m=...) at src/mongo/db/service_entry_point_mongod.cpp:123 #31 0x000055a4e21f0d67 in (anonymous namespace)::ServiceStateMachine::_processMessage (this=0x55a4e66dcc10, guard=...) at src/mongo/transport/service_state_machine.cpp:378 #32 0x000055a4e21eede7 in (anonymous namespace)::ServiceStateMachine::_runNextInGuard (this=0x55a4e66dcc10, guard=...) at src/mongo/transport/service_state_machine.cpp:439 #33 0x000055a4e21f0689 in operator() (this=0x55a4e674a9e0) at src/mongo/transport/service_state_machine.cpp:479 #34 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #35 0x000055a4e32c85c9 in (anonymous namespace)::function::operator() (this=0x7f4f0f6a1690) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #36 (anonymous namespace)::(anonymous namespace)::ServiceExecutorSynchronous::schedule (this=0x55a4e65e2500, task=..., flags=(anonymous namespace)::(anonymous namespace)::ServiceExecutor::kMayRecurse, taskName=) at src/mongo/transport/service_executor_synchronous.cpp:115 #37 0x000055a4e21ee8ac in (anonymous namespace)::ServiceStateMachine::_scheduleNextWithGuard (this=, guard=..., flags=, taskName=, ownershipModel=) at src/mongo/transport/service_state_machine.cpp:483 #38 0x000055a4e21ee3ac in (anonymous namespace)::ServiceStateMachine::_sourceCallback (this=0x55a4e66dcc10, status=...) at src/mongo/transport/service_state_machine.cpp:303 #39 0x000055a4e21ed6e3 in operator() (msg=, this=) at src/mongo/transport/service_state_machine.cpp:259 #40 (anonymous namespace)::(anonymous namespace)::call<(lambda at src/mongo/transport/service_state_machine.cpp:254:30) &, mongo::Message> (func=..., arg=...) at src/mongo/util/future.h:112 #41 operator() (this=, val=...) at src/mongo/util/future.h:789 #42 (anonymous namespace)::(anonymous namespace)::Future::generalImpl<(lambda at src/mongo/util/future.h:789:13), (lambda at src/mongo/util/future.h:791:13), (lambda at src/mongo/util/future.h:793:13)> (this=, success=..., fail=..., notReady=...) at src/mongo/util/future.h:1093 #43 (anonymous namespace)::(anonymous namespace)::Future::getAsync<(lambda at src/mongo/transport/service_state_machine.cpp:254:30)> (this=, func=...) at src/mongo/util/future.h:787 #44 (anonymous namespace)::ServiceStateMachine::_sourceMessage (this=0x55a4e66dcc10, guard=...) at src/mongo/transport/service_state_machine.cpp:254 #45 0x000055a4e21eeda3 in (anonymous namespace)::ServiceStateMachine::_runNextInGuard (this=0x55a4e66dcc10, guard=...) at src/mongo/transport/service_state_machine.cpp:436 #46 0x000055a4e21f0689 in operator() (this=0x55a4e674a9c0) at src/mongo/transport/service_state_machine.cpp:479 #47 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #48 0x000055a4e32c8f92 in (anonymous namespace)::function::operator() (this=0x55a4e6d590d8) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #49 operator() (this=) at src/mongo/transport/service_executor_synchronous.cpp:132 #50 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #51 0x000055a4e3894cfa in (anonymous namespace)::function::operator() (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #52 (anonymous namespace)::(anonymous namespace)::runFunc (ctx=0x55a4e6971480) at src/mongo/transport/service_entry_point_utils.cpp:55 #53 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f0f6a2700) at pthread_create.c:465 #54 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 16 (Thread 0x7f4f0f7a3700 (LWP 20188)): #0 0x00007f4f1b5ad5f8 in __GI___nanosleep (requested_time=0x7f4f0f79f5b0, remaining=0x7f4f0f79f5a0) at ../sysdeps/unix/sysv/linux/nanosleep.c:27 #1 0x000055a4e3931033 in (anonymous namespace)::(anonymous namespace)::(anonymous namespace)::sleep_for > (sleep_duration=...) at src/mongo/stdx/thread.h:130 #2 (anonymous namespace)::sleepmillis (s=) at src/mongo/util/time_support.cpp:728 #3 0x000055a4e31b9445 in (anonymous namespace)::WriteConflictException::logAndBackoff (attempt=3281, operation=..., ns=...) at src/mongo/db/concurrency/write_conflict_exception.cpp:61 #4 0x000055a4e25b883e in (anonymous namespace)::writeConflictRetry<(lambda at src/mongo/db/commands/mr.cpp:786:56)> (opCtx=, opStr=..., ns=..., f=...) at src/mongo/db/concurrency/write_conflict_exception.h:94 #5 (anonymous namespace)::(anonymous namespace)::State::insert (this=, nss=..., o=...) at src/mongo/db/commands/mr.cpp:786 #6 0x000055a4e25b9ed7 in (anonymous namespace)::(anonymous namespace)::State::finalReduce (this=0x7f4f0f7a0220, values=...) at src/mongo/db/commands/mr.cpp:1049 #7 0x000055a4e25baf2f in (anonymous namespace)::(anonymous namespace)::State::finalReduce (this=, opCtx=, curOp=, pm=...) at src/mongo/db/commands/mr.cpp:1214 #8 0x000055a4e25c200c in (anonymous namespace)::(anonymous namespace)::MapReduceCommand::errmsgRun (this=, opCtx=0x7f4f0f79f5a0, dbname=..., cmd=..., errmsg=..., result=...) at src/mongo/db/commands/mr.cpp:1610 #9 0x000055a4e33fa9d4 in (anonymous namespace)::ErrmsgCommandDeprecated::run (this=0x7f4f0f79f5b0, opCtx=0x7f4f0f79f5a0, db=..., cmdObj=..., result=...) at src/mongo/db/commands.cpp:546 #10 0x000055a4e33fb3ac in (anonymous namespace)::BasicCommand::Invocation::run (this=0x55a4e66eee40, opCtx=0x55a4e6dd3000, result=) at src/mongo/db/commands.cpp:449 #11 0x000055a4e21ff32b in (anonymous namespace)::(anonymous namespace)::invokeInTransaction (opCtx=0x55a4e6dd3000, invocation=0x55a4e66eee40, replyBuilder=0x7f4f0f7a09a0) at src/mongo/db/service_entry_point_common.cpp:464 #12 0x000055a4e21faf70 in (anonymous namespace)::(anonymous namespace)::runCommandImpl (opCtx=0x55a4e6dd3000, invocation=0x55a4e66eee40, request=..., replyBuilder=0x55a4e6462dd0, behaviors=..., sessionOptions=..., startOperationTime=..., extraFieldsBuilder=) at src/mongo/db/service_entry_point_common.cpp:539 #13 (anonymous namespace)::(anonymous namespace)::execCommandDatabase (opCtx=, command=0x55a4e495bd40 , request=..., replyBuilder=, behaviors=...) at src/mongo/db/service_entry_point_common.cpp:875 #14 0x000055a4e21f34c8 in operator() (this=) at src/mongo/db/service_entry_point_common.cpp:1022 #15 (anonymous namespace)::(anonymous namespace)::runCommands (opCtx=, message=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:970 #16 (anonymous namespace)::ServiceEntryPointCommon::handleRequest (opCtx=, m=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:1313 #17 0x000055a4e21ea0b6 in (anonymous namespace)::ServiceEntryPointMongod::handleRequest (this=, opCtx=0x7f4f0f79f5a0, m=...) at src/mongo/db/service_entry_point_mongod.cpp:123 #18 0x000055a4e21f0d67 in (anonymous namespace)::ServiceStateMachine::_processMessage (this=0x55a4e66dc0b0, guard=...) at src/mongo/transport/service_state_machine.cpp:378 #19 0x000055a4e21eede7 in (anonymous namespace)::ServiceStateMachine::_runNextInGuard (this=0x55a4e66dc0b0, guard=...) at src/mongo/transport/service_state_machine.cpp:439 #20 0x000055a4e21f0689 in operator() (this=0x55a4e6971680) at src/mongo/transport/service_state_machine.cpp:479 #21 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #22 0x000055a4e32c85c9 in (anonymous namespace)::function::operator() (this=0x7f4f0f7a2690) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #23 (anonymous namespace)::(anonymous namespace)::ServiceExecutorSynchronous::schedule (this=0x55a4e65e2500, task=..., flags=(anonymous namespace)::(anonymous namespace)::ServiceExecutor::kMayRecurse, taskName=) at src/mongo/transport/service_executor_synchronous.cpp:115 #24 0x000055a4e21ee8ac in (anonymous namespace)::ServiceStateMachine::_scheduleNextWithGuard (this=, guard=..., flags=, taskName=, ownershipModel=) at src/mongo/transport/service_state_machine.cpp:483 #25 0x000055a4e21ee3ac in (anonymous namespace)::ServiceStateMachine::_sourceCallback (this=0x55a4e66dc0b0, status=...) at src/mongo/transport/service_state_machine.cpp:303 #26 0x000055a4e21ed6e3 in operator() (msg=, this=) at src/mongo/transport/service_state_machine.cpp:259 #27 (anonymous namespace)::(anonymous namespace)::call<(lambda at src/mongo/transport/service_state_machine.cpp:254:30) &, mongo::Message> (func=..., arg=...) at src/mongo/util/future.h:112 #28 operator() (this=, val=...) at src/mongo/util/future.h:789 #29 (anonymous namespace)::(anonymous namespace)::Future::generalImpl<(lambda at src/mongo/util/future.h:789:13), (lambda at src/mongo/util/future.h:791:13), (lambda at src/mongo/util/future.h:793:13)> (this=, success=..., fail=..., notReady=...) at src/mongo/util/future.h:1093 #30 (anonymous namespace)::(anonymous namespace)::Future::getAsync<(lambda at src/mongo/transport/service_state_machine.cpp:254:30)> (this=, func=...) at src/mongo/util/future.h:787 #31 (anonymous namespace)::ServiceStateMachine::_sourceMessage (this=0x55a4e66dc0b0, guard=...) at src/mongo/transport/service_state_machine.cpp:254 #32 0x000055a4e21eeda3 in (anonymous namespace)::ServiceStateMachine::_runNextInGuard (this=0x55a4e66dc0b0, guard=...) at src/mongo/transport/service_state_machine.cpp:436 #33 0x000055a4e21f0689 in operator() (this=0x55a4e69725e0) at src/mongo/transport/service_state_machine.cpp:479 #34 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #35 0x000055a4e32c8f92 in (anonymous namespace)::function::operator() (this=0x7f4f0f79f5b0) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #36 operator() (this=) at src/mongo/transport/service_executor_synchronous.cpp:132 #37 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #38 0x000055a4e3894cfa in (anonymous namespace)::function::operator() (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #39 (anonymous namespace)::(anonymous namespace)::runFunc (ctx=0x55a4e69717c0) at src/mongo/transport/service_entry_point_utils.cpp:55 #40 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f0f7a3700) at pthread_create.c:465 #41 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 15 (Thread 0x7f4f0fca8700 (LWP 20177)): #0 0x00007f4f1b5ade50 in __libc_recvmsg (fd=20, msg=0x7f4f0fca7610, flags=0) at ../sysdeps/unix/sysv/linux/recvmsg.c:28 #1 0x000055a4e34ae2dd in (anonymous namespace)::(anonymous namespace)::(anonymous namespace)::recv (s=20, bufs=0x7f4f0fca76f0, count=, flags=0, ec=...) at src/third_party/asio-master/asio/include/asio/detail/impl/socket_ops.ipp:790 #2 0x000055a4e34ae402 in (anonymous namespace)::(anonymous namespace)::(anonymous namespace)::sync_recv (s=20, state=, bufs=, count=, flags=, all_empty=, ec=...) at src/third_party/asio-master/asio/include/asio/detail/impl/socket_ops.ipp:813 #3 0x000055a4e32ea427 in (anonymous namespace)::(anonymous namespace)::reactive_socket_service_base::receive (flags=0, ec=..., this=, impl=..., buffers=...) at src/third_party/asio-master/asio/include/asio/detail/reactive_socket_service_base.hpp:314 #4 (anonymous namespace)::basic_stream_socket::read_some (this=, ec=..., buffers=...) at src/third_party/asio-master/asio/include/asio/basic_stream_socket.hpp:852 #5 (anonymous namespace)::(anonymous namespace)::read_buffer_sequence, asio::mutable_buffers_1, asio::mutable_buffer const*, asio::detail::transfer_all_t> (s=..., buffers=..., completion_condition=..., ec=...) at src/third_party/asio-master/asio/include/asio/impl/read.hpp:54 #6 (anonymous namespace)::read, asio::mutable_buffers_1, asio::detail::transfer_all_t> (s=..., buffers=..., completion_condition=..., ec=...) at src/third_party/asio-master/asio/include/asio/impl/read.hpp:70 #7 (anonymous namespace)::read, asio::mutable_buffers_1> (s=..., buffers=..., ec=...) at src/third_party/asio-master/asio/include/asio/impl/read.hpp:93 #8 (anonymous namespace)::(anonymous namespace)::TransportLayerASIO::ASIOSession::opportunisticRead, asio::mutable_buffers_1> (this=, stream=..., buffers=..., baton=...) at src/mongo/transport/session_asio.h:458 #9 0x000055a4e32e9c17 in (anonymous namespace)::(anonymous namespace)::TransportLayerASIO::ASIOSession::read (this=0x55a4e66da000, buffers=..., baton=...) at src/mongo/transport/session_asio.h:411 #10 0x000055a4e32e9a1e in (anonymous namespace)::(anonymous namespace)::TransportLayerASIO::ASIOSession::sourceMessageImpl (this=0x55a4e66da000, baton=...) at src/mongo/transport/session_asio.h:349 #11 0x000055a4e32e8e1d in (anonymous namespace)::(anonymous namespace)::TransportLayerASIO::ASIOSession::sourceMessage (this=0x55a4e66da000) at src/mongo/transport/session_asio.h:131 #12 0x000055a4e21ed512 in operator() (this=) at src/mongo/transport/service_state_machine.cpp:247 #13 (anonymous namespace)::ServiceStateMachine::_sourceMessage (this=0x55a4e66db0f0, guard=...) at src/mongo/transport/service_state_machine.cpp:254 #14 0x000055a4e21eeda3 in (anonymous namespace)::ServiceStateMachine::_runNextInGuard (this=0x55a4e66db0f0, guard=...) at src/mongo/transport/service_state_machine.cpp:436 #15 0x000055a4e21f0689 in operator() (this=0x55a4e6689aa0) at src/mongo/transport/service_state_machine.cpp:479 #16 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #17 0x000055a4e32c8f92 in (anonymous namespace)::function::operator() (this=0x14) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #18 operator() (this=) at src/mongo/transport/service_executor_synchronous.cpp:132 #19 (anonymous namespace)::_Function_handler::_M_invoke(const (anonymous namespace)::_Any_data &) (__functor=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1871 #20 0x000055a4e3894cfa in (anonymous namespace)::function::operator() (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:2267 #21 (anonymous namespace)::(anonymous namespace)::runFunc (ctx=0x55a4e6688320) at src/mongo/transport/service_entry_point_utils.cpp:55 #22 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f0fca8700) at pthread_create.c:465 #23 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 14 (Thread 0x7f4f104a9700 (LWP 20165)): #0 0x00007f4f1b2cfcd7 in __GI_epoll_pwait (epfd=8, events=0x7f4f104a83d0, maxevents=128, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42 #1 0x000055a4e34a6468 in (anonymous namespace)::(anonymous namespace)::epoll_reactor::run (this=, usec=, ops=...) at src/third_party/asio-master/asio/include/asio/detail/impl/epoll_reactor.ipp:470 #2 0x000055a4e34aa06d in (anonymous namespace)::(anonymous namespace)::scheduler::do_run_one (this=, lock=..., this_thread=..., ec=...) at src/third_party/asio-master/asio/include/asio/detail/impl/scheduler.ipp:384 #3 0x000055a4e34a0db3 in (anonymous namespace)::(anonymous namespace)::scheduler::run (this=, ec=...) at src/third_party/asio-master/asio/include/asio/detail/impl/scheduler.ipp:153 #4 0x000055a4e34a0ca6 in (anonymous namespace)::io_context::run (this=0x55a4e6323938) at src/third_party/asio-master/asio/include/asio/impl/io_context.ipp:61 #5 0x000055a4e330a672 in (anonymous namespace)::(anonymous namespace)::TransportLayerASIO::ASIOReactor::run (this=) at src/mongo/transport/transport_layer_asio.cpp:206 #6 0x000055a4e32d21b9 in operator() (this=) at src/mongo/transport/transport_layer_asio.cpp:812 #7 (anonymous namespace)::_Bind_simple<(lambda at src/mongo/transport/transport_layer_asio.cpp:809:40) ()>::_M_invoke<> (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1530 #8 (anonymous namespace)::_Bind_simple<(lambda at src/mongo/transport/transport_layer_asio.cpp:809:40) ()>::operator() (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1520 #9 (anonymous namespace)::thread::_Impl >::_M_run(void) (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/thread:115 #10 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #11 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f104a9700) at pthread_create.c:465 #12 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7f4f10caa700 (LWP 20164)): #0 0x00007f4f1b5a9072 in futex_wait_cancelable (private=, expected=0, futex_word=0x55a4e66ea838) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55a4e66ea7b8, cond=0x55a4e66ea810) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55a4e66ea810, mutex=0x55a4e66ea7b8) at pthread_cond_wait.c:655 #3 0x000055a4e3a0999c in __gthread_cond_wait (__mutex=, __cond=) at /data/mci/c5d8f4120437056d97d16d15cf65c6ac/toolchain-builder/build-gcc-v2.sh-qR3/x86_64-mongodb-linux/libstdc++-v3/include/x86_64-mongodb-linux/bits/gthr-default.h:864 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/condition_variable.cc:53 #5 0x000055a4e33e1ef5 in (anonymous namespace)::condition_variable::wait<(lambda at src/mongo/db/session_killer.cpp:58:32)> (this=, __lock=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:98 #6 operator() (this=) at src/mongo/db/session_killer.cpp:58 #7 (anonymous namespace)::_Bind_simple<(lambda at src/mongo/db/session_killer.cpp:48:28) ()>::_M_invoke<> (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1530 #8 (anonymous namespace)::_Bind_simple<(lambda at src/mongo/db/session_killer.cpp:48:28) ()>::operator() (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1520 #9 (anonymous namespace)::thread::_Impl >::_M_run(void) (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/thread:115 #10 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #11 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f10caa700) at pthread_create.c:465 #12 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 12 (Thread 0x7f4f114ab700 (LWP 20163)): #0 0x00007f4f1b5a9786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f4f114aa940, expected=0, futex_word=0x55a4e6226288) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f4f114aa940, mutex=0x55a4e6226238, cond=0x55a4e6226260) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x55a4e6226260, mutex=0x55a4e6226238, abstime=0x7f4f114aa940) at pthread_cond_wait.c:667 #3 0x000055a4e34c6b51 in __gthread_cond_timedwait (__cond=, __mutex=, __abs_timeout=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/x86_64-mongodb-linux/bits/gthr-default.h:871 #4 (anonymous namespace)::condition_variable::__wait_until_impl > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:165 #5 (anonymous namespace)::condition_variable::wait_until > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:105 #6 (anonymous namespace)::condition_variable::wait_for > (this=, __lock=..., __rtime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:137 #7 (anonymous namespace)::(anonymous namespace)::PeriodicTaskRunner::run (this=0x55a4e6226220) at src/mongo/util/background.cpp:312 #8 0x000055a4e34c5464 in (anonymous namespace)::BackgroundJob::jobBody (this=0x55a4e6226220) at src/mongo/util/background.cpp:150 #9 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #10 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f114ab700) at pthread_create.c:465 #11 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 11 (Thread 0x7f4f11cac700 (LWP 20162)): #0 0x00007f4f1b5a9786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f4f11cab620, expected=0, futex_word=0x55a4e66d8458) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f4f11cab620, mutex=0x55a4e66d8408, cond=0x55a4e66d8430) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x55a4e66d8430, mutex=0x55a4e66d8408, abstime=0x7f4f11cab620) at pthread_cond_wait.c:667 #3 0x000055a4e31c1241 in __gthread_cond_timedwait (__cond=, __mutex=, __abs_timeout=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/x86_64-mongodb-linux/bits/gthr-default.h:871 #4 (anonymous namespace)::condition_variable::__wait_until_impl > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:165 #5 (anonymous namespace)::condition_variable::wait_until > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:105 #6 (anonymous namespace)::condition_variable::wait_until >, (lambda at src/mongo/db/concurrency/lock_state.cpp:222:50)> (this=, __lock=..., __atime=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:128 #7 (anonymous namespace)::condition_variable::wait_for, (lambda at src/mongo/db/concurrency/lock_state.cpp:222:50)> (this=, __lock=..., __rtime=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:144 #8 (anonymous namespace)::CondVarLockGrantNotification::wait (this=, timeout=...) at src/mongo/db/concurrency/lock_state.cpp:221 #9 0x000055a4e31c62ff in (anonymous namespace)::LockerImpl::lockComplete (this=0x55a4e66d8380, opCtx=0x55a4e66ebe00, resId=..., mode=, deadline=..., checkDeadlock=) at src/mongo/db/concurrency/lock_state.cpp:874 #10 0x000055a4e31ba11b in (anonymous namespace)::Lock::GlobalLock::waitForLockUntil (this=0x7f4f11caba38, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:187 #11 0x000055a4e31b9ffc in (anonymous namespace)::Lock::GlobalLock::GlobalLock (this=0x7f4f11caba38, opCtx=, lockMode=(anonymous namespace)::MODE_IS, deadline=..., behavior=) at src/mongo/db/concurrency/d_concurrency.cpp:144 #12 0x000055a4e31ba432 in (anonymous namespace)::Lock::DBLock::DBLock (this=0x7f4f11caba20, opCtx=, db=..., mode=, deadline=...) at src/mongo/db/concurrency/d_concurrency.cpp:215 #13 0x000055a4e2fe4b23 in (anonymous namespace)::AutoGetDb::AutoGetDb (this=0x7f4f11caba20, opCtx=0x55a4e66ebe00, dbName=..., mode=(anonymous namespace)::MODE_IS, deadline=...) at src/mongo/db/catalog_raii.cpp:59 #14 0x000055a4e283283c in (anonymous namespace)::(anonymous namespace)::GlobalCursorIdCache::timeoutCursors (this=, opCtx=, now=...) at src/mongo/db/cursor_manager.cpp:282 #15 (anonymous namespace)::CursorManager::timeoutCursorsGlobal (opCtx=, now=...) at src/mongo/db/cursor_manager.cpp:364 #16 0x000055a4e2830c71 in (anonymous namespace)::(anonymous namespace)::ClientCursorMonitor::run (this=) at src/mongo/db/clientcursor.cpp:270 #17 0x000055a4e34c5464 in (anonymous namespace)::BackgroundJob::jobBody (this=0x55a4e4962770 ) at src/mongo/util/background.cpp:150 #18 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #19 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f11cac700) at pthread_create.c:465 #20 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7f4f124ad700 (LWP 20161)): #0 0x00007f4f1b5ad5f8 in __GI___nanosleep (requested_time=0x7f4f124ac8a0, remaining=0x7f4f124ac890) at ../sysdeps/unix/sysv/linux/nanosleep.c:27 #1 0x000055a4e3930f6f in (anonymous namespace)::(anonymous namespace)::(anonymous namespace)::sleep_for > (sleep_duration=...) at src/mongo/stdx/thread.h:130 #2 (anonymous namespace)::sleepsecs (s=) at src/mongo/util/time_support.cpp:724 #3 0x000055a4e25121a3 in (anonymous namespace)::TTLMonitor::run (this=0x55a4e649b820) at src/mongo/db/ttl.cpp:98 #4 0x000055a4e34c5464 in (anonymous namespace)::BackgroundJob::jobBody (this=0x55a4e649b820) at src/mongo/util/background.cpp:150 #5 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #6 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f124ad700) at pthread_create.c:465 #7 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 9 (Thread 0x7f4f12cae700 (LWP 20160)): #0 0x00007f4f1b5a9786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f4f12cadad0, expected=0, futex_word=0x55a4e644c490) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f4f12cadad0, mutex=0x55a4e644c498, cond=0x55a4e644c468) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x55a4e644c468, mutex=0x55a4e644c498, abstime=0x7f4f12cadad0) at pthread_cond_wait.c:667 #3 0x000055a4e257acf9 in __gthread_cond_timedwait (__cond=, __mutex=, __abs_timeout=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/x86_64-mongodb-linux/bits/gthr-default.h:871 #4 (anonymous namespace)::condition_variable::__wait_until_impl > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:165 #5 (anonymous namespace)::condition_variable::wait_until > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:105 #6 (anonymous namespace)::condition_variable::wait_until >, (lambda at src/mongo/db/free_mon/free_mon_queue.cpp:121:71)> (this=, __lock=..., __atime=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:128 #7 (anonymous namespace)::FreeMonMessageQueue::dequeue (this=, clockSource=0x55a4e61f6f40) at src/mongo/db/free_mon/free_mon_queue.cpp:121 #8 0x000055a4e256457f in (anonymous namespace)::FreeMonProcessor::run (this=) at src/mongo/db/free_mon/free_mon_processor.cpp:161 #9 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #10 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f12cae700) at pthread_create.c:465 #11 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7f4f134af700 (LWP 20159)): #0 0x00007f4f1b5a9072 in futex_wait_cancelable (private=, expected=0, futex_word=0x55a4e6477258) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55a4e6477200, cond=0x55a4e6477230) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55a4e6477230, mutex=0x55a4e6477200) at pthread_cond_wait.c:655 #3 0x000055a4e3a0999c in __gthread_cond_wait (__mutex=, __cond=) at /data/mci/c5d8f4120437056d97d16d15cf65c6ac/toolchain-builder/build-gcc-v2.sh-qR3/x86_64-mongodb-linux/libstdc++-v3/include/x86_64-mongodb-linux/bits/gthr-default.h:864 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/condition_variable.cc:53 #5 0x000055a4e320d966 in (anonymous namespace)::ThreadPool::_consumeTasks (this=) at src/mongo/util/concurrency/thread_pool.cpp:294 #6 0x000055a4e320d35d in (anonymous namespace)::ThreadPool::_workerThreadBody (pool=0x55a4e6477180, threadName=...) at src/mongo/util/concurrency/thread_pool.cpp:247 #7 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #8 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f134af700) at pthread_create.c:465 #9 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7f4f13cb0700 (LWP 20158)): #0 0x00007f4f1b5a9072 in futex_wait_cancelable (private=, expected=0, futex_word=0x55a4e6697598) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55a4e6697538, cond=0x55a4e6697570) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55a4e6697570, mutex=0x55a4e6697538) at pthread_cond_wait.c:655 #3 0x000055a4e34aa12a in (anonymous namespace)::(anonymous namespace)::posix_event::wait (lock=..., this=) at src/third_party/asio-master/asio/include/asio/detail/posix_event.hpp:105 #4 (anonymous namespace)::(anonymous namespace)::conditionally_enabled_event::wait (this=, lock=...) at src/third_party/asio-master/asio/include/asio/detail/conditionally_enabled_event.hpp:88 #5 (anonymous namespace)::(anonymous namespace)::scheduler::do_run_one (this=, lock=..., this_thread=..., ec=...) at src/third_party/asio-master/asio/include/asio/detail/impl/scheduler.ipp:408 #6 0x000055a4e34a0db3 in (anonymous namespace)::(anonymous namespace)::scheduler::run (this=, ec=...) at src/third_party/asio-master/asio/include/asio/detail/impl/scheduler.ipp:153 #7 0x000055a4e34a0ca6 in (anonymous namespace)::io_context::run (this=0x55a4e645e818) at src/third_party/asio-master/asio/include/asio/impl/io_context.ipp:61 #8 0x000055a4e330a672 in (anonymous namespace)::(anonymous namespace)::TransportLayerASIO::ASIOReactor::run (this=) at src/mongo/transport/transport_layer_asio.cpp:206 #9 0x000055a4e32b6947 in operator() (this=) at src/mongo/executor/network_interface_tl.cpp:105 #10 (anonymous namespace)::_Bind_simple<(lambda at src/mongo/executor/network_interface_tl.cpp:102:30) ()>::_M_invoke<> (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1530 #11 (anonymous namespace)::_Bind_simple<(lambda at src/mongo/executor/network_interface_tl.cpp:102:30) ()>::operator() (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1520 #12 (anonymous namespace)::thread::_Impl >::_M_run(void) (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/thread:115 #13 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #14 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f13cb0700) at pthread_create.c:465 #15 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7f4f144b1700 (LWP 20157)): #0 0x00007f4f1b5a9786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f4f144b0b48, expected=0, futex_word=0x55a4e65d3ab8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f4f144b0b48, mutex=0x55a4e65d3a68, cond=0x55a4e65d3a90) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x55a4e65d3a90, mutex=0x55a4e65d3a68, abstime=0x7f4f144b0b48) at pthread_cond_wait.c:667 #3 0x000055a4e258adc4 in __gthread_cond_timedwait (__cond=, __mutex=, __abs_timeout=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/x86_64-mongodb-linux/bits/gthr-default.h:871 #4 (anonymous namespace)::condition_variable::__wait_until_impl > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:165 #5 (anonymous namespace)::condition_variable::wait_until > > (this=, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:105 #6 (anonymous namespace)::FTDCController::doLoop (this=) at src/mongo/db/ftdc/controller.cpp:211 #7 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #8 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f144b1700) at pthread_create.c:465 #9 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f4f14cb2700 (LWP 20156)): #0 0x00007f4f1b5a9072 in futex_wait_cancelable (private=, expected=0, futex_word=0x55a4e6697298) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55a4e6697238, cond=0x55a4e6697270) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55a4e6697270, mutex=0x55a4e6697238) at pthread_cond_wait.c:655 #3 0x000055a4e34aa12a in (anonymous namespace)::(anonymous namespace)::posix_event::wait (lock=..., this=) at src/third_party/asio-master/asio/include/asio/detail/posix_event.hpp:105 #4 (anonymous namespace)::(anonymous namespace)::conditionally_enabled_event::wait (this=, lock=...) at src/third_party/asio-master/asio/include/asio/detail/conditionally_enabled_event.hpp:88 #5 (anonymous namespace)::(anonymous namespace)::scheduler::do_run_one (this=, lock=..., this_thread=..., ec=...) at src/third_party/asio-master/asio/include/asio/detail/impl/scheduler.ipp:408 #6 0x000055a4e34a0db3 in (anonymous namespace)::(anonymous namespace)::scheduler::run (this=, ec=...) at src/third_party/asio-master/asio/include/asio/detail/impl/scheduler.ipp:153 #7 0x000055a4e34a0ca6 in (anonymous namespace)::io_context::run (this=0x55a4e645e398) at src/third_party/asio-master/asio/include/asio/impl/io_context.ipp:61 #8 0x000055a4e330a672 in (anonymous namespace)::(anonymous namespace)::TransportLayerASIO::ASIOReactor::run (this=) at src/mongo/transport/transport_layer_asio.cpp:206 #9 0x000055a4e32b6947 in operator() (this=) at src/mongo/executor/network_interface_tl.cpp:105 #10 (anonymous namespace)::_Bind_simple<(lambda at src/mongo/executor/network_interface_tl.cpp:102:30) ()>::_M_invoke<> (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1530 #11 (anonymous namespace)::_Bind_simple<(lambda at src/mongo/executor/network_interface_tl.cpp:102:30) ()>::operator() (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1520 #12 (anonymous namespace)::thread::_Impl >::_M_run(void) (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/thread:115 #13 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #14 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f14cb2700) at pthread_create.c:465 #15 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f4f154b3700 (LWP 20155)): #0 0x00007f4f1b5a9786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f4f154b2bd0, expected=0, futex_word=0x55a4e65d33b8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f4f154b2bd0, mutex=0x55a4e65d3368, cond=0x55a4e65d3390) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x55a4e65d3390, mutex=0x55a4e65d3368, abstime=0x7f4f154b2bd0) at pthread_cond_wait.c:667 #3 0x000055a4e28cdb26 in __gthread_cond_timedwait (__cond=, __mutex=, __abs_timeout=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/x86_64-mongodb-linux/bits/gthr-default.h:871 #4 (anonymous namespace)::condition_variable::__wait_until_impl > > (this=0x55a4e65d3390, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:165 #5 (anonymous namespace)::condition_variable::wait_until > > (this=0x55a4e65d3390, __lock=..., __atime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:105 #6 (anonymous namespace)::condition_variable::wait_for > (this=0x55a4e65d3390, __lock=..., __rtime=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:137 #7 (anonymous namespace)::DeadlineMonitor::deadlineMonitorThread (this=) at src/mongo/scripting/deadline_monitor.h:158 #8 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #9 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f154b3700) at pthread_create.c:465 #10 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f4f15cb4700 (LWP 20153)): #0 0x00007f4f1b5a9072 in futex_wait_cancelable (private=, expected=0, futex_word=0x55a4e65e6300) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55a4e65e62b0, cond=0x55a4e65e62d8) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55a4e65e62d8, mutex=0x55a4e65e62b0) at pthread_cond_wait.c:655 #3 0x000055a4e3a0999c in __gthread_cond_wait (__mutex=, __cond=) at /data/mci/c5d8f4120437056d97d16d15cf65c6ac/toolchain-builder/build-gcc-v2.sh-qR3/x86_64-mongodb-linux/libstdc++-v3/include/x86_64-mongodb-linux/bits/gthr-default.h:864 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/condition_variable.cc:53 #5 0x000055a4e3893e9d in (anonymous namespace)::condition_variable::wait<(lambda at src/mongo/util/background_thread_clock_source.cpp:120:39)> (this=, __lock=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:98 #6 operator() (this=) at src/mongo/util/background_thread_clock_source.cpp:120 #7 (anonymous namespace)::_Bind_simple<(lambda at src/mongo/util/background_thread_clock_source.cpp:107:27) ()>::_M_invoke<> (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1530 #8 (anonymous namespace)::_Bind_simple<(lambda at src/mongo/util/background_thread_clock_source.cpp:107:27) ()>::operator() (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/functional:1520 #9 (anonymous namespace)::thread::_Impl >::_M_run(void) (this=) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/thread:115 #10 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #11 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f15cb4700) at pthread_create.c:465 #12 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f4f164b5700 (LWP 20152)): #0 do_sigwait (sig=0x7f4f164b4bf4, set=) at ../sysdeps/unix/sysv/linux/sigwait.c:64 #1 __sigwait (set=0x55a4e49748d8 , sig=0x7f4f164b4bf4) at ../sysdeps/unix/sysv/linux/sigwait.c:96 #2 0x000055a4e31df34d in operator() (this=) at src/mongo/util/signal_handlers.cpp:176 #3 (anonymous namespace)::(anonymous namespace)::signalProcessingThread(enum class (anonymous namespace)::LogFileStatus) (rotate=(anonymous namespace)::LogFileStatus::kNeedToRotateLogFile) at src/mongo/util/signal_handlers.cpp:174 #4 0x000055a4e3a0cce0 in std::execute_native_thread_routine (__p=) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84 #5 0x00007f4f1b5a27fc in start_thread (arg=0x7f4f164b5700) at pthread_create.c:465 #6 0x00007f4f1b2cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f4f1d076a00 (LWP 20147)): #0 0x00007f4f1b5a9072 in futex_wait_cancelable (private=, expected=0, futex_word=0x55a4e4986ce0 ) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55a4e4986d50 , cond=0x55a4e4986cb8 ) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55a4e4986cb8 , mutex=0x55a4e4986d50 ) at pthread_cond_wait.c:655 #3 0x000055a4e3a0999c in __gthread_cond_wait (__mutex=, __cond=) at /data/mci/c5d8f4120437056d97d16d15cf65c6ac/toolchain-builder/build-gcc-v2.sh-qR3/x86_64-mongodb-linux/libstdc++-v3/include/x86_64-mongodb-linux/bits/gthr-default.h:864 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../gcc-5.4.0/libstdc++-v3/src/c++11/condition_variable.cc:53 #5 0x000055a4e3922a40 in (anonymous namespace)::condition_variable::wait<(lambda at src/mongo/util/exit.cpp:90:36)> (this=0x55a4e4986ce0 , __lock=..., __p=...) at /opt/mongodbtoolchain/v2/bin/../lib/gcc/x86_64-mongodb-linux/5.4.0/../../../../include/c++/5.4.0/condition_variable:98 #6 (anonymous namespace)::waitForShutdown () at src/mongo/util/exit.cpp:90 #7 0x000055a4e20d220d in (anonymous namespace)::(anonymous namespace)::_initAndListen (listenPort=0) at src/mongo/db/db.cpp:672 #8 0x000055a4e20cd1ec in (anonymous namespace)::(anonymous namespace)::initAndListen (listenPort=0) at src/mongo/db/db.cpp:677 #9 (anonymous namespace)::mongoDbMain (argc=, argv=, envp=) at src/mongo/db/db.cpp:1014 #10 0x000055a4e20cc0b9 in main (argc=-459772704, argv=0x80, envp=0x0) at src/mongo/db/dbmain.cpp:49