[zeromq-dev] Assertion failed

Emmanuel TAUREL taurel at esrf.fr
Thu Apr 8 09:45:04 CEST 2010


Hi Martin,

First of all, thank's very much for your answer.
What I find strange is that I had 5 subscribers on the same host (using 
epgm, the same multicast group and port number). For 4 of them, 
everything was fine but
I had this assertion for the fifth one.
If the problem is related to my network, the five processes should have 
been impacted, no?

Do I miss something?

Regards

Emmanuel Taurel

On 07/04/2010 18:20, Martin Sustrik wrote:
> Hi Emmanuel,
>
>    
>> I am currently testing ZeroMQ 2.0.6 running on two Ubuntu 9.04 box.
>> I am using  PUB/SUB with the epgm protocol. The publisher is written in
>> C and the subscriber in C++.
>>
>> My subscriber is basically a loop around the ZMQ socket recv() meyhod.
>> The problem is that I have from time to time assertion failure :
>>
>> Assertion failed: it != peers.end () (pgm_receiver.cpp:161)
>> Aborted
>>      
> The problem was alrady reported here:
>
> http://github.com/sustrik/zeromq2/issues#issue/11
>
>    
>> I am not able to say precisely when it happens. It is not always the
>> same case.
>> Last time I saw it, it was in the middle of one of my test when the
>> publisher sends 100 messages of 1 MByte each (as fast as it can) to 5
>> different subscribers running on another host. It happened on one of my
>> subscriber after it has received 36 messages.
>>
>> Is there someone in this list also experimenting this problem!
>> If yes, is there any solution?
>>      
> In overall, the problem should happen only when you overload the
> system/network. Try using a transfer rate that your network&  switch is
> able to keep with.
>
> Martin
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>    





More information about the zeromq-dev mailing list