[USRP-users] UHD 3.8 in stable repo

Martin Braun martin.braun at ettus.com
Tue Oct 28 15:43:46 EDT 2014

On 10/28/2014 08:16 PM, John Farnsworth via USRP-users wrote:
> Hello - think I just ran into a nasty issue.  I started working with an
> X310 on Fedora 20 today rather than my normal N210s.  I had to go to the
> Ettus binary packaged UHD release to support the device, as Fedora 20 is
> still on UHD 3.6 and doesn't recognize it.  I've gotten into a catch 22
> though, as it seems the gnuradio version in the Ettus repo does not
> function with UHD 3.8.  If I install them together, python will
> segmentation fault as soon as it attempts to swig load/init
> gnuradio/uhd/_uhd_swig.so.  It doesn't look like any previous releases
> are published in the repo, so I can't do a yum downgrade to a 3.7
> version.  Is there a correct solution to this?


this does look like it's related to an incompatibility between GR and
UHD. The correct solution would be to build GNU Radio yourself, if
that's an option.

An easy way to do this is by using Pybombs:

It will do all you need with a single command (./pybombs install
gnuradio). You do need to make sure you've deinstalled all of your GNU
Radio stuff beforehand.


> $ gnuradio-companion
> Segmentation fault (core dumped)
> Core was generated by `/usr/bin/python2 /usr/bin/gnuradio-companion'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x000000000001e346 in ?? ()
> Missing separate debuginfos, use: debuginfo-install
> gnuradio- libicu-50.1.2-10.fc20.x86_64
> uhd-003.008.000_release-1.x86_64
> (gdb) bt
> #0  0x000000000001e346 in ?? ()
> #1  0x00007fe0a2e73ee0 in init_uhd_swig () from
> /usr/lib64/python2.7/site-packages/gnuradio/uhd/_uhd_swig.so
> #2  0x00007fe0c8decf09 in _PyImport_LoadDynamicModule (name=0x67c3264
> "_uhd_swig", pathname=0x67e0394
> "/usr/lib64/python2.7/site-packages/gnuradio/uhd/_uhd_swig.so",
> fp=<optimized out>)
>     at /usr/src/debug/Python-2.7.5/Python/importdl.c:53
> #3  0x00007fe0c8dead43 in load_module (name=<optimized out>,
> fp=<optimized out>, pathname=<optimized out>, type=<optimized out>,
> loader=loader at entry=0x0) at /usr/src/debug/Python-2.7.5/Python/import.c:1915
> #4  0x00007fe0c8deb976 in imp_load_module (self=<optimized out>,
> args=<optimized out>) at /usr/src/debug/Python-2.7.5/Python/import.c:3182
> #5  0x00007fe0c8dd8bc4 in call_function (oparg=<optimized out>,
> pp_stack=0x7fffcb66db20) at /usr/src/debug/Python-2.7.5/Python/ceval.c:4098
> #6  PyEval_EvalFrameEx (
>     f=f at entry=Frame 0x6571620, for file
> /usr/lib64/python2.7/site-packages/gnuradio/uhd/uhd_swig.py, line 24, in
> swig_import_helper (dirname=<function at remote 0x7fe0c9276578>,
> imp=<module at remote 0x24c2d00>, fp=<file at remote 0x6b196f0>,
> pathname='/usr/lib64/python2.7/site-packages/gnuradio/uhd/_uhd_swig.so',
> description=('.so', 'rb', 3)), throwflag=throwflag at entry=0) at
> /usr/src/debug/Python-2.7.5/Python/ceval.c:2740
> If I remove the gnuradio/uhd directory, gnuradio-companion loads fine.
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

More information about the USRP-users mailing list