[zeromq-dev] Test case for the "Assertion failed: nbytes == sizeof (command_t)" error.

Martin Sustrik sustrik at 250bpm.com
Sun Jun 12 11:06:17 CEST 2011

Hi Luc,

> This is a response to a request made in another thread [1] for a test
> case allowing to reproduce the "Assertion failed: nbytes == sizeof
> (command_t)" error on orderly shutdown. I should obviously have
> replied to the request directly but I only recently joined the list
> and I don't have the original message ;) Sorry about that.
> I'm posting this because I actually just had this problem in a
> personal project too and I was able to build a minimal testcase to
> demonstrate it. I'm not the original poster, and I'm not sure if the
> context is similar but here it goes:
> https://gist.github.com/1020628

I've tested it with 0MQ/3.0. What happens is that the program sleeps 
doing nothing. How am I supposed to induce the error?


More information about the zeromq-dev mailing list