[zeromq-dev] Router/Dealer lost messages

Pasi Mankinen mailing.list at manageapp.com
Sat Feb 18 01:37:46 CET 2012


>> For 3.1.x release:
>> 
>> More tests and info about  ZMQ_ROUTER to ZMQ_ROUTER bug LIBZMQ-304.
>> https://zeromq.jira.com/browse/LIBZMQ-304
> 
> Pasi, can you add this to the Jira issue?
> 
> It's possible that the removal of durable sockets (identities) is
> causing the ROUTER-ROUTER issue.
> 
> -Pieter


I did add Jira issue comment before posting to mailing list. https://zeromq.jira.com/browse/LIBZMQ-304. 

I think others have seen this bug too. This mail from Michael is very highly the same bug:

> Hi,
> 
> I am trying to do explicit message routing using Router/Dealer
> connection pattern, as documented in the zguide:
> http://zguide.zeromq.org/page:all#toc49 
> 
> But the messages never arrive at the destination.
> 
> Please find the code here:
> http://paste.lisp.org/display/127256#1
> Program output here:
> http://paste.lisp.org/display/127256#2
> 
> Cheers,
> Michael

I tested Michael's code in 2.1.11 and got output:
Starting...
Sending Routing msg
Sending Payload
Waiting for payload
Payload recved

In 3.1 it hangs forever in 'zmq_recv (dealer, &msg, 0);'.

-Pasi


More information about the zeromq-dev mailing list