[USRP-users] UHD 3.8 in stable repo

John Farnsworth si+usrp at rfc805.net
Tue Oct 28 15:16:05 EDT 2014


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?

$ 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-3.7.2.2-1.x86_64 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20141028/68a312a7/attachment-0002.html>


More information about the USRP-users mailing list