This concerns ZeroMQ 3, not ZeroMQ 2, my bad. Here is a simpler way to reproduce: Compile and execute: http://pastie.org/pastes/4808466/text Run this Perl one-liner: http://pastie.org/pastes/4796927/text Tested with git version f0608a75bc0728030fad35d501ca73a4ffc96366 Clément