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

Luc Heinrich luc at honk-honk.com
Sun Jun 12 21:09:54 CEST 2011

On 12 juin 2011, at 20:01, Pieter Hintjens wrote:

> It looks like buffer exhaustion that's fixed by rebooting or setting a
> higher value.

Indeed. And I can confirm that it also works in my "real world" personal project where it all began. Awesome.

> Worth noting on the tips page, since this'll probably bite other Mac OS/X users.

Something I also noticed just before rebooting is that I had quite a bunch of zombie processes of my test scripts sticking around, test script that I use to send test ZMQ messages and that I often have to kill because something is going wrong, so my guess is that these processes were still holding up some resources and buffer space which caused the exhaustion and triggered the assertion.

Luc Heinrich - luc at honk-honk.com

More information about the zeromq-dev mailing list