[zeromq-dev] [4.2]assertion failure error

Maurice Barnum msb at yahoo-inc.com
Fri Sep 18 18:41:10 CEST 2015


from http://api.zeromq.org/4-0:zmq-msg-send
"The zmq_msg_t structure passed to zmq_msg_send() is nullified during the call. If you want to send the same message to multiple sockets you have to copy it using (e.g. using zmq_msg_copy())." 
 


     On Friday, September 18, 2015 7:27 AM, Aravind Sethuraman <arvinj1 at gmail.com> wrote:
   

 in future i will cut and paste the sample code. but in general this was memory mismanagement at application level on send and receive size. I was just curious on the message assertion failure reported and i was trying to resend the same messages which should not have been an issue imho.

thanks
On Thu, Sep 17, 2015 at 2:57 PM, Doron Somech <somdoron at gmail.com> wrote:

Can you make an example?On Sep 17, 2015 12:44 PM, "Aravind Sethuraman" <arvinj1 at gmail.com> wrote:

in hte SERVER socket, when i send a data via zmq_sendi keep seeing Assertion failed: check () (src/msg.cpp:320)
any idea why? am i sendign data in wrong format? 

_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev



_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev




_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150918/cbeebc83/attachment.htm>


More information about the zeromq-dev mailing list