[zeromq-dev] Assertion failed: ok (xrep.cpp:173)

Ilja Golshtein ilejncs at narod.ru
Mon Feb 28 15:19:07 CET 2011


Martin,

2.1.1 looks exactly the same - same assert and same write() behavior,
though I have to admit I did not try it in action.

I suggest we should get rid of the assert (or put   "ZMQ_HWM option action       Crash" for ZMQ_XREQ ;)  )

Thanks.


28.02.2011, 16:40, "Martin Sustrik" <sustrik at 250bpm.com>:
> Hi Ilja,
>
>>  I faced with assertion in the code
>>  ==
>>       //  Push the message into the pipe. If there's no out pipe, just drop it.
>>       if (current_out) {
>>           bool ok = current_out->write (msg_);
>>           zmq_assert (ok);
>>           if (!more_out) {
>>               current_out->flush ();
>>               current_out = NULL;
>>           }
>>       }
>>  ==
>
> That looks like v2.0.10's problem.
>
> The related code was heavily modified and fixed in 2.1, so it's quite
> probable that you won't encounted this problem with 2.1.x versions of 0MQ.
>
> Martin

-- 
Best regards,
Ilja Golshtein.



More information about the zeromq-dev mailing list