[zeromq-dev] Assertion failed: nbytes == sizeof (command_t) (mailbox.cpp:246) during orderly shutdown.

Martin Sustrik sustrik at 250bpm.com
Fri May 13 15:34:33 CEST 2011


Hi Mike,

> 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.

Looks like a bug. Do you have a reproducible test case?

Martin



More information about the zeromq-dev mailing list