(gdb) bt
|
#0 0x00007f8eefacaa5e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
|
#1 0x00007f8ef130abf8 in __gthread_cond_timedwait (__abs_timeout=0x7f8ecccba1f0, __mutex=<optimized out>, __cond=0x7f8ef71bf5d8) at /opt/mongodbtoolchain/v2/include/c++/5.4.0/x86_64-mongodb-linux/bits/gthr-default.h:871
|
#2 std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=<synthetic pointer>..., this=0x7f8ef71bf5d8) at /opt/mongodbtoolchain/v2/include/c++/5.4.0/condition_variable:165
|
#3 std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (__atime=..., __lock=<synthetic pointer>..., this=0x7f8ef71bf5d8) at /opt/mongodbtoolchain/v2/include/c++/5.4.0/condition_variable:105
|
#4 std::condition_variable::wait_for<long, std::ratio<1l, 1000000000l> > (__rtime=..., __lock=<synthetic pointer>..., this=0x7f8ef71bf5d8) at /opt/mongodbtoolchain/v2/include/c++/5.4.0/condition_variable:137
|
#5 mongo::CondVarLockGrantNotification::wait (this=this@entry=0x7f8ef71bf5a8, timeoutMs=timeoutMs@entry=500) at src/mongo/db/concurrency/lock_state.cpp:227
|
#6 0x00007f8ef130fb26 in mongo::LockerImpl<false>::lockComplete (this=0x7f8ef71bf000, resId=..., mode=<optimized out>, timeoutMs=4294967295, checkDeadlock=false) at src/mongo/db/concurrency/lock_state.cpp:744
|
#7 0x00007f8ef12fe8a9 in mongo::Lock::ResourceLock::lock (this=this@entry=0x7f8ef71ccee0, mode=mode@entry=mongo::MODE_X) at src/mongo/db/concurrency/d_concurrency.cpp:265
|
#8 0x00007f8ef198bcbc in mongo::Lock::ResourceLock::ResourceLock (mode=mongo::MODE_X, rid=..., locker=0x7f8ef71bf000, this=0x7f8ef71ccee0) at src/mongo/db/concurrency/d_concurrency.h:82
|
#9 mongo::KVCatalog::newCollection (this=0x7f8ef5bf2220, opCtx=opCtx@entry=0x7f8ef5ed0500, ns=..., options=...) at src/mongo/db/storage/kv/kv_catalog.cpp:397
|
#10 0x00007f8ef1991a25 in mongo::KVDatabaseCatalogEntryBase::createCollection (this=0x7f8ef5eb6500, txn=0x7f8ef5ed0500, ns=..., options=..., allocateDefaultSpace=true) at src/mongo/db/storage/kv/kv_database_catalog_entry_base.cpp:210
|
#11 0x00007f8ef11c6397 in mongo::Database::createCollection (this=this@entry=0x7f8ef719fc00, txn=txn@entry=0x7f8ef5ed0500, ns=..., options=..., createIdIndex=createIdIndex@entry=true, idIndex=...) at src/mongo/db/catalog/database.cpp:543
|
#12 0x00007f8ef11c6a9a in mongo::Database::getOrCreateCollection (this=0x7f8ef719fc00, txn=txn@entry=0x7f8ef5ed0500, ns=...) at src/mongo/db/catalog/database.cpp:486
|
#13 0x00007f8ef1a8349b in mongo::DurableViewCatalogImpl::upsert (this=0x7f8ef719fca8, txn=0x7f8ef5ed0500, name=..., view=...) at src/mongo/db/views/durable_view_catalog.cpp:127
|
#14 0x00007f8ef1a9107b in mongo::ViewCatalog::_createOrUpdateView_inlock (this=this@entry=0x7f8ef719fcb8, txn=txn@entry=0x7f8ef5ed0500, viewName=..., viewOn=..., pipeline=..., collator=...) at src/mongo/db/views/view_catalog.cpp:144
|
#15 0x00007f8ef1a91bad in mongo::ViewCatalog::createView (this=this@entry=0x7f8ef719fcb8, txn=txn@entry=0x7f8ef5ed0500, viewName=..., viewOn=..., pipeline=..., collation=...) at src/mongo/db/views/view_catalog.cpp:282
|
#16 0x00007f8ef11c3131 in mongo::Database::createView (this=this@entry=0x7f8ef719fc00, txn=txn@entry=0x7f8ef5ed0500, ns=..., options=...) at src/mongo/db/catalog/database.cpp:527
|
#17 0x00007f8ef11c732c in mongo::userCreateNS (txn=txn@entry=0x7f8ef5ed0500, db=0x7f8ef719fc00, ns=..., options=..., createDefaultIndexes=true, idIndex=...) at src/mongo/db/catalog/database.cpp:706
|
#18 0x00007f8ef11bb0c2 in mongo::createCollection (txn=txn@entry=0x7f8ef5ed0500, dbName=..., cmdObj=..., idIndex=...) at src/mongo/db/catalog/create_collection.cpp:89
|
#19 0x00007f8ef1236cc0 in mongo::CmdCreate::run (this=<optimized out>, txn=0x7f8ef5ed0500, dbname=..., cmdObj=..., errmsg=..., result=...) at src/mongo/db/commands/dbcommands.cpp:685
|
#20 0x00007f8ef12307e3 in mongo::Command::run (this=this@entry=0x7f8ef34b3100 <mongo::cmdCreate>, txn=txn@entry=0x7f8ef5ed0500, request=..., replyBuilder=replyBuilder@entry=0x7f8ecccbc530) at src/mongo/db/commands/dbcommands.cpp:1423
|
#21 0x00007f8ef1231866 in mongo::execCommandDatabase (txn=0x7f8ef5ed0500, command=<optimized out>, request=..., replyBuilder=<optimized out>) at src/mongo/db/commands/dbcommands.cpp:1635
|
#22 0x00007f8ef11fef4c in std::function<void (mongo::OperationContext*, mongo::Command*, mongo::rpc::RequestInterface const&, mongo::rpc::ReplyBuilderInterface*)>::operator()(mongo::OperationContext*, mongo::Command*, mongo::rpc::RequestInterface const&, mongo::rpc::ReplyBuilderInterface*) const (__args#3=0x7f8ecccbc530, __args#2=..., __args#1=0x7f8ef34b3100 <mongo::cmdCreate>, __args#0=0x7f8ef5ed0500, this=0x7f8ef34b1680 <mongo::(anonymous namespace)::execCommandHandler>) at /opt/mongodbtoolchain/v2/include/c++/5.4.0/functional:2267
|
#23 mongo::Command::execCommand (txn=txn@entry=0x7f8ef5ed0500, command=command@entry=0x7f8ef34b3100 <mongo::cmdCreate>, request=..., replyBuilder=replyBuilder@entry=0x7f8ecccbc530) at src/mongo/db/commands.cpp:452
|
#24 0x00007f8ef186bb8d in mongo::runCommands (txn=txn@entry=0x7f8ef5ed0500, request=..., replyBuilder=replyBuilder@entry=0x7f8ecccbc530) at src/mongo/db/run_commands.cpp:73
|
#25 0x00007f8ef1124d85 in mongo::(anonymous namespace)::receivedRpc (client=..., message=..., dbResponse=..., txn=0x7f8ef5ed0500) at src/mongo/db/assemble_response.cpp:217
|
#26 mongo::assembleResponse (txn=0x7f8ef5ed0500, m=..., dbresponse=..., remote=...) at src/mongo/db/assemble_response.cpp:554
|
#27 0x00007f8ef103ec9d in mongo::ServiceEntryPointMongod::_sessionLoop (this=this@entry=0x7f8ef5cf52c0, session=...) at src/mongo/db/service_entry_point_mongod.cpp:135
|
#28 0x00007f8ef103f5dd in mongo::ServiceEntryPointMongod::<lambda(const SessionHandle&)>::operator() (session=..., __closure=<optimized out>) at src/mongo/db/service_entry_point_mongod.cpp:103
|
#29 std::_Function_handler<void(const std::shared_ptr<mongo::transport::Session>&), mongo::ServiceEntryPointMongod::startSession(mongo::transport::SessionHandle)::<lambda(const SessionHandle&)> >::_M_invoke(const std::_Any_data &, const std::shared_ptr<mongo::transport::Session> &) (__functor=..., __args#0=...) at /opt/mongodbtoolchain/v2/include/c++/5.4.0/functional:1871
|
#30 0x00007f8ef1cd8bb2 in std::function<void (std::shared_ptr<mongo::transport::Session> const&)>::operator()(std::shared_ptr<mongo::transport::Session> const&) const (__args#0=..., this=0x7f8ef5d21190) at /opt/mongodbtoolchain/v2/include/c++/5.4.0/functional:2267
|
#31 mongo::(anonymous namespace)::runFunc (ptr=0x7f8ef5d21180) at src/mongo/transport/service_entry_point_utils.cpp:78
|
#32 0x00007f8eefac6aa1 in start_thread () from /lib64/libpthread.so.0
|
#33 0x00007f8eef813aad in clone () from /lib64/libc.so.6
|
(gdb) frame 6
|
#6 0x00007f8ef130fb26 in mongo::LockerImpl<false>::lockComplete (this=0x7f8ef71bf000, resId=..., mode=<optimized out>, timeoutMs=4294967295, checkDeadlock=false) at src/mongo/db/concurrency/lock_state.cpp:744
|
744 result = _notify.wait(waitTimeMs);
|
(gdb) info args
|
this = 0x7f8ef71bf000
|
resId = {_fullHash = 11529215046068469761}
|
mode = <optimized out>
|
timeoutMs = 4294967295
|
checkDeadlock = false
|
(gdb) info locals
|
curTimeMicros = <optimized out>
|
elapsedTimeMicros = <optimized out>
|
totalBlockTimeMs = <optimized out>
|
result = <optimized out>
|
waitTimeMs = 500
|
startOfTotalWaitTime = 1488835600574625
|
startOfCurrentWaitTime = 1488910404634152
|