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

Martin Sustrik sustrik at 250bpm.com
Mon Apr 19 09:51:55 CEST 2010


Hi Nils,

> 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.

> Another question - is there a way for the sender to detect a receiver 
> failure ?

No. There is not. 0MQ deliberately abstracts user from the details of 
handling individual connections.

Martin



More information about the zeromq-dev mailing list