Shirya J
asked on
understanding pstack output
Hi All,
Am new to pstack. Can you please let me know what is happening with the below process. Process stays in busy state while in this condition. Not sure if it is a deadlock or what wrong has gone with the process.
[root@Site-B-NE5 /]# /root/pstack 2566
Thread 19 (Thread 0x484ba290 (LWP 3102)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15755f08, mutex=0x15755f38)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt hread_cond _t*) ()
#2 Â 0x0f963be0 in util::ConditionVariable::W ait(util:: SimpleMute x*) ()
#3 Â 0x0f963650 in util::ConditionMutex::Lock () () from ./usr/st/lib/libcore.so
#4 Â 0x1219b8a4 in lps::CmlSession::Lock() ()
#5 Â 0x1219d128 in lps::CmlSession::CmlSessio n(lps::Cml Session::S essionType , std::string const&) ()
#6 Â 0x127c2ea8 in lps::PhyCard::PhyCard(std: :string const&, lpsdevice::Card::Slot, mgmt::Type, type::PhyCardId, type::ShelfId) ()
#7 Â 0x0fcd92c0 in lps::Sr9624CardFactory::Cr eateCard(s td::string const&, lpsdevice::Card::Type, lpsdevice::Card::Slot, mgmt::Type, type::PhyCardId, type::ShelfId) () from ./usr/st/lib/libdevice-cfg d.so
#8 Â 0x127b3cdc in lps::DeviceManager::Handle CardEvent( std::strin g const&, mgmt::Type, mgmt::Action, bool, bool, bool) ()
#9 Â 0x127b6b1c in lps::DeviceManager::_Queue dHandleMes sage(pubsu b::Message const&) ()
#10 0x0f890038 in pubsub::QueuedSubscriberIm pl::_Queue Handler(_C ORBA_Const rType_Vari able_Var<p ubsub::Mes sage>) () from ./usr/st/lib/libcore.so
#11 0x0f8917f4 in util::_MemFunWorkerVal<pub sub::Queue dSubscribe rImpl, _CORBA_ConstrType_Variable _Var<pubsu b::Message > >::operator()(_CORBA_Const rType_Vari able_Var<p ubsub::Mes sage>&) const () from ./usr/st/lib/libcore.so
#12 0x0f89360c in util::WorkQueue<_CORBA_Con strType_Va riable_Var <pubsub::M essage>, std::deque<_CORBA_ConstrTy pe_Variabl e_Var<pubs ub::Messag e>, std::allocator<_CORBA_Cons trType_Var iable_Var< pubsub::Me ssage> >Â >, util::NotifierStub<_CORBA_ ConstrType _Variable_ Var<pubsub ::Message> >, util::Extractor<_CORBA_Con strType_Va riable_Var <pubsub::M essage>, std::deque<_CORBA_ConstrTy pe_Variabl e_Var<pubs ub::Messag e>, std::allocator<_CORBA_Cons trType_Var iable_Var< pubsub::Me ssage> >Â >, util::NotifierStub<_CORBA_ ConstrType _Variable_ Var<pubsub ::Message> >Â > >::_Dispatch(util::RefPtr< util::Thre adPoolRunn able>) () from ./usr/st/lib/libcore.so
#13 0x0f891468 in util::WorkQueue<_CORBA_Con strType_Va riable_Var <pubsub::M essage>, std::deque<_CORBA_ConstrTy pe_Variabl e_Var<pubs ub::Messag e>, std::allocator<_CORBA_Cons trType_Var iable_Var< pubsub::Me ssage> >Â >, util::NotifierStub<_CORBA_ ConstrType _Variable_ Var<pubsub ::Message> >, util::Extractor<_CORBA_Con strType_Va riable_Var <pubsub::M essage>, std::deque<_CORBA_ConstrTy pe_Variabl e_Var<pubs ub::Messag e>, std::allocator<_CORBA_Cons trType_Var iable_Var< pubsub::Me ssage> >Â >, util::NotifierStub<_CORBA_ ConstrType _Variable_ Var<pubsub ::Message> >Â > >::_Dispatcher::operator() () () from ./usr/st/lib/libcore.so
#14 0x0f98cfa4 in util::ThreadPool::_ThreadM ain(void*) ()
#15 0x0f988e10 in ?? () from ./usr/st/lib/libcore.so
#16 0x0f989090 in util::Thread::_ThreadMain( void*) ()
#17 0x0fdf7cf0 in start_thread (arg=0x484ba290) at pthread_create.c:310
#18 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 18 (Thread 0x48cba290 (LWP 3103)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15164690, mutex=0x15164658)
#1 Â 0x0f9c8130 in thread::SimpleMutex::Wait( pthread_co nd_t*) ()
#2 Â 0x0f9a5910 in trace::event::Queue::_getN ext(trace: :event::Qu eue::Hint& , trace::event::Buffer&, int&, bool, bool) () from ./usr/st/lib/libcore.so
#3 Â 0x0f9b3c2c in trace::sink::Manager::Inte rnal::_rea dThread() ()
#4 Â 0x0f9b3ce0 in trace::sink::Manager::Inte rnal::_rea dMain(void *) ()
#5 Â 0x0f9c7aa0 in thread::Group::_thread() () from ./usr/st/lib/libcore.so
#6 Â 0x0f9c7c04 in thread::Group::_main(void* ) () from ./usr/st/lib/libcore.so
#7 Â 0x0f9c81e4 in thread::Thread::_main(void *) () from ./usr/st/lib/libcore.so
#8 Â 0x0fdf7cf0 in start_thread (arg=0x48cba290) at pthread_create.c:310
#9 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 17 (Thread 0x48cf9290 (LWP 3104)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15725b98, mutex=0x15725b40)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt hread_cond _t*) ()
#2 Â 0x0f963be0 in util::ConditionVariable::W ait(util:: SimpleMute x*) ()
#3 Â 0x0f98cc90 in util::ThreadPool::_GetWork () () from ./usr/st/lib/libcore.so
#4 Â 0x0f98d01c in util::ThreadPool::_ThreadM ain(void*) ()
#5 Â 0x0f988e10 in ?? () from ./usr/st/lib/libcore.so
#6 Â 0x0f989090 in util::Thread::_ThreadMain( void*) ()
#7 Â 0x0fdf7cf0 in start_thread (arg=0x48cf9290) at pthread_create.c:310
#8 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 16 (Thread 0x48f3e290 (LWP 3105)):
#0 Â 0x0fdfcdbc in __pthread_cond_timedwait (cond=0xfa9ba98, mutex=0xfa9ba38,
#1 Â 0x0f974cc4 in util::SimpleMutex::TimedWa it(pthread _cond_t*, timespec const&) () from ./usr/st/lib/libcore.so
#2 Â 0x0f963a30 in util::ConditionVariable::W aitWithTim eout(util: :SimpleMut ex*, timespec const&) () from ./usr/st/lib/libcore.so
#3 Â 0x0f9913d0 in util::TimerScheduler::_Wai tForTimeou t() ()
#4 Â 0x0f991558 in util::TimerScheduler::_Thr ead() ()
#5 Â 0x11c08a18 in util::RunnableAdapter<void , void>::operator()() ()
#6 Â 0x0f989090 in util::Thread::_ThreadMain( void*) ()
#7 Â 0x0fdf7cf0 in start_thread (arg=0x48f3e290) at pthread_create.c:310
#8 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 15 (Thread 0x498ff290 (LWP 3106)):
#0 Â 0x0ff1f87c in select () from ./usr/st/lib/libc.so.6
#1 Â 0x0f4ad5e0 in do_select (t=0x498fe7e8, e=0x0, w=0x0, r=0x498fe768,
#2 Â omni::SocketCollection::Se lect (this=this@entry=0x1573756 8)
#3 Â 0x0f1af380 in omni::sslEndpoint::AcceptA ndMonitor (this=0x15737560,
#4 Â 0x0f4910bc in omni::giopRendezvouser::ex ecute (this=0x15726410)
#5 Â 0x0f43ed64 in real_run (this=0x15737210)
#6 Â omniAsyncWorkerInfo::run (this=this@entry=0x498fe9a 8)
#7 Â 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#8 Â 0x0f37ab1c in omni_thread_wrapper (ptr=0x15737210)
#9 Â 0x0fdf7cf0 in start_thread (arg=0x498ff290) at pthread_create.c:310
#10 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 14 (Thread 0x4a0ff290 (LWP 3107)):
#0 Â 0x0ff1f87c in select () from ./usr/st/lib/libc.so.6
#1 Â 0x0f4ad5e0 in do_select (t=0x4a0fe8a8, e=0x0, w=0x0, r=0x4a0fe828,
#2 Â omni::SocketCollection::Se lect (this=this@entry=0x1573875 0)
#3 Â 0x0f4cff8c in omni::tcpEndpoint::AcceptA ndMonitor (this=0x15738748,
#4 Â 0x0f4910bc in omni::giopRendezvouser::ex ecute (this=0x15737360)
#5 Â 0x0f43ed64 in real_run (this=0x15737388)
#6 Â omniAsyncWorkerInfo::run (this=this@entry=0x4a0fe9a 8)
#7 Â 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#8 Â 0x0f37ab1c in omni_thread_wrapper (ptr=0x15737388)
#9 Â 0x0fdf7cf0 in start_thread (arg=0x4a0ff290) at pthread_create.c:310
#10 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 13 (Thread 0x4a8ff290 (LWP 3108)):
#0 Â 0x0fdfcdbc in __pthread_cond_timedwait (cond=0x15727570, mutex=0x15727548,
#1 Â 0x0f37a540 in omni_condition::timedwait (this=0x15727568,
#2 Â 0x0f4881a0 in omni::Scavenger::execute (this=0x15738c20)
#3 Â 0x0f43ed64 in real_run (this=0x15739240)
#4 Â omniAsyncWorkerInfo::run (this=this@entry=0x4a8fe9a 8)
#5 Â 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#6 Â 0x0f37ab1c in omni_thread_wrapper (ptr=0x15739240)
#7 Â 0x0fdf7cf0 in start_thread (arg=0x4a8ff290) at pthread_create.c:310
#8 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 12 (Thread 0x48f7d290 (LWP 3110)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x1574d570, mutex=0x1574d514)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt hread_cond _t*) ()
#2 Â 0x0f963be0 in util::ConditionVariable::W ait(util:: SimpleMute x*) ()
#3 Â 0x0f89a048 in MessageQueueOperator::oper ator()() ()
#4 Â 0x0f989090 in util::Thread::_ThreadMain( void*) ()
#5 Â 0x0fdf7cf0 in start_thread (arg=0x48f7d290) at pthread_create.c:310
#6 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 11 (Thread 0x48fbc290 (LWP 3111)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x1574d6d0, mutex=0x1574d674)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt hread_cond _t*) ()
#2 Â 0x0f963be0 in util::ConditionVariable::W ait(util:: SimpleMute x*) ()
#3 Â 0x0f897724 in ?? () from ./usr/st/lib/libcore.so
#4 Â 0x0f989090 in util::Thread::_ThreadMain( void*) ()
#5 Â 0x0fdf7cf0 in start_thread (arg=0x48fbc290) at pthread_create.c:310
#6 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 10 (Thread 0x4c5ff290 (LWP 3262)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15102b50, mutex=0x15102af0)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt hread_cond _t*) ()
#2 Â 0x0f963be0 in util::ConditionVariable::W ait(util:: SimpleMute x*) ()
#3 Â 0x11bc86dc in cml::RpcImpl::LockFromServ er(char const*) ()
#4 Â 0x129cdfec in ?? ()
#5 Â 0x0f475fec in doLocalCall (servant=0xbffff330, this=0x4c5fe728)
#6 Â omniCallHandle::upcall (this=0x4c5fe828, servant=0xbffff330, desc=...)
#7 Â 0x129dd7a8 in cml::_impl_Rpc::_dispatch( omniCallHa ndle&) ()
#8 Â 0x0f466ca0 in omni::omniOrbPOA::dispatch (this=<optimized out>,
#9 Â 0x0f449758 in omniLocalIdentity::dispatc h (this=0x16274e90, handle=...)
#10 0x0f492ed0 in omni::GIOP_S::handleReques t (this=this@entry=0x4ad00d3 8)
#11 0x0f492c0c in omni::GIOP_S::dispatcher (this=0x4ad00d38)
#12 0x0f4908d0 in omni::giopWorker::real_exe cute (this=0x4ad00bd0)
#13 0x0f49081c in omni::giopWorker::execute (this=<optimized out>)
#14 0x0f43ed64 in real_run (this=0x4ad00bf8)
#15 omniAsyncWorkerInfo::run (this=this@entry=0x4c5fe9a 8)
#16 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#17 0x0f37ab1c in omni_thread_wrapper (ptr=0x4ad00bf8)
#18 0x0fdf7cf0 in start_thread (arg=0x4c5ff290) at pthread_create.c:310
#19 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 9 (Thread 0x4cdff290 (LWP 3354)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x4a9197e0, mutex=0x4a919788)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt hread_cond _t*) ()
#2 Â 0x0f963be0 in util::ConditionVariable::W ait(util:: SimpleMute x*) ()
#3 Â 0x11b93ce8 in cml::ExternalEventBase::Da ta::Wait() ()
#4 Â 0x11b945c4 in cml::ExternalEventBase::Da ta::GetTab leEntryLis t() ()
#5 Â 0x11c66ab4 in chassis::SwapImpl::SwapNpb SliceGroup In(type::N pbSliceGro upId)
#6 Â 0x135e4ce4 in ?? ()
#7 Â 0x0f475fec in doLocalCall (servant=0x15759984, this=0x4cdfe738)
#8 Â omniCallHandle::upcall (this=0x4cdfe828, servant=0x15759984, desc=...)
#9 Â 0x135e77b8 in chassis::_impl_Swap::_disp atch(omniC allHandle& ) ()
#10 0x0f466ca0 in omni::omniOrbPOA::dispatch (this=<optimized out>,
#11 0x0f449758 in omniLocalIdentity::dispatc h (this=0x157557b8, handle=...)
#12 0x0f492ed0 in omni::GIOP_S::handleReques t (this=this@entry=0x4a90258 0)
#13 0x0f492c0c in omni::GIOP_S::dispatcher (this=0x4a902580)
#14 0x0f4908d0 in omni::giopWorker::real_exe cute (this=0x4ad05070)
#15 0x0f49081c in omni::giopWorker::execute (this=<optimized out>)
#16 0x0f43ed64 in real_run (this=0x4ad05098)
#17 omniAsyncWorkerInfo::run (this=this@entry=0x4cdfe9a 8)
#18 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#19 0x0f37ab1c in omni_thread_wrapper (ptr=0x4ad05098)
#20 0x0fdf7cf0 in start_thread (arg=0x4cdff290) at pthread_create.c:310
#21 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 8 (Thread 0x4aa3e290 (LWP 3414)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15755f08, mutex=0x15755f38)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt hread_cond _t*) ()
#2 Â 0x0f963be0 in util::ConditionVariable::W ait(util:: SimpleMute x*) ()
#3 Â 0x0f963650 in util::ConditionMutex::Lock () () from ./usr/st/lib/libcore.so
#4 Â 0x11b76050 in cml::Configuration::Swapin Handler() ()
#5 Â 0x11bcc0a0 in cml::Swapin::operator()() ()
#6 Â 0x0f989090 in util::Thread::_ThreadMain( void*) ()
#7 Â 0x0fdf7cf0 in start_thread (arg=0x4aa3e290) at pthread_create.c:310
#8 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 7 (Thread 0x48ffb290 (LWP 3468)):
#0 Â 0x0fdfcdbc in __pthread_cond_timedwait (cond=0x48e076c8, mutex=0x48e07798,
#1 Â 0x0f974cc4 in util::SimpleMutex::TimedWa it(pthread _cond_t*, timespec const&) () from ./usr/st/lib/libcore.so
#2 Â 0x0f963a30 in util::ConditionVariable::W aitWithTim eout(util: :SimpleMut ex*, timespec const&) () from ./usr/st/lib/libcore.so
#3 Â 0x0f963a84 in util::ConditionVariable::W aitWithTim eout(util: :SimpleMut ex*, long) () from ./usr/st/lib/libcore.so
#4 Â 0x1154e030 in lps::LPSCluster::operator( )() ()
#5 Â 0x0f989090 in util::Thread::_ThreadMain( void*) ()
#6 Â 0x0fdf7cf0 in start_thread (arg=0x48ffb290) at pthread_create.c:310
#7 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 6 (Thread 0x4e0ff290 (LWP 3536)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x4d87cf58, mutex=0x4d87cf00)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt hread_cond _t*) ()
#2 Â 0x0f963be0 in util::ConditionVariable::W ait(util:: SimpleMute x*) ()
#3 Â 0x11b93ce8 in cml::ExternalEventBase::Da ta::Wait() ()
#4 Â 0x11b945c4 in cml::ExternalEventBase::Da ta::GetTab leEntryLis t() ()
#5 Â 0x11c625f0 in chassis::SwapImpl::SwapIn( type::PhyS lotId, type::PhyCardId, chassis::SliceId, chassis::PortList const&) ()
#6 Â 0x135e4ae8 in ?? ()
#7 Â 0x0f475fec in doLocalCall (servant=0x15759984, this=0x4e0fe738)
#8 Â omniCallHandle::upcall (this=0x4e0fe828, servant=0x15759984, desc=...)
#9 Â 0x135e75e8 in chassis::_impl_Swap::_disp atch(omniC allHandle& ) ()
#10 0x0f466ca0 in omni::omniOrbPOA::dispatch (this=<optimized out>,
#11 0x0f449758 in omniLocalIdentity::dispatc h (this=0x157557b8, handle=...)
#12 0x0f492ed0 in omni::GIOP_S::handleReques t (this=this@entry=0x4d84da4 0)
#13 0x0f492c0c in omni::GIOP_S::dispatcher (this=0x4d84da40)
#14 0x0f4908d0 in omni::giopWorker::real_exe cute (this=0x4ce8c070)
#15 0x0f49081c in omni::giopWorker::execute (this=<optimized out>)
#16 0x0f43ed64 in real_run (this=0x4ce51c00)
#17 omniAsyncWorkerInfo::run (this=this@entry=0x4e0fe9a 8)
#18 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#19 0x0f37ab1c in omni_thread_wrapper (ptr=0x4ce51c00)
#20 0x0fdf7cf0 in start_thread (arg=0x4e0ff290) at pthread_create.c:310
#21 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 5 (Thread 0x4e8ff290 (LWP 3604)):
#0 Â 0x0fe00b98 in recv () from ./usr/st/lib/libpthread.so .0
#1 Â 0x0f4cebd0 in omni::tcpConnection::Recv (this=0x4ce53fd8, buf=0x4ce556a8,
#2 Â 0x0f48b05c in omni::giopStream::inputMes sage (this=this@entry=0x4ce5248 4)
#3 Â 0x0f4a3b58 in omni::giopImpl12::inputNew ServerMess age (
#4 Â 0x0f4a40b4 in inputMessageBegin (
#5 Â omni::giopImpl12::inputMes sageBegin (g=0x4ce52484,
#6 Â 0x0f492ad8 in omni::GIOP_S::dispatcher (this=0x4ce52480)
#7 Â 0x0f4908d0 in omni::giopWorker::real_exe cute (this=0x4ce859f0)
#8 Â 0x0f49081c in omni::giopWorker::execute (this=<optimized out>)
#9 Â 0x0f43ed64 in real_run (this=0x4ce51fd0)
#10 omniAsyncWorkerInfo::run (this=this@entry=0x4e8fe9a 8)
#11 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#12 0x0f37ab1c in omni_thread_wrapper (ptr=0x4ce51fd0)
#13 0x0fdf7cf0 in start_thread (arg=0x4e8ff290) at pthread_create.c:310
#14 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 4 (Thread 0x522ff290 (LWP 3721)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15755f08, mutex=0x15755f38)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt hread_cond _t*) ()
#2 Â 0x0f963be0 in util::ConditionVariable::W ait(util:: SimpleMute x*) ()
#3 Â 0x0f963650 in util::ConditionMutex::Lock () () from ./usr/st/lib/libcore.so
#4 Â 0x1219b8a4 in lps::CmlSession::Lock() ()
#5 Â 0x1219d128 in lps::CmlSession::CmlSessio n(lps::Cml Session::S essionType , std::string const&) ()
#6 Â 0x127c2ea8 in lps::PhyCard::PhyCard(std: :string const&, lpsdevice::Card::Slot, mgmt::Type, type::PhyCardId, type::ShelfId) ()
#7 Â 0x0fcd92c0 in lps::Sr9624CardFactory::Cr eateCard(s td::string const&, lpsdevice::Card::Type, lpsdevice::Card::Slot, mgmt::Type, type::PhyCardId, type::ShelfId) () from ./usr/st/lib/libdevice-cfg d.so
#8 Â 0x127b3cdc in lps::DeviceManager::Handle CardEvent( std::strin g const&, mgmt::Type, mgmt::Action, bool, bool, bool) ()
#9 Â 0x127b546c in lps::DeviceManager::Assign SlotInCach e(_CORBA_O bjRef_Var< laurel::_o bjref_Slot Idl, laurel::SlotIdl_Helper>, bool) ()
#10 0x127b73fc in lps::DeviceManager::Update CardPortCa che() ()
#11 0x127b7d40 in lps::DeviceManager::CheckC acheDirty( ) ()
#12 0x127b9620 in lps::DeviceManager::FindCa rd(lpsdevi ce::Card:: Slot, type::ShelfId) ()
#13 0x1284157c in lpsutil::Util::GetCardId(t ype::PhySl otId, type::PhyCardId&, std::basic_ostringstream<c har, std::char_traits<char>, std::allocator<char> >&)
#14 0x12843560 in lpsutil::Util::GetCardIdSl otIdPortNu m(std::str ing const&, type::PhySlotId*, type::PhyCardId*, unsigned int*) ()
#15 0x125fe884 in cml::PortVerifier* lps::PortUtil::GetTableEnt ry<cml::Po rtVerifier >(std::str ing const&, unsigned int, cml::Error&) ()
#16 0x123cff74 in lps::OmsSubInterfaceImpl:: GetConfigS tate(std:: string const&, lpsdevice::OmsSubInterface ::ConfigSt ate&, bool) ()
#17 0x12315aa4 in lps::PortManagerImpl::disc overCommon SubIfs(std ::string&, unsigned long, unsigned long&, std::string&) ()
#18 0x12318664 in lps::PortManagerImpl::disc overFirstN SubIfs(uns igned long) ()
#19 0x12c86314 in ?? ()
#20 0x0f475fec in doLocalCall (servant=0x4d7e3c34, this=0x522fe658)
#21 omniCallHandle::upcall (this=0x522fe828, servant=0x4d7e3c34, desc=...)
#22 0x12c87220 in lpsdevice::_impl_PortManag er::_dispa tch(omniCa llHandle&) ()
#23 0x0f466ca0 in omni::omniOrbPOA::dispatch (this=<optimized out>,
#24 0x0f449758 in omniLocalIdentity::dispatc h (this=this@entry=0x522fe75 8,
#25 0x0f46c868 in omni::omniOrbPOA::dispatch _to_sl (
#26 0x0f466fc8 in omni::omniOrbPOA::dispatch (this=0x490086b8, handle=...,
#27 0x0f492f58 in omni::GIOP_S::handleReques t (this=this@entry=0x1602247 0)
#28 0x0f492c0c in omni::GIOP_S::dispatcher (this=0x16022470)
#29 0x0f4908d0 in omni::giopWorker::real_exe cute (this=0x4a9192d8)
#30 0x0f49081c in omni::giopWorker::execute (this=<optimized out>)
#31 0x0f43ed64 in real_run (this=0x4a919300)
#32 omniAsyncWorkerInfo::run (this=this@entry=0x522fe9a 8)
#33 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#34 0x0f37ab1c in omni_thread_wrapper (ptr=0x4a919300)
#35 0x0fdf7cf0 in start_thread (arg=0x522ff290) at pthread_create.c:310
#36 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 3 (Thread 0x4aa7d290 (LWP 3730)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15755f08, mutex=0x15755f38)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt hread_cond _t*) ()
#2 Â 0x0f963be0 in util::ConditionVariable::W ait(util:: SimpleMute x*) ()
#3 Â 0x0f963650 in util::ConditionMutex::Lock () () from ./usr/st/lib/libcore.so
#4 Â 0x11bc78e8 in ?? ()
#5 Â 0x0f98cfa4 in util::ThreadPool::_ThreadM ain(void*) ()
#6 Â 0x0f988e10 in ?? () from ./usr/st/lib/libcore.so
#7 Â 0x0f989090 in util::Thread::_ThreadMain( void*) ()
#8 Â 0x0fdf7cf0 in start_thread (arg=0x4aa7d290) at pthread_create.c:310
#9 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 2 (Thread 0x4aafb290 (LWP 3793)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15f71f10, mutex=0x15f71eb8)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt hread_cond _t*) ()
#2 Â 0x0f963be0 in util::ConditionVariable::W ait(util:: SimpleMute x*) ()
#3 Â 0x119ab6b4 in lpseventmgr::Observer<lpse ventmgr::S ubscriberK ey, lpsdevice::EventSubscriber , lpsdevice::EventSubscriber _Helper, util::RefPtr<lpseventmgr:: Event<lpsd evice::Lps MessageAto m, _CORBA_ConstrType_Variable _Var<lpsde vice::LpsM essageAtom > >Â >, lpseventmgr::Event<lpsdevi ce::LpsMes sageAtom, _CORBA_ConstrType_Variable _Var<lpsde vice::LpsM essageAtom > >Â >::operator()() ()
#4 Â 0x0f989090 in util::Thread::_ThreadMain( void*) ()
#5 Â 0x0fdf7cf0 in start_thread (arg=0x4aafb290) at pthread_create.c:310
#6 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 1 (Thread 0x4809fc60 (LWP 2566)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0xbffff2a8, mutex=0xbffff2d8)
#1 Â 0x0f9c8130 in thread::SimpleMutex::Wait( pthread_co nd_t*) ()
#2 Â 0x0f9c84b4 in thread::Thread::Block() () from ./usr/st/lib/libcore.so
#3 Â 0x0f9893a4 in util::Thread::Block() () from ./usr/st/lib/libcore.so
#4 Â 0x110d54b8 in main ()
Your inputs will be of great help.
Thanks in advance.
Am new to pstack. Can you please let me know what is happening with the below process. Process stays in busy state while in this condition. Not sure if it is a deadlock or what wrong has gone with the process.
[root@Site-B-NE5 /]# /root/pstack 2566
Thread 19 (Thread 0x484ba290 (LWP 3102)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15755f08, mutex=0x15755f38)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt
#2 Â 0x0f963be0 in util::ConditionVariable::W
#3 Â 0x0f963650 in util::ConditionMutex::Lock
#4 Â 0x1219b8a4 in lps::CmlSession::Lock() ()
#5 Â 0x1219d128 in lps::CmlSession::CmlSessio
#6 Â 0x127c2ea8 in lps::PhyCard::PhyCard(std:
#7 Â 0x0fcd92c0 in lps::Sr9624CardFactory::Cr
#8 Â 0x127b3cdc in lps::DeviceManager::Handle
#9 Â 0x127b6b1c in lps::DeviceManager::_Queue
#10 0x0f890038 in pubsub::QueuedSubscriberIm
#11 0x0f8917f4 in util::_MemFunWorkerVal<pub
#12 0x0f89360c in util::WorkQueue<_CORBA_Con
#13 0x0f891468 in util::WorkQueue<_CORBA_Con
#14 0x0f98cfa4 in util::ThreadPool::_ThreadM
#15 0x0f988e10 in ?? () from ./usr/st/lib/libcore.so
#16 0x0f989090 in util::Thread::_ThreadMain(
#17 0x0fdf7cf0 in start_thread (arg=0x484ba290) at pthread_create.c:310
#18 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 18 (Thread 0x48cba290 (LWP 3103)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15164690, mutex=0x15164658)
#1 Â 0x0f9c8130 in thread::SimpleMutex::Wait(
#2 Â 0x0f9a5910 in trace::event::Queue::_getN
#3 Â 0x0f9b3c2c in trace::sink::Manager::Inte
#4 Â 0x0f9b3ce0 in trace::sink::Manager::Inte
#5 Â 0x0f9c7aa0 in thread::Group::_thread() () from ./usr/st/lib/libcore.so
#6 Â 0x0f9c7c04 in thread::Group::_main(void*
#7 Â 0x0f9c81e4 in thread::Thread::_main(void
#8 Â 0x0fdf7cf0 in start_thread (arg=0x48cba290) at pthread_create.c:310
#9 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 17 (Thread 0x48cf9290 (LWP 3104)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15725b98, mutex=0x15725b40)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt
#2 Â 0x0f963be0 in util::ConditionVariable::W
#3 Â 0x0f98cc90 in util::ThreadPool::_GetWork
#4 Â 0x0f98d01c in util::ThreadPool::_ThreadM
#5 Â 0x0f988e10 in ?? () from ./usr/st/lib/libcore.so
#6 Â 0x0f989090 in util::Thread::_ThreadMain(
#7 Â 0x0fdf7cf0 in start_thread (arg=0x48cf9290) at pthread_create.c:310
#8 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 16 (Thread 0x48f3e290 (LWP 3105)):
#0 Â 0x0fdfcdbc in __pthread_cond_timedwait (cond=0xfa9ba98, mutex=0xfa9ba38,
#1 Â 0x0f974cc4 in util::SimpleMutex::TimedWa
#2 Â 0x0f963a30 in util::ConditionVariable::W
#3 Â 0x0f9913d0 in util::TimerScheduler::_Wai
#4 Â 0x0f991558 in util::TimerScheduler::_Thr
#5 Â 0x11c08a18 in util::RunnableAdapter<void
#6 Â 0x0f989090 in util::Thread::_ThreadMain(
#7 Â 0x0fdf7cf0 in start_thread (arg=0x48f3e290) at pthread_create.c:310
#8 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 15 (Thread 0x498ff290 (LWP 3106)):
#0 Â 0x0ff1f87c in select () from ./usr/st/lib/libc.so.6
#1 Â 0x0f4ad5e0 in do_select (t=0x498fe7e8, e=0x0, w=0x0, r=0x498fe768,
#2 Â omni::SocketCollection::Se
#3 Â 0x0f1af380 in omni::sslEndpoint::AcceptA
#4 Â 0x0f4910bc in omni::giopRendezvouser::ex
#5 Â 0x0f43ed64 in real_run (this=0x15737210)
#6 Â omniAsyncWorkerInfo::run (this=this@entry=0x498fe9a
#7 Â 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#8 Â 0x0f37ab1c in omni_thread_wrapper (ptr=0x15737210)
#9 Â 0x0fdf7cf0 in start_thread (arg=0x498ff290) at pthread_create.c:310
#10 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 14 (Thread 0x4a0ff290 (LWP 3107)):
#0 Â 0x0ff1f87c in select () from ./usr/st/lib/libc.so.6
#1 Â 0x0f4ad5e0 in do_select (t=0x4a0fe8a8, e=0x0, w=0x0, r=0x4a0fe828,
#2 Â omni::SocketCollection::Se
#3 Â 0x0f4cff8c in omni::tcpEndpoint::AcceptA
#4 Â 0x0f4910bc in omni::giopRendezvouser::ex
#5 Â 0x0f43ed64 in real_run (this=0x15737388)
#6 Â omniAsyncWorkerInfo::run (this=this@entry=0x4a0fe9a
#7 Â 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#8 Â 0x0f37ab1c in omni_thread_wrapper (ptr=0x15737388)
#9 Â 0x0fdf7cf0 in start_thread (arg=0x4a0ff290) at pthread_create.c:310
#10 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 13 (Thread 0x4a8ff290 (LWP 3108)):
#0 Â 0x0fdfcdbc in __pthread_cond_timedwait (cond=0x15727570, mutex=0x15727548,
#1 Â 0x0f37a540 in omni_condition::timedwait (this=0x15727568,
#2 Â 0x0f4881a0 in omni::Scavenger::execute (this=0x15738c20)
#3 Â 0x0f43ed64 in real_run (this=0x15739240)
#4 Â omniAsyncWorkerInfo::run (this=this@entry=0x4a8fe9a
#5 Â 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#6 Â 0x0f37ab1c in omni_thread_wrapper (ptr=0x15739240)
#7 Â 0x0fdf7cf0 in start_thread (arg=0x4a8ff290) at pthread_create.c:310
#8 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 12 (Thread 0x48f7d290 (LWP 3110)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x1574d570, mutex=0x1574d514)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt
#2 Â 0x0f963be0 in util::ConditionVariable::W
#3 Â 0x0f89a048 in MessageQueueOperator::oper
#4 Â 0x0f989090 in util::Thread::_ThreadMain(
#5 Â 0x0fdf7cf0 in start_thread (arg=0x48f7d290) at pthread_create.c:310
#6 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 11 (Thread 0x48fbc290 (LWP 3111)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x1574d6d0, mutex=0x1574d674)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt
#2 Â 0x0f963be0 in util::ConditionVariable::W
#3 Â 0x0f897724 in ?? () from ./usr/st/lib/libcore.so
#4 Â 0x0f989090 in util::Thread::_ThreadMain(
#5 Â 0x0fdf7cf0 in start_thread (arg=0x48fbc290) at pthread_create.c:310
#6 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 10 (Thread 0x4c5ff290 (LWP 3262)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15102b50, mutex=0x15102af0)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt
#2 Â 0x0f963be0 in util::ConditionVariable::W
#3 Â 0x11bc86dc in cml::RpcImpl::LockFromServ
#4 Â 0x129cdfec in ?? ()
#5 Â 0x0f475fec in doLocalCall (servant=0xbffff330, this=0x4c5fe728)
#6 Â omniCallHandle::upcall (this=0x4c5fe828, servant=0xbffff330, desc=...)
#7 Â 0x129dd7a8 in cml::_impl_Rpc::_dispatch(
#8 Â 0x0f466ca0 in omni::omniOrbPOA::dispatch
#9 Â 0x0f449758 in omniLocalIdentity::dispatc
#10 0x0f492ed0 in omni::GIOP_S::handleReques
#11 0x0f492c0c in omni::GIOP_S::dispatcher (this=0x4ad00d38)
#12 0x0f4908d0 in omni::giopWorker::real_exe
#13 0x0f49081c in omni::giopWorker::execute (this=<optimized out>)
#14 0x0f43ed64 in real_run (this=0x4ad00bf8)
#15 omniAsyncWorkerInfo::run (this=this@entry=0x4c5fe9a
#16 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#17 0x0f37ab1c in omni_thread_wrapper (ptr=0x4ad00bf8)
#18 0x0fdf7cf0 in start_thread (arg=0x4c5ff290) at pthread_create.c:310
#19 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 9 (Thread 0x4cdff290 (LWP 3354)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x4a9197e0, mutex=0x4a919788)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt
#2 Â 0x0f963be0 in util::ConditionVariable::W
#3 Â 0x11b93ce8 in cml::ExternalEventBase::Da
#4 Â 0x11b945c4 in cml::ExternalEventBase::Da
#5 Â 0x11c66ab4 in chassis::SwapImpl::SwapNpb
#6 Â 0x135e4ce4 in ?? ()
#7 Â 0x0f475fec in doLocalCall (servant=0x15759984, this=0x4cdfe738)
#8 Â omniCallHandle::upcall (this=0x4cdfe828, servant=0x15759984, desc=...)
#9 Â 0x135e77b8 in chassis::_impl_Swap::_disp
#10 0x0f466ca0 in omni::omniOrbPOA::dispatch
#11 0x0f449758 in omniLocalIdentity::dispatc
#12 0x0f492ed0 in omni::GIOP_S::handleReques
#13 0x0f492c0c in omni::GIOP_S::dispatcher (this=0x4a902580)
#14 0x0f4908d0 in omni::giopWorker::real_exe
#15 0x0f49081c in omni::giopWorker::execute (this=<optimized out>)
#16 0x0f43ed64 in real_run (this=0x4ad05098)
#17 omniAsyncWorkerInfo::run (this=this@entry=0x4cdfe9a
#18 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#19 0x0f37ab1c in omni_thread_wrapper (ptr=0x4ad05098)
#20 0x0fdf7cf0 in start_thread (arg=0x4cdff290) at pthread_create.c:310
#21 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 8 (Thread 0x4aa3e290 (LWP 3414)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15755f08, mutex=0x15755f38)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt
#2 Â 0x0f963be0 in util::ConditionVariable::W
#3 Â 0x0f963650 in util::ConditionMutex::Lock
#4 Â 0x11b76050 in cml::Configuration::Swapin
#5 Â 0x11bcc0a0 in cml::Swapin::operator()() ()
#6 Â 0x0f989090 in util::Thread::_ThreadMain(
#7 Â 0x0fdf7cf0 in start_thread (arg=0x4aa3e290) at pthread_create.c:310
#8 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 7 (Thread 0x48ffb290 (LWP 3468)):
#0 Â 0x0fdfcdbc in __pthread_cond_timedwait (cond=0x48e076c8, mutex=0x48e07798,
#1 Â 0x0f974cc4 in util::SimpleMutex::TimedWa
#2 Â 0x0f963a30 in util::ConditionVariable::W
#3 Â 0x0f963a84 in util::ConditionVariable::W
#4 Â 0x1154e030 in lps::LPSCluster::operator(
#5 Â 0x0f989090 in util::Thread::_ThreadMain(
#6 Â 0x0fdf7cf0 in start_thread (arg=0x48ffb290) at pthread_create.c:310
#7 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 6 (Thread 0x4e0ff290 (LWP 3536)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x4d87cf58, mutex=0x4d87cf00)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt
#2 Â 0x0f963be0 in util::ConditionVariable::W
#3 Â 0x11b93ce8 in cml::ExternalEventBase::Da
#4 Â 0x11b945c4 in cml::ExternalEventBase::Da
#5 Â 0x11c625f0 in chassis::SwapImpl::SwapIn(
#6 Â 0x135e4ae8 in ?? ()
#7 Â 0x0f475fec in doLocalCall (servant=0x15759984, this=0x4e0fe738)
#8 Â omniCallHandle::upcall (this=0x4e0fe828, servant=0x15759984, desc=...)
#9 Â 0x135e75e8 in chassis::_impl_Swap::_disp
#10 0x0f466ca0 in omni::omniOrbPOA::dispatch
#11 0x0f449758 in omniLocalIdentity::dispatc
#12 0x0f492ed0 in omni::GIOP_S::handleReques
#13 0x0f492c0c in omni::GIOP_S::dispatcher (this=0x4d84da40)
#14 0x0f4908d0 in omni::giopWorker::real_exe
#15 0x0f49081c in omni::giopWorker::execute (this=<optimized out>)
#16 0x0f43ed64 in real_run (this=0x4ce51c00)
#17 omniAsyncWorkerInfo::run (this=this@entry=0x4e0fe9a
#18 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#19 0x0f37ab1c in omni_thread_wrapper (ptr=0x4ce51c00)
#20 0x0fdf7cf0 in start_thread (arg=0x4e0ff290) at pthread_create.c:310
#21 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 5 (Thread 0x4e8ff290 (LWP 3604)):
#0 Â 0x0fe00b98 in recv () from ./usr/st/lib/libpthread.so
#1 Â 0x0f4cebd0 in omni::tcpConnection::Recv (this=0x4ce53fd8, buf=0x4ce556a8,
#2 Â 0x0f48b05c in omni::giopStream::inputMes
#3 Â 0x0f4a3b58 in omni::giopImpl12::inputNew
#4 Â 0x0f4a40b4 in inputMessageBegin (
#5 Â omni::giopImpl12::inputMes
#6 Â 0x0f492ad8 in omni::GIOP_S::dispatcher (this=0x4ce52480)
#7 Â 0x0f4908d0 in omni::giopWorker::real_exe
#8 Â 0x0f49081c in omni::giopWorker::execute (this=<optimized out>)
#9 Â 0x0f43ed64 in real_run (this=0x4ce51fd0)
#10 omniAsyncWorkerInfo::run (this=this@entry=0x4e8fe9a
#11 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#12 0x0f37ab1c in omni_thread_wrapper (ptr=0x4ce51fd0)
#13 0x0fdf7cf0 in start_thread (arg=0x4e8ff290) at pthread_create.c:310
#14 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 4 (Thread 0x522ff290 (LWP 3721)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15755f08, mutex=0x15755f38)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt
#2 Â 0x0f963be0 in util::ConditionVariable::W
#3 Â 0x0f963650 in util::ConditionMutex::Lock
#4 Â 0x1219b8a4 in lps::CmlSession::Lock() ()
#5 Â 0x1219d128 in lps::CmlSession::CmlSessio
#6 Â 0x127c2ea8 in lps::PhyCard::PhyCard(std:
#7 Â 0x0fcd92c0 in lps::Sr9624CardFactory::Cr
#8 Â 0x127b3cdc in lps::DeviceManager::Handle
#9 Â 0x127b546c in lps::DeviceManager::Assign
#10 0x127b73fc in lps::DeviceManager::Update
#11 0x127b7d40 in lps::DeviceManager::CheckC
#12 0x127b9620 in lps::DeviceManager::FindCa
#13 0x1284157c in lpsutil::Util::GetCardId(t
#14 0x12843560 in lpsutil::Util::GetCardIdSl
#15 0x125fe884 in cml::PortVerifier* lps::PortUtil::GetTableEnt
#16 0x123cff74 in lps::OmsSubInterfaceImpl::
#17 0x12315aa4 in lps::PortManagerImpl::disc
#18 0x12318664 in lps::PortManagerImpl::disc
#19 0x12c86314 in ?? ()
#20 0x0f475fec in doLocalCall (servant=0x4d7e3c34, this=0x522fe658)
#21 omniCallHandle::upcall (this=0x522fe828, servant=0x4d7e3c34, desc=...)
#22 0x12c87220 in lpsdevice::_impl_PortManag
#23 0x0f466ca0 in omni::omniOrbPOA::dispatch
#24 0x0f449758 in omniLocalIdentity::dispatc
#25 0x0f46c868 in omni::omniOrbPOA::dispatch
#26 0x0f466fc8 in omni::omniOrbPOA::dispatch
#27 0x0f492f58 in omni::GIOP_S::handleReques
#28 0x0f492c0c in omni::GIOP_S::dispatcher (this=0x16022470)
#29 0x0f4908d0 in omni::giopWorker::real_exe
#30 0x0f49081c in omni::giopWorker::execute (this=<optimized out>)
#31 0x0f43ed64 in real_run (this=0x4a919300)
#32 omniAsyncWorkerInfo::run (this=this@entry=0x522fe9a
#33 0x0f43fb10 in omniAsyncWorker::run (this=<optimized out>)
#34 0x0f37ab1c in omni_thread_wrapper (ptr=0x4a919300)
#35 0x0fdf7cf0 in start_thread (arg=0x522ff290) at pthread_create.c:310
#36 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 3 (Thread 0x4aa7d290 (LWP 3730)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15755f08, mutex=0x15755f38)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt
#2 Â 0x0f963be0 in util::ConditionVariable::W
#3 Â 0x0f963650 in util::ConditionMutex::Lock
#4 Â 0x11bc78e8 in ?? ()
#5 Â 0x0f98cfa4 in util::ThreadPool::_ThreadM
#6 Â 0x0f988e10 in ?? () from ./usr/st/lib/libcore.so
#7 Â 0x0f989090 in util::Thread::_ThreadMain(
#8 Â 0x0fdf7cf0 in start_thread (arg=0x4aa7d290) at pthread_create.c:310
#9 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 2 (Thread 0x4aafb290 (LWP 3793)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0x15f71f10, mutex=0x15f71eb8)
#1 Â 0x0f975280 in util::SimpleMutex::Wait(pt
#2 Â 0x0f963be0 in util::ConditionVariable::W
#3 Â 0x119ab6b4 in lpseventmgr::Observer<lpse
#4 Â 0x0f989090 in util::Thread::_ThreadMain(
#5 Â 0x0fdf7cf0 in start_thread (arg=0x4aafb290) at pthread_create.c:310
#6 Â 0x0ff275fc in clone () from ./usr/st/lib/libc.so.6
Thread 1 (Thread 0x4809fc60 (LWP 2566)):
#0 Â 0x0fdfc978 in __pthread_cond_wait (cond=0xbffff2a8, mutex=0xbffff2d8)
#1 Â 0x0f9c8130 in thread::SimpleMutex::Wait(
#2 Â 0x0f9c84b4 in thread::Thread::Block() () from ./usr/st/lib/libcore.so
#3 Â 0x0f9893a4 in util::Thread::Block() () from ./usr/st/lib/libcore.so
#4 Â 0x110d54b8 in main ()
Your inputs will be of great help.
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I wish he would have told me where he got that pstack from, or even just the Linux distribution it came with.
I combed the net and couldn't find one that worked: pstack-gdb comes close but mysteriously fails for me if I install the ruby extension.
As a result, I wrote my own pstack. Look out for it soon at github/duncan-roe. It's an expect script that runs gdb, and works at least on Linux and Cygwin, 32 or 64 bit.