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

Nishant Mittal nmittal at rblt.com
Fri Jan 11 15:39:54 CET 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130111/d0b65b61/attachment.htm>


More information about the zeromq-dev mailing list