AssertionError: udp_zero_copy

Hi list,

I am using gnuradio 3.6.3rc0 and uhd UHD_003.005.000-26-gb65a3924. USRP
is
N210 with a GPSDO. GNU C++ version 4.6.3. Linux Ubuntu 12.04 LTS. I am
getting following error:

terminate called after throwing an instance of ‘uhd::assertion_error’
what(): AssertionError: ::send(_sock_fd, (const char *)_mem, size(),
0)
== ssize_t(size())
in virtual void udp_zero_copy_asio_msb::release()
at /home/sam/uhd/host/lib/transport/udp_zero_copy.cpp:115

What does that mean? What is the fix?

Best Regards,

Sam

Hi Ben,

On Wed, Aug 21, 2013 at 5:37 AM, Ben H. [email protected]
wrote:

Sam -

Whoa. That is bizarre. And unprecedented.

  1. Does this happen consistently?

No, it happened two times in months. But, I am concerned with this now.

  1. What command are you running that generates this issue?

curr_time = uhd_usrp_sink_0.get_time_now(). Almost 5-10 times in one
second. Just for your information, I have a GPSDO kit installed too.

  1. Can you provide us with more information regarding your network
    controller?

$ lspci | egrep -i --color ‘network|ethernet’
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network
Connection (rev 05)

  1. How did you install UHD?

I installed gnuradio and UHD using the build script

wget http://www.sbrac.org/files/build-gnuradio && chmod a+x
./build-gnuradio && ./build-gnuradio

Cheers,

Ben

Please let me know if you require any further information to solve the
issue.

Regards,
Sam