[Top][All Lists]

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

Re: [Discuss-gnuradio] Stable on Linux, many crashes on Windows and OS X

From: Michael Dickens
Subject: Re: [Discuss-gnuradio] Stable on Linux, many crashes on Windows and OS X
Date: Tue, 5 Aug 2014 15:13:15 -0400

Hi Stephan - You're welcome; glad you found a work-around that fixes the issue!

I'll let others speak to whether Volk is thread-safe.

I can say that the scheduler is the same no matter the OS; but, the actual 
thread scheduling can be worlds different on different OSs. Thus, executing on 
Linux might be stable at the same time as on OSX and Window would not be; it 
can happen.

Good luck with your GR work! - MLD
Michael Dickens, OSX Programmer
Ettus Research Technical Support
Email: address@hidden
Web: http://www.ettus.com

On Aug 5, 2014, at 3:02 PM, Stefan Oltmanns <address@hidden> wrote:
> I was able to fix the problem with an extraordinary ugly hack:
> I added a global mutex to GnuRadio and protect
> gr::filter::freq_xlating_fir_filter_ccf_impl::build_composite_fir with
> it, so only one instance can call
> gr::filter::kernel::fir_filter_ccc::set_taps at the time.
> Stable now on both OS X and Windows. I think it´s definitely a bug in
> Volk, or is Volk not supposed to be thread-safe?
> Can you confirm that bug?
> Why it worked on Linux before, I´m not sure, either other code in
> GnuRadio is used or the scheduler of the OS is somehow different, so
> that the problem never occurred.
> Thank you very much

reply via email to

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