Discussion:
[USRP-users] uhd_fft 003.007.002 core dumps
Mike Willis
2014-08-15 13:07:02 UTC
Permalink
I have just updated gnuradio including the latest uhd via pybombs in
ubuntu 14.04lts. All is working except uhd which simply generates a
core dump.

uhd_find_devices and uhd_usrp_probe both work as expected. uhd_fft
just reports segmentation fault and flowgraphs using uhd no longer
work. Previously all was OK. Any suggestions as to what to look for
here?

dmesg reports [ 3309.999145] uhd_fft[6816]: segfault at 1e406 ip
000000000001e406 sp 00007fff0992f678 error 14 in
python2.7[400000+2bd000]


Mike
Marcus Müller
2014-08-15 13:25:36 UTC
Permalink
Hi Mike!
hm, this sounds a lot like there is not much wrong with UHD but there is
some version mixup with different UHD binary versions.
Have you made sure your GNU Radio is built with the headers and linked
against the same libraries that your system loads when loading the UHD
shared library?

first, check the version of your uhd_find_devices (it's the first line
of output).
Is that the same version you're expecting?
Find out where that version of the library is residing, by running "ldd
$(which uhd_find_devices)".
Now compare that path to the path you find when going into the
pybombs/src/gnuradio/build/ directory,
and looking for UHD_LIBRARY_DIRS in cmakecache.txt.

Greetings,
Marcus
Post by Mike Willis
I have just updated gnuradio including the latest uhd via pybombs in
ubuntu 14.04lts. All is working except uhd which simply generates a
core dump.
uhd_find_devices and uhd_usrp_probe both work as expected. uhd_fft
just reports segmentation fault and flowgraphs using uhd no longer
work. Previously all was OK. Any suggestions as to what to look for
here?
dmesg reports [ 3309.999145] uhd_fft[6816]: segfault at 1e406 ip
000000000001e406 sp 00007fff0992f678 error 14 in
python2.7[400000+2bd000]
Mike
_______________________________________________
USRP-users mailing list
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Mike
2014-08-15 15:46:31 UTC
Permalink
That might be it - I found an older version of the library in /usr/lib
rather than /usr/local/lib where it was rebult to and cmakecache was
pointing to /usr/lib - I deleted the older libs and rebuilt uhd. As
expected, that didn't fix this so I am now rebuilding gnuradio.

I don't recall how they got there, I know I installed a package a while
ago, but pybombs had just built uhd and gnuradio so it ought to know
which one it had built to link against that, I can imagine there are
plenty of cases where older libraries are still needed.

Mike

Loading...