# AssertionError: udp\_zero\_copy

**URL:** <https://www.ruby-forum.com/t/assertionerror-udp-zero-copy/236273>\
**Category:** GNU Radio\
**Created:** [August 20, 2013, 6:16am UTC](https://www.ruby-forum.com/t/assertionerror-udp-zero-copy/236273 "2013-08-20T06:16:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alcina](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a587f6/32.png) [@alcina](https://www.ruby-forum.com/u/alcina)\
**Post date:** [August 20, 2013, 6:16am UTC](https://www.ruby-forum.com/t/assertionerror-udp-zero-copy/236273/1 "2013-08-20T06:16:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sam\_mite](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f4b2a3/32.png) [@Sam\_mite](https://www.ruby-forum.com/u/Sam_mite)\
**Post date:** [August 21, 2013, 11:33pm UTC](https://www.ruby-forum.com/t/assertionerror-udp-zero-copy/236273/2 "2013-08-21T23:33:20Z")

</div>

Hi Ben,

On Wed, Aug 21, 2013 at 5:37 AM, Ben H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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](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
