[zeromq-dev] Assertion failed: nbytes == sizeof (command_t) (mailbox.cpp:246) during orderly shutdown.
Mike Pearce
mike at kaew.be
Fri May 13 17:05:10 CEST 2011
Hi Pieter,
The fault is also with 2.1.7
Mike
On Fri, May 13, 2011 at 2:53 PM, Pieter Hintjens <pieterh at gmail.com> wrote:
> Can you retest with 2.1.7 please?
>
> -Pieter
> 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
> when
> > 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
> returns
> > 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
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110513/63a5f940/attachment.htm>
More information about the zeromq-dev
mailing list