# Problem with firdes segfault

**URL:** <https://www.ruby-forum.com/t/problem-with-firdes-segfault/230500>\
**Category:** GNU Radio\
**Created:** [June 20, 2014, 2:00pm UTC](https://www.ruby-forum.com/t/problem-with-firdes-segfault/230500 "2014-06-20T14:00:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [June 20, 2014, 2:00pm UTC](https://www.ruby-forum.com/t/problem-with-firdes-segfault/230500/1 "2014-06-20T14:00:43Z")

</div>

I had gnuradio working on my ubuntu system and was hoping I wouldnt have  
to  
clutter with something like this. I have reinstalled a couple of times  
and  
am geting this odd error.

when I run my test block I get this:  
Executing: “/home/willy/top\_block.py”

Traceback (most recent call last):  
File “/home/willy/top\_block.py”, line 13, in   
from gnuradio.filter import firdes  
File  
“/usr/local/lib/python2.7/dist-packages/gnuradio/filter/ **init**.py”,  
line  
32, in   
from filter\_swig import \*  
File  
“/usr/local/lib/python2.7/dist-packages/gnuradio/filter/filter\_swig.py”,  
line 28, in   
\_filter\_swig = swig\_import\_helper()  
File  
“/usr/local/lib/python2.7/dist-packages/gnuradio/filter/filter\_swig.py”,  
line 24, in swig\_import\_helper  
\_mod = imp.load\_module(’\_filter\_swig’, fp, pathname, description)  
ImportError: /usr/local/lib/libgnuradio-filter-3.7.4git.so.0.0.0:  
undefined  
symbol: volk\_malloc

SO I go to a python prompt:

> > > from gnuradio.filter import firdes  
> > > Segmentation fault (core dumped)

I have never see this before.

I had a working install before installing qt5 and qt creator… this  
seemed  
to have broken something. I havent gone back and completely undone that  
but I will this evening if someone doesnt save me.

## Hardware is netsdr but it doesnt look like it gets near the hardware.

Doc

Bill D.  
KXØO

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [June 20, 2014, 3:39pm UTC](https://www.ruby-forum.com/t/problem-with-firdes-segfault/230500/2 "2014-06-20T15:39:57Z")

</div>

On Fri, Jun 20, 2014 at 7:59 AM, Bill D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> ```
> from gnuradio.filter import firdes
> 
> ```
> 
> line 24, in swig\_import\_helper  
> I have never see this before.  
> KXØO

volk\_malloc was introduced in 3.7.3 and is now relied upon by many GNU  
Radio blocks and functions. What you’re seeing here suggests that you  
have  
multiple versions of GNU Radio installed and are linking against the  
wrong  
version somewhere. Make sure you only have one version of the library  
installed. Probably just clean up any installed libraries, header files,  
and Python files and re-install. Using apt-get install gnuradio will get  
you a working version.

Tom
