[zeromq-dev] Assertion failed: nbytes == sizeof (command_t) (mailbox.cpp:246) during orderly shutdown.
mike at kaew.be
Fri May 13 17:05:10 CEST 2011
The fault is also with 2.1.7
On Fri, May 13, 2011 at 2:53 PM, Pieter Hintjens <pieterh at gmail.com> wrote:
> Can you retest with 2.1.7 please?
> On 13 May 2011 14:45, "Mike Pearce" <mike at kaew.be> wrote:
> > The linux man page describes that the socket recv command will return 0
> > the peer has performed an orderly shutdown. Ref(
> > http://linux.die.net/man/2/recv)
> > ZMQ v2.1.6 is throwing an assertion
> > "Assertion failed: nbytes == sizeof (command_t) (mailbox.cpp:246)"
> > I added some debug and the assert occurs because the recv function
> > 0. The assert triggers because 0<>24 (sizeof(command_t)). This seems to
> be a
> > bug in ZMQ that it throws an assertion during an orderly shut down.
> > This fault occurred using Ubuntu with Linux kernel 2.6.35
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev