[zeromq-dev] Error: Assertion failed: check () (msg.cpp:191)

Nishant Mittal nmittal at rblt.com
Fri Jan 11 15:55:26 CET 2013


nevermind, found the issue.. essentially this amounts to sending a msg
twice which is not allowed.

thanks
Nishant


On Fri, Jan 11, 2013 at 9:39 AM, Nishant Mittal <nmittal at rblt.com> wrote:

> Hi All,
> my code is receiving msgs on a router socket and storing them on a
> vector<zmq_msg_t *> zmsgs;
> this is a cache that throttles msgs. messages are then picked up from this
> queue and sent to a dealer socket (that has workers connected to it)...
> this works fine. but every now and then a response is not received from the
> dealer (worker) and I have to send a error msg through the router back.
>
> so I try to pick the first 2 parts of each 3 part message (1st is the
> address, 2nd is the empty frame).. and add a 3rd part which is the error
> message.
>
> thats when i get the above error. does anyone know what maybe going on?
>
> thanks
> Nishant
>



-- 
*Nishant Mittal*
Director, Product Development
*Rosenblatt Securities Inc*.
20 Broad Street
New York, NY 10005

Direct: 212-607-3159
Mobile: 646-504-2629
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130111/deb2906e/attachment.htm>


More information about the zeromq-dev mailing list