[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Can't stop the top_block which contain transmit_p
From: |
Ling Huang |
Subject: |
Re: [Discuss-gnuradio] Can't stop the top_block which contain transmit_path with GNU Radio version 11001 |
Date: |
Tue, 19 May 2009 00:23:06 -0700 (PDT) |
sorry for before attachments. maybe those infomations are nonsensed. I dig
gdb and do some homework, find out that the backtrace should be these:
I did set message type=1 but there is still a thread in message. How can I
get rid of these threads that can't quit?
-----------------------------------------gdb thread apply all backtrace
after tb.wait()-------------------------------------------------------
Thread 3 (Thread 0xb59e1b90 (LWP 11153)):
#0 0xb80b7430 in __kernel_vsyscall ()
#1 0xb8071075 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7b842ab in omni_condition::wait (this=0x912ae74) at posix.cc:152
#3 0xb7cfc0b3 in gr_msg_queue::delete_head (this=0x912ae58)
at gr_msg_queue.cc:81
#4 0xb7cce6bc in gr_message_source::work (this=0x912ad80,
noutput_items=32768, address@hidden, address@hidden)
at gr_message_source.cc:96
#5 0xb7d0437a in gr_sync_block::general_work (this=0x912ad80,
noutput_items=32768, address@hidden, address@hidden,
address@hidden) at gr_sync_block.cc:64
#6 0xb7ceef76 in gr_block_executor::run_one_iteration (this=0xb59e12d4)
at gr_block_executor.cc:298
#7 0xb7d07267 in gr_tpb_thread_body (this=0xb59e12d4, block=
{px = 0xb59e1324, pn = {pi_ = 0x0}}) at gr_tpb_thread_body.cc:40
#8 0xb7d0151a in
boost::detail::function::void_function_obj_invoker0<gruel::thread_body_wrapper<tpb_container>,
void>::invoke (address@hidden)
at gr_scheduler_tpb.cc:42
#9 0xb7b7bffc in boost::function0<void,
std::allocator<boost::function_base> >::operator() (this=0x912d554)
at /usr/include/boost/function/function_template.hpp:825
#10 0xb7b7c152 in boost::thread::thread_data<boost::function0<void,
std::allocator<boost::function_base> > >::run (this=0x912d498)
at /usr/include/boost/thread/pthread/thread.hpp:130
#11 0xb7b699c2 in thread_proxy () from
/usr/lib/libboost_thread-mt-d.so.1.35.0
#12 0xb806d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb7fbba0e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 2 (Thread 0xb27fbb90 (LWP 11159)):
#0 0xb80b7430 in __kernel_vsyscall ()
#1 0xb8071075 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7d07e17 in boost::condition_variable::wait (this=0x912d4c8,
address@hidden)
at /usr/include/boost/thread/pthread/condition_variable.hpp:35
#3 0xb7b6a1f2 in boost::thread::join ()
from /usr/lib/libboost_thread-mt-d.so.1.35.0
#4 0xb7b7b223 in gruel::thread_group::join_all (this=0x912d0fc)
at thread_group.cc:78
#5 0xb7cff4a0 in gr_scheduler_tpb::wait (this=0x912d0f8)
at gr_scheduler_tpb.cc:94
#6 0xb7d057c9 in gr_top_block_impl::wait (this=0x910de48)
at gr_top_block_impl.cc:124
#7 0xb7d05080 in gr_top_block::wait (this=0x90e9268) at gr_top_block.cc:71
#8 0xb7d833af in top_block_wait_unlocked (r=
{px = 0xb27fa80c, pn = {pi_ = 0xb27fa828}})
at gnuradio_swig_py_runtime.cc:4865
#9 0xb7d8d4d6 in _wrap_top_block_wait_unlocked (args=0xb5a9118c,
kwargs=0xb5a9b68c) at gnuradio_swig_py_runtime.cc:15264
#10 0x0805d867 in PyObject_Call ()
#11 0x080cd502 in PyEval_EvalFrameEx ()
#12 0x080d0345 in PyEval_EvalCodeEx ()
#13 0x080ce728 in PyEval_EvalFrameEx ()
#14 0x080cfbf5 in PyEval_EvalFrameEx ()
#15 0x080cfbf5 in PyEval_EvalFrameEx ()
#16 0x080d0345 in PyEval_EvalCodeEx ()
#17 0x08117891 in ?? ()
#18 0x0805d867 in PyObject_Call ()
#19 0x08063a7a in ?? ()
#20 0x0805d867 in PyObject_Call ()
#21 0x080c850c in PyEval_CallObjectWithKeywords ()
#22 0x080f9e68 in ?? ()
#23 0xb806d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#24 0xb7fbba0e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 1 (Thread 0xb7ed98c0 (LWP 11152)):
#0 0xb80b7430 in __kernel_vsyscall ()
#1 0xb7fb3df1 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0xb8093bc9 in ?? () from /usr/lib/python2.5/lib-dynload/time.so
#3 0x080cea39 in PyEval_EvalFrameEx ()
#4 0x080d0345 in PyEval_EvalCodeEx ()
#5 0x080ce728 in PyEval_EvalFrameEx ()
#6 0x080d0345 in PyEval_EvalCodeEx ()
#7 0x080ce728 in PyEval_EvalFrameEx ()
#8 0x080cfbf5 in PyEval_EvalFrameEx ()
#9 0x080cfbf5 in PyEval_EvalFrameEx ()
#10 0x080cfbf5 in PyEval_EvalFrameEx ()
#11 0x080d0345 in PyEval_EvalCodeEx ()
#12 0x080d0557 in PyEval_EvalCode ()
#13 0x080edf8f in PyRun_FileExFlags ()
#14 0x080ee25a in PyRun_SimpleFileExFlags ()
#15 0x080595e7 in Py_Main ()
#16 0x08058962 in main ()
--
View this message in context:
http://www.nabble.com/Can%27t-stop-the-top_block-which-contain-transmit_path-with-GNU-Radio-version-11001-tp23569318p23611034.html
Sent from the GnuRadio mailing list archive at Nabble.com.