[zeromq-dev] EFSM not always raised in 2.1.8

Pieter Hintjens ph at imatix.com
Sat Jul 30 13:34:19 CEST 2011


Hi Benjamin,

On Sat, Jul 30, 2011 at 1:26 AM, MinRK <benjaminrk at gmail.com> wrote:
> I upgraded to 2.1.8, and while getting ready to release pyzmq-2.1.8 I
> discovered a difference in behavior between 2.1.7 and 2.1.8.
>
> With a REQ or REP socket, making an inappropriate send or recv raises
> EFSM.  in 2.1.8, doing two in a row will *not* cause this to raise,
> whereas 2.1.7 will raise on each call. Instead, in 2.1.8 the second
> call will block.

Looks like you've found a bug. I've narrowed it down to this commit in 2.1.8:

https://github.com/zeromq/zeromq2-1/commit/2c899206691f528aa21ed52a4eb52ea7d59436cd

That was a large backport from 3.0 which fixed the various asserts
with mailboxes.

The problem doesn't affect 3.0, so I assume something went wrong in
the backport.

Could you log an issue, and maybe also add your test case to the
issues repository?

Martin: can you tell me where I should look in the code?

-
Pieter



More information about the zeromq-dev mailing list