Almost right, Toralf waiting on the Jira case to fix.
https://zeromq.jira.com
-if (!rc && en == EINTR) {
+if (!rc || en != EINTR) {
--
Steve-o
On 22 July 2012 10:46, Steven McCoy <[email protected]> wrote:
> Plus its a similar problem with Windows. Pre-emptive patch attached.
>
> --
> Steve-o
>
>
> On 22 July 2012 07:39, Pieter Hintjens <[email protected]> wrote:
>
>> 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 <[email protected]> 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
>> > [email protected]
>> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>> >
>> _______________________________________________
>> zeromq-dev mailing list
>> [email protected]
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev