[zeromq-dev] zmq_term can not safely be re-entered with pgm transport
Pieter Hintjens
ph at imatix.com
Sun Jul 22 13:39:10 CEST 2012
Hi Toralf,
Thanks for spotting this. Would you like to create an issue for this
in our issue tracker?
And, if you have time, fix this and send us pull requests?
Cheers
Pieter
On Sat, Jul 21, 2012 at 5:03 PM, Toralf Wittner <tw at dtex.org> wrote:
> According to the man page of zmq_term, it should be safe to re-enter
> zmq_term if it previously returned with EINTR. This is actually not
> true if used with OpenPGM. zmq_term invokes pgm_shutdown which is
> reading and modifying the static variable pgm_ref_count and will
> return FALSE on second invocation which makes zmq_term abort with
> "Assertion failed: false (zmq.cpp:185)". This affects version 2.2 as
> well as 3.2.
>
> -- Toralf
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list