Benchmark_rx.py segmentation fault

Hello,

I’m using Ubuntu 14.04, gnuradio 3.7.8, USRP N210 and the latest UHD.
Everything was recently (3 days ago) updated to newest versions and
USRP’s
reflashed. I have custom flowgraphs that use the USRP N210’s that work
fine.

I decided to play around with the benchmark_tx and benchmark_rx scripts
to
see what they could do, but I’m not able to receive anything because a
segmentation fault crashes the benchmark_rx script as soon as I start
the
tx script. Even with the -v flag, I don’t get any error output other
then
‘Segmentation fault (core dumped)’.

Here is an example of the commands I use to start the scripts. I start
the
rx and then the tx.

TX: ./benchmark_tx.py -v -f 1000000000 -r 800000 --args=“addr=10.0.8.5”
-A
TX/RX --tx-gain=15

RX: *./benchmark_rx.py -v -f 1000000000 -r 800000 --args=“addr=10.0.8.4”
-A
RX2 --rx-gain=15 *

Am I doing something wrong on my end or is there a script issue?

Thanks,
Rich

Did you update GNU Radio after you updated UHD? If not, that’s what
you should do.

http://gnuradio.org/redmine/projects/gnuradio/wiki/FAQ#My-application-segfaults-immediately-It-used-to-work-and-I-didnt-change-it-What-the

M

I use pybombs to update, which automatically updates UHD first and then
GNU
Radio.

Rich

On Fri, May 1, 2015 at 10:20 AM, Martin B. [email protected]

OK, then I have no clue. If you can present a stack trace here, someone
might have a better idea.

Cheers,
Martin

I remember I had the same issue before when testing the benchmark. What
I
did to avoid the crash is to start the tx first, and then the rx. It
seems
that you are doing it in reverse order, which is reasonable but not
working
according to my test.

On Fri, May 1, 2015 at 10:51 AM, Richard B. [email protected]

I forgot to mention that I also re-cloned pybombs before doing the
update.
So to be explicit, I deleted the target and pybombs directory. I then
re-cloned pybombs and performed a new ./pybombs install gnuradio. This
recognized I had all dependencies installed via rpm and only needed to
remove and re-install uhd and gnuradio. It then did this.

As I mentioned, my custom radio flowgraph is working on this updated
system.

v/r,
Rich

On Fri, May 1, 2015 at 10:46 AM, Richard B. [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs