discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] how to change the channel width when data is tran


From: Ling Huang
Subject: Re: [Discuss-gnuradio] how to change the channel width when data is transmitting
Date: Tue, 19 May 2009 01:11:52 -0700 (PDT)

I got the same problem which Ritesh Maheshwari got. I want to stop  top block
with transmit_path, and it hang on the tb.wait() just like Ritesh
Maheshwari.
And i'm sure that it run with gr realtime schedule. And I set the TX
amplitude to 2000 or even less. But it still hang on the tb.wait(). 
I do some gdb work, find out that there are still one thread not quit, so
the system is blocking there. But I can't figure out how to quit the thread,
and what cause the thread hang in there. Will you please help me?

---------------------------------------------gdb
backtrace---------------------------------------- 
#0  0xb7f8f430 in __kernel_vsyscall ()
#1  0xb7f49075 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7bdfe17 in boost::condition_variable::wait (this=0x8c14438, 
    address@hidden)
    at /usr/include/boost/thread/pthread/condition_variable.hpp:35
#3  0xb7a421f2 in boost::thread::join ()
   from /usr/lib/libboost_thread-mt-d.so.1.35.0
#4  0xb7a53223 in gruel::thread_group::join_all (this=0x8c14094)
    at thread_group.cc:78
#5  0xb7bd74a0 in gr_scheduler_tpb::wait (this=0x8c14090)
    at gr_scheduler_tpb.cc:94
#6  0xb7bdd7c9 in gr_top_block_impl::wait (this=0x8b73b80)
    at gr_top_block_impl.cc:124
#7  0xb7bdd080 in gr_top_block::wait (this=0x874cbc8) at gr_top_block.cc:71
#8  0xb7c5b3af in top_block_wait_unlocked (r=
        {px = 0xb29fa80c, pn = {pi_ = 0xb29fa828}})
    at gnuradio_swig_py_runtime.cc:4865
#9  0xb7c654d6 in _wrap_top_block_wait_unlocked (args=0x8bca1cc, 
    kwargs=0x8bd468c) 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 0xb7f4550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#24 0xb7e93a0e in clone () from /lib/tls/i686/cmov/libc.so.6

-- 
View this message in context: 
http://www.nabble.com/how-to-change-the-channel-width-when-data-is-transmitting-tp20471587p23611683.html
Sent from the GnuRadio mailing list archive at Nabble.com.





reply via email to

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