[zeromq-dev] ZMQ_P2P, crash/assert on subscriber reconnect

Nils Olav Selåsdal nos at utel.no
Tue Apr 20 18:24:24 CEST 2010


 >> I'm testing out ZMQ_P2P (latest from git), one end bind/receiving
 >> another end connect/sending.
 >>
 >> If the sender dies and reconnects, the receiving end
 >> crashes with:
 >>
 >> Assertion failed: !inpipe && !outpipe (p2p.cpp:47)

 > Can you attach your test program? I'll have a look.

Attached is zmq_client.c and zmq_server.c  , fire up the
zmq_server, then the client - Ctrl+C the client and start
it again will cause the server to assert.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: zmq_client.c
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100420/f7c0479b/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: zmq_server.c
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100420/f7c0479b/attachment-0001.c>


More information about the zeromq-dev mailing list