(gdb) info threads Id Target Id Frame 6 Thread 0x7f005c10c700 (LWP 5675) "events_manu" 0x00007f005da9c458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 5 Thread 0x7f005b90b700 (LWP 5677) "events_manu" 0x00007f005da9c0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 4 Thread 0x7f005b10a700 (LWP 5678) "events_manu" 0x00007f005dd8c7bd in poll () from /lib64/libc.so.6 3 Thread 0x7f005a909700 (LWP 5679) "events_manu" 0x00007f005dd95b93 in epoll_wait () from /lib64/libc.so.6 2 Thread 0x7f005a108700 (LWP 5680) "events_manu" 0x00007f005dd95b93 in epoll_wait () from /lib64/libc.so.6 * 1 Thread 0x7f005f877740 (LWP 5674) "events_manu" 0x00007f005dd6620d in nanosleep () from /lib64/libc.so.6 (gdb) thread apply 6 bt Thread 6 (Thread 0x7f005c10c700 (LWP 5675)): #0 0x00007f005da9c458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f005eac6f34 in omni_condition::timedwait(unsigned long, unsigned long) () from /home/zreszela/local/lib64/libomnithread.so.3 #2 0x00007f005edd8d45 in omni::Scavenger::execute() () from /home/zreszela/local/lib64/libomniORB4.so.1 #3 0x00007f005ed9409d in omniAsyncWorkerInfo::run() () from /home/zreszela/local/lib64/libomniORB4.so.1 #4 0x00007f005ed947af in omniAsyncWorker::run(void*) () from /home/zreszela/local/lib64/libomniORB4.so.1 #5 0x00007f005eac78c3 in omni_thread_wrapper () from /home/zreszela/local/lib64/libomnithread.so.3 #6 0x00007f005da980db in start_thread () from /lib64/libpthread.so.0 #7 0x00007f005dd9558d in clone () from /lib64/libc.so.6 (gdb) thread apply 5 bt Thread 5 (Thread 0x7f005b90b700 (LWP 5677)): #0 0x00007f005da9c0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f005eac6ed0 in omni_condition::wait() () from /home/zreszela/local/lib64/libomnithread.so.3 #2 0x00007f005f2fe388 in ReadersWritersLock::writerIn (this=0x7f005f691cc0 ) at ../../../lib/cpp/server/readers_writers_lock.h:108 #3 0x00007f005f3c0e02 in Tango::EventConsumerKeepAliveThread::run_undetached (this=0xc67d00, arg=) at eventkeepalive.cpp:553 #4 0x00007f005eac78ae in omni_thread_wrapper () from /home/zreszela/local/lib64/libomnithread.so.3 #5 0x00007f005da980db in start_thread () from /lib64/libpthread.so.0 #6 0x00007f005dd9558d in clone () from /lib64/libc.so.6 (gdb) thread apply 4 bt Thread 4 (Thread 0x7f005b10a700 (LWP 5678)): #0 0x00007f005dd8c7bd in poll () from /lib64/libc.so.6 #1 0x00007f005e89fe65 in zmq::signaler_t::wait (this=this@entry=0x7f005400c978, timeout_=) at signaler.cpp:149 #2 0x00007f005e895ed6 in zmq::mailbox_t::recv (this=this@entry=0x7f005400c918, cmd_=cmd_@entry=0x7f005b1090a0, timeout_=) at mailbox.cpp:74 #3 0x00007f005e8a0e76 in zmq::socket_base_t::process_commands (this=this@entry=0x7f005400c690, timeout_=, throttle_=throttle_@entry=false) at socket_base.cpp:824 #4 0x00007f005e8a143e in zmq::socket_base_t::recv (this=0x7f005400c690, msg_=msg_@entry=0x7f005b1091a0, flags_=0) at socket_base.cpp:758 #5 0x00007f005e8b01e9 in s_recvmsg (s_=, msg_=0x7f005b1091a0, flags_=) at zmq.cpp:419 #6 0x00007f005f3d827e in zmq::socket_t::recv (this=, msg_=, flags_=) at ./zmq.hpp:290 #7 0x00007f005f3d11bc in Tango::DelayEvent::DelayEvent (this=0x7f005b1095a0, ec=) at zmqeventconsumer.cpp:2907 #8 0x00007f005f3b59c9 in Tango::EventConsumer::unsubscribe_event (this=0xc68030, event_id=event_id@entry=2) at event.cpp:1574 #9 0x00007f005f3394d0 in Tango::DeviceProxy::unsubscribe_event (this=, event_id=2) at devapi_base.cpp:6595 #10 0x000000000040170f in MyCallBack::push_event(Tango::EventData*) () #11 0x00007f005f3d3809 in Tango::ZmqEventConsumer::push_zmq_event (this=this@entry=0xc68030, ev_name="tango://pc255.cells.es:10000/sys/tg_test/1/float_scalar.periodic", endian=, event_data=..., error=, ds_ctr=) at zmqeventconsumer.cpp:2338 #12 0x00007f005f3d687c in Tango::ZmqEventConsumer::process_event (this=this@entry=0xc68030, received_event_name=..., received_endian=..., received_call=..., event_data=...) at zmqeventconsumer.cpp:577 #13 0x00007f005f3d7990 in Tango::ZmqEventConsumer::run_undetached (this=0xc68030, arg=) at zmqeventconsumer.cpp:308 #14 0x00007f005eac78ae in omni_thread_wrapper () from /home/zreszela/local/lib64/libomnithread.so.3 #15 0x00007f005da980db in start_thread () from /lib64/libpthread.so.0 #16 0x00007f005dd9558d in clone () from /lib64/libc.so.6 (gdb) thread apply 3 bt Thread 3 (Thread 0x7f005a909700 (LWP 5679)): #0 0x00007f005dd95b93 in epoll_wait () from /lib64/libc.so.6 #1 0x00007f005e892b56 in zmq::epoll_t::loop (this=0xc6ad00) at epoll.cpp:142 #2 0x00007f005e8a9d30 in thread_routine (arg_=0xc6ad70) at thread.cpp:83 #3 0x00007f005da980db in start_thread () from /lib64/libpthread.so.0 #4 0x00007f005dd9558d in clone () from /lib64/libc.so.6 (gdb) thread apply 2 bt Thread 2 (Thread 0x7f005a108700 (LWP 5680)): #0 0x00007f005dd95b93 in epoll_wait () from /lib64/libc.so.6 #1 0x00007f005e892b56 in zmq::epoll_t::loop (this=0xc6b130) at epoll.cpp:142 #2 0x00007f005e8a9d30 in thread_routine (arg_=0xc6b1a0) at thread.cpp:83 #3 0x00007f005da980db in start_thread () from /lib64/libpthread.so.0 #4 0x00007f005dd9558d in clone () from /lib64/libc.so.6 (gdb) thread apply 1 bt Thread 1 (Thread 0x7f005f877740 (LWP 5674)): #0 0x00007f005dd6620d in nanosleep () from /lib64/libc.so.6 #1 0x00007f005dd660a8 in sleep () from /lib64/libc.so.6 #2 0x0000000000401985 in main ()