discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] hanging on top_block.stop


From: Ben Reynwar
Subject: Re: [Discuss-gnuradio] hanging on top_block.stop
Date: Tue, 7 Aug 2012 15:12:42 -0700

Upgrading to boost 1.48 fixed the problem.
Thanks again,
Ben

On Tue, Aug 7, 2012 at 2:43 PM, Ben Reynwar <address@hidden> wrote:
> Great, thanks.  I'm using boost 1.46.1 so hopefully this will go away
> once I upgrade to 1.47.
>
> On Tue, Aug 7, 2012 at 2:20 PM, Don Ward <address@hidden> wrote:
>> You don't say what OS or version of boost you are using, but it sounds like
>> an old problem. Try looking at
>> http://lists.gnu.org/archive/html/discuss-gnuradio/2011-12/msg00098.html in
>> the mailing list archives.
>>
>> -- Don W.
>>
>>
>> ----- Original Message ----- From: "Ben Reynwar" <address@hidden>
>> To: "discuss-gnuradio Discussion Group" <address@hidden>
>> Sent: Tuesday, August 07, 2012 1:31 PM
>> Subject: [Discuss-gnuradio] hanging on top_block.stop
>>
>>
>>> Hi all,
>>>
>>> The following script hangs for me about 1 time in 10 on the call to
>>> top_block.stop.
>>> Drilling in a bit, it appears to get stuck on a call to 'interrupt' of
>>> a boost::thread instance on line 91 of gruel/src/lib/thread_group.cc.
>>> Has anyone else had this problem?
>>>
>>> Cheers,
>>> Ben
>>>
>>> import time
>>> from gnuradio import gr
>>>
>>> def execute():
>>>    tb = gr.top_block()
>>>    src = gr.vector_source_c([1], True)
>>>    snk = gr.null_sink(gr.sizeof_gr_complex)
>>>    tb.connect(src, snk)
>>>    tb.start()
>>>    time.sleep(0.01)
>>>    print("**********About to Stop***********")
>>>    tb.stop()
>>>    print("**********Stopped***********")
>>>
>>> if __name__ == "__main__":
>>>    execute()
>>>
>>> _______________________________________________
>>> Discuss-gnuradio mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>



reply via email to

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