[zeromq-dev] Crash if several TCP connections are closed simultaneously
Dhammika Pathirana
dhammika at gmail.com
Tue Sep 21 08:29:15 CEST 2010
Hi Thijs,
On Mon, Sep 20, 2010 at 9:08 PM, Thijs Terlouw <thijsterlouw at gmail.com> wrote:
> From: Dhammika Pathirana <dhammika at gmail.com>
>
>> Calling pipe->read(msg) on a drained pipe returns a bad msg.
>> Following patch is against master, and is released under mit/x11 license.
>
> thanks! I have also applied the patch to my 2.0.9 version and it seems to
> work; so far no more crashes. Just as Jon and Ilja, I would also like to
> know if there is some deeper underlying issue, but at least the service
> seems stable now, that's most important.
>
Don't think there's a bigger issue, just haven't handled pipe->read()
attempts on empty pipes.
pipe->read() was returning bogus messages when it was supposed to fail.
Dhammika
More information about the zeromq-dev
mailing list