discuss-gnuradio
[Top][All Lists]
Advanced

[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: Mon, 18 May 2009 19:33:53 -0700 (PDT)

sorry, I'm not familiar with gdb, I can't get many useful infomation from
that. 
The topblock start 6 threads (exept the mainloop) . After tb.stop(), five
threads has exited, but leaving one. 
Here is the gdb infomation after tb.stop()
------------------------------------gdb-------------------------------------------------------------
(gdb) bt
#0  0xb7f87430 in __kernel_vsyscall ()
#1  0xb7f41075 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7bd7e17 in boost::condition_variable::wait (this=0x97285f0, 
    address@hidden)
    at /usr/include/boost/thread/pthread/condition_variable.hpp:35
#3  0xb7a3a1f2 in boost::thread::join ()
   from /usr/lib/libboost_thread-mt-d.so.1.35.0
#4  0xb7a4b223 in gruel::thread_group::join_all (this=0x9728224)
    at thread_group.cc:78
#5  0xb7bcf4a0 in gr_scheduler_tpb::wait (this=0x9728220)
    at gr_scheduler_tpb.cc:94
#6  0xb7bd57c9 in gr_top_block_impl::wait (this=0x9684a18)
    at gr_top_block_impl.cc:124
#7  0xb7bd5080 in gr_top_block::wait (this=0x96aab50) at gr_top_block.cc:71
#8  0xb7bd5168 in ~gr_top_block (this=0x96aab50) at gr_top_block.cc:51
#9  0xb7c6fc58 in boost::detail::sp_counted_impl_p<gr_hier_block2>::dispose
(
    this=0x97095c0) at /usr/include/boost/checked_delete.hpp:34
#10 0xb7c5bd30 in _wrap_delete_gr_top_block_sptr (args=0xb595ea6c)
    at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:145
#11 0x08062646 in PyObject_CallFunctionObjArgs ()
#12 0xb7c471b9 in PySwigObject_dealloc (v=0xb5b9de60)
    at gnuradio_swig_py_runtime.cc:1452
#13 0x08088e54 in ?? ()
#14 0x0809ff8b in ?? ()
#15 0x08088e54 in ?? ()
#16 0x0809ff8b in ?? ()
#17 0x081161cf in ?? ()
#18 0x080cfc13 in PyEval_EvalFrameEx ()
#19 0x080d0345 in PyEval_EvalCodeEx ()
#20 0x080d0557 in PyEval_EvalCode ()
#21 0x080edf8f in PyRun_FileExFlags ()
#22 0x080ee25a in PyRun_SimpleFileExFlags ()
#23 0x080595e7 in Py_Main ()
#24 0x08058962 in main ()

Eric Blossom wrote:
> 
> 
> No.
> 
> You can find out where it's hung by running gdb.
> 
> Eric
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can%27t-stop-the-top_block-which-contain-transmit_path-with-GNU-Radio-version-11001-tp23569318p23608703.html
Sent from the GnuRadio mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]