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
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to