[zeromq-dev] random crashs and double disconnect events

Francis Le Bourse zno-reply-francis.lebourse at sfr-sh.fr
Thu Nov 20 13:16:04 CET 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: randcrash.tar.gz
Type: application/x-gzip
Size: 1826 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141120/3d482e7a/attachment.bin>


More information about the zeromq-dev mailing list