[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] segfault in volk_32fc_x2_multiply_32fc_a_sse3 usi
Re: [Discuss-gnuradio] segfault in volk_32fc_x2_multiply_32fc_a_sse3 using current master branch
Thu, 22 Mar 2012 16:20:22 -0400
On Wed, Mar 21, 2012 at 2:08 PM, Nick Foster <address@hidden> wrote:
> On Wed, Mar 21, 2012 at 10:57 AM, Ben Reynwar <address@hidden> wrote:
>> I'm seeing a segfault in volk_32fc_x2_multiply_32fc_a_sse3 and am
>> using the current master branch.
>> It occurs when I connect a gr.multiply_cc to a running flowgraph
>> (using tb.lock() and tb.unlock()). If the multiply_cc block is
>> connected before the flowgraph starts running then I don't see a
>> I have attached:
>> - a minimal python script that reproduces the problem for me.
>> - the output from gdb (backtrace and disassemble)
>> OS is 32 bit Ubuntu 11.04 beta.
>> cpu is Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
> This is an alignment error. The buffer passed to MOVAPS is not 16-byte
> aligned when the instruction is called.
Ok, I see what's going on here. The bookkeeping being done doesn't
work between locking and unlocking. Now to fix it.