|
From: | Frederick Stevens |
Subject: | Re: [Discuss-gnuradio] Segfault with volk on 32 bit AMD |
Date: | Fri, 16 Mar 2012 17:11:24 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120314 Thunderbird/11.0 |
Well, after a few restarts, here is my output. I did a fresh pull
from git because I was getting some errors with missing *.h files in
gruel/src/swig or something like that. Hope this helps! RUN_VOLK_TESTS: volk_32fc_32f_multiply_32fc_a Program received signal SIGSEGV, Segmentation fault. 0xb7edbb74 in volk_32fc_32f_multiply_32fc_a_generic (cVector=0xb7448008, aVector=0xb7768008, bVector=0xb78f8008, num_points=204600) at /home/fred/extras/gnuradio/gnuradio/volk/include/volk/volk_32fc_32f_multiply_32fc_a.h:74 74 *cPtr++ = (*aPtr++) * (*bPtr++); (gdb) bt #0 0xb7edbb74 in volk_32fc_32f_multiply_32fc_a_generic (cVector=0xb7448008, aVector=0xb7768008, bVector=0xb78f8008, num_points=204600) at /home/fred/extras/gnuradio/gnuradio/volk/include/volk/volk_32fc_32f_multiply_32fc_a.h:74 #1 0xb7ed4d68 in volk_32fc_32f_multiply_32fc_a_manual (cVector=0xb7448008, aVector=0xb7768008, bVector=0xb78f8008, num_points=204600, arch=0x8079ac4 "generic") at /home/fred/extras/gnuradio/gnuradio/build/volk/lib/volk.c:749 #2 0x08064533 in run_cast_test3 ( func=0x80595c0 <address@hidden>, buffs=..., vlen=204600, iter=999, arch=...) at /home/fred/extras/gnuradio/gnuradio/volk/lib/qa_utils.cc:182 #3 0x08062770 in run_volk_tests (desc=..., manual_func=0x80595c0 <address@hidden>, name=..., tol=9.99999975e-05, scalar=..., vlen=204600, iter=1000, best_arch_vector=0xbfffe714) at /home/fred/extras/gnuradio/gnuradio/volk/lib/qa_utils.cc:351 #4 0x0805b3d3 in main (argc=1, argv=0xbffff204) at /home/fred/extras/gnuradio/gnuradio/volk/apps/volk_profile.cc:38 (gdb) Dump of assembler code for function volk_32fc_32f_multiply_32fc_a_generic: 0xb7edbb39 <+0>: push %ebp 0xb7edbb3a <+1>: mov %esp,%ebp 0xb7edbb3c <+3>: sub $0x14,%esp 0xb7edbb3f <+6>: mov 0x8(%ebp),%eax 0xb7edbb42 <+9>: mov %eax,-0x4(%ebp) 0xb7edbb45 <+12>: mov 0xc(%ebp),%eax 0xb7edbb48 <+15>: mov %eax,-0x8(%ebp) 0xb7edbb4b <+18>: mov 0x10(%ebp),%eax 0xb7edbb4e <+21>: mov %eax,-0xc(%ebp) 0xb7edbb51 <+24>: movl $0x0,-0x10(%ebp) 0xb7edbb58 <+31>: movl $0x0,-0x10(%ebp) 0xb7edbb5f <+38>: jmp 0xb7edbbae <volk_32fc_32f_multiply_32fc_a_generic+117> 0xb7edbb61 <+40>: mov -0x8(%ebp),%eax 0xb7edbb64 <+43>: mov (%eax),%ecx 0xb7edbb66 <+45>: mov 0x4(%eax),%edx 0xb7edbb69 <+48>: mov %ecx,%eax 0xb7edbb6b <+50>: mov %eax,-0x14(%ebp) 0xb7edbb6e <+53>: flds -0x14(%ebp) 0xb7edbb71 <+56>: mov -0xc(%ebp),%eax => 0xb7edbb74 <+59>: flds (%eax) 0xb7edbb76 <+61>: fmulp %st,%st(1) 0xb7edbb78 <+63>: mov %edx,-0x14(%ebp) 0xb7edbb7b <+66>: flds -0x14(%ebp) 0xb7edbb7e <+69>: mov -0xc(%ebp),%eax 0xb7edbb81 <+72>: flds (%eax) 0xb7edbb83 <+74>: fmulp %st,%st(1) 0xb7edbb85 <+76>: fxch %st(1) 0xb7edbb87 <+78>: fstps -0x14(%ebp) 0xb7edbb8a <+81>: mov -0x14(%ebp),%ecx 0xb7edbb8d <+84>: fstps -0x14(%ebp) 0xb7edbb90 <+87>: mov -0x14(%ebp),%edx 0xb7edbb93 <+90>: mov -0x4(%ebp),%eax 0xb7edbb96 <+93>: mov %ecx,(%eax) 0xb7edbb98 <+95>: mov %edx,0x4(%eax) 0xb7edbb9b <+98>: addl $0x8,-0x4(%ebp) 0xb7edbb9f <+102>: addl $0x8,-0x8(%ebp) 0xb7edbba3 <+106>: addl $0x4,-0xc(%ebp) 0xb7edbba7 <+110>: addl $0x4,-0xc(%ebp) 0xb7edbbab <+114>: incl -0x10(%ebp) 0xb7edbbae <+117>: mov -0x10(%ebp),%eax 0xb7edbb78 <+63>: mov %edx,-0x14(%ebp) 0xb7edbb7b <+66>: flds -0x14(%ebp) 0xb7edbb7e <+69>: mov -0xc(%ebp),%eax 0xb7edbb81 <+72>: flds (%eax) 0xb7edbb83 <+74>: fmulp %st,%st(1) 0xb7edbb85 <+76>: fxch %st(1) 0xb7edbb87 <+78>: fstps -0x14(%ebp) 0xb7edbb8a <+81>: mov -0x14(%ebp),%ecx 0xb7edbb8d <+84>: fstps -0x14(%ebp) 0xb7edbb90 <+87>: mov -0x14(%ebp),%edx 0xb7edbb93 <+90>: mov -0x4(%ebp),%eax 0xb7edbb96 <+93>: mov %ecx,(%eax) 0xb7edbb98 <+95>: mov %edx,0x4(%eax) 0xb7edbb9b <+98>: addl $0x8,-0x4(%ebp) 0xb7edbb9f <+102>: addl $0x8,-0x8(%ebp) 0xb7edbba3 <+106>: addl $0x4,-0xc(%ebp) 0xb7edbba7 <+110>: addl $0x4,-0xc(%ebp) 0xb7edbbab <+114>: incl -0x10(%ebp) 0xb7edbbae <+117>: mov -0x10(%ebp),%eax 0xb7edbbb1 <+120>: cmp 0x14(%ebp),%eax 0xb7edbbb4 <+123>: jb 0xb7edbb61 <volk_32fc_32f_multiply_32fc_a_generic+40> 0xb7edbbb6 <+125>: leave 0xb7edbbb7 <+126>: ret End of assembler dump. Cheers, Fred On 03/16/2012 02:15 PM, Tom Rondeau wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |