[zeromq-dev] random crashs and double disconnect events
Francis Le Bourse
zno-reply-francis.lebourse at sfr-sh.fr
Fri Nov 28 11:49:58 CET 2014
This was in fact a scheduling issue, not a zeromq issue. The number of
iothreads must be limited to one in order to process the
accepted/disconnected/... events in te required order.
Sorry for the noise.
Francis
On 11/20/2014 1:16 PM, Francis Le Bourse wrote:
> Hi,
>
> I have observed random crashs in zeromq, for example in
> mailbox::recv() at assert(ok), and double disconnect sequences on
> servers when monitoring is active
> - event_accepted(fd, addr)
> - event_disconnected(fd, addr)
> - a second event_disconnectd(same fd, addr) sometimes later.
>
> The attached test programs exhibits the issue after a few minutes. The
> most frequent error is the double disconnect but another random crash
> may occur.
> Start:
> ./tserver
> ./tclient
>
> Tested on Centos 6.5 and 6.6, zeromq-3.2.4, czmq-2.0.3
>
> Cheers,
> Francis
>
More information about the zeromq-dev
mailing list