[zeromq-dev] Assertion failed: false (p2p.cpp)

Martin Sustrik sustrik at 250bpm.com
Thu May 6 19:29:13 CEST 2010


Jonathan,

Anyway, the problem is that P2P socket type is new and unfinished. IIR 
auto-reconnection is missing.

Try using other socket types.

Martin

jonathan morabito wrote:
> I'm not quite sure - compiled it in march from trunk, i believe.  in 
> usr/local/lib, it is called "libzmq.so.0.0.0".  I will grab 2.0.6, 
> recompile, and let you know if i see the same error.
> 
> Thanks!
> ~Jonathan
> 
> On Thu, May 6, 2010 at 1:16 PM, Martin Sustrik <sustrik at 250bpm.com 
> <mailto:sustrik at 250bpm.com>> wrote:
> 
>     Jonathan,
> 
>     What version is that? Doesn't look like 2.0.6 or the trunk.
> 
>     Martin
> 
>     jonathan morabito wrote:
>      > Hello:
>      >
>      > I wrote up a simple test app in which i create a context, create a
>      > socket of type ZMQ_P2P, bind it to an interface, and then attempt to
>      > call recv (blocking).  When I arrive at the receive, I get:
>      >
>      > Assertion failed: false (p2p.cpp:83)
>      > Aborted
>      >
>      > Additionally, in my other executable that creates a context,
>     creates a
>      > socket of type ZMQ_P2P, connects it, then attempts to send yields the
>      > following during send:
>      >
>      > Assertion failed: false (p2p.cpp:39)
>      > Aborted
>      >
>      > Any ideas of what would cause these?  I looked at these lines and
>     they
>      > are "zmq_assert (false);"
>      >
>      > Thanks!
>      > ~Jonathan
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > zeromq-dev mailing list
>      > zeromq-dev at lists.zeromq.org <mailto:zeromq-dev at lists.zeromq.org>
>      > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
>     _______________________________________________
>     zeromq-dev mailing list
>     zeromq-dev at lists.zeromq.org <mailto:zeromq-dev at lists.zeromq.org>
>     http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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