[zeromq-dev] [PATCH] Message atomicity problem in PUB fixed (issue 191)

Pieter Hintjens ph at imatix.com
Thu Apr 28 12:35:33 CEST 2011


On Thu, Apr 28, 2011 at 11:48 AM, Tobias Hintze <th-0mq-jeuw at thzn.de> wrote:

> is this related to #199 in 2.1 as well?

Maybe, it's unclear. I see one key difference, that #191 supposedly
only triggers when HWM is set at both sides, which you've not done in
your example.

I've tried your test cases on 2.1, with the patch for 191, and it (a)
does not crash 0MQ and (b) reports 'failed to handle stress chunk 19'.
Interestingly, it's always that same message, so it could be an error
in the test case perhaps?

I'd like to try them on 3.0 and see what happens, but they do not
build, and won't ('E: ‘zmq_device’ was not declared in this scope').

If you could make significantly simpler test cases in C, that'd be useful.

-Pieter



More information about the zeromq-dev mailing list