discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] tb lock and unlock with USRP2


From: Kieran Brownlees
Subject: Re: [Discuss-gnuradio] tb lock and unlock with USRP2
Date: Wed, 25 Feb 2009 12:19:06 +1300

Here is the backtrace from the main thread:

(gdb) bt
#0  0xb80ef424 in __kernel_vsyscall ()
#1  0xb80bc075 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7bb5fef in boost::thread::join ()
   from /usr/lib/libboost_thread-mt.so.1.35.0
#3  0xb7bc4223 in gruel::thread_group::join_all (this=0x8f81cd4)
    at thread_group.cc:78
#4  0xb7d48740 in gr_scheduler_tpb::wait (this=0x8f81cd0)
    at gr_scheduler_tpb.cc:94
#5  0xb7d4ea69 in gr_top_block_impl::wait (this=0x8fccde0)
    at gr_top_block_impl.cc:124
#6  0xb7d4f0ea in gr_top_block_impl::restart (this=0x8fccde0)
    at gr_top_block_impl.cc:162
#7  0xb7d4f470 in gr_top_block_impl::unlock (this=0x8fccde0)
    at gr_top_block_impl.cc:152
#8  0xb7d4e2c0 in gr_top_block::unlock (this=0x8fccd18) at gr_top_block.cc:90
#9  0xb7dcd4f1 in _wrap_gr_top_block_sptr_unlock (args=0xb7ebaccc)
    at gnuradio_swig_py_runtime.cc:14389
#10 0x0805d867 in PyObject_Call ()
#11 0x080cd502 in PyEval_EvalFrameEx ()
#12 0x080d0345 in PyEval_EvalCodeEx ()
#13 0x080ce728 in PyEval_EvalFrameEx ()
#14 0x080d0345 in PyEval_EvalCodeEx ()
---Type <return> to continue, or q <return> to quit---
#15 0x080d0557 in PyEval_EvalCode ()
#16 0x080edf8f in PyRun_FileExFlags ()
#17 0x080ee25a in PyRun_SimpleFileExFlags ()
#18 0x080595e7 in Py_Main ()
#19 0x08058962 in main ()
(gdb)

Kieran

On Wed, Feb 25, 2009 at 12:01 PM, Johnathan Corgan <address@hidden> wrote:
On Tue, Feb 24, 2009 at 2:54 PM, Kieran Brownlees <address@hidden> wrote:

> When I run this script it hangs on the second call of unlock and never makes
> it to pass.

Thanks for the minimal error test case, that helps.

Is it possible for you to use gdb from another terminal window to see
where it is hung up?

I'll test this here locally when I get a few moments, but that might
not happen soon.

Johnathan


reply via email to

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