[zeromq-dev] Segfault while actively connect/disconnect tcp sockets
Pavel Gushcha
pavimus at gmail.com
Mon Oct 11 16:06:07 CEST 2010
2010/10/11 Martin Sustrik <sustrik at 250bpm.com>:
> Hi Pavel,
>
>> I have upgraded zeromq in my system (Gentoo amd64) from some very old
>> to 2.0.9. And now i got some problems with my apps. I figured next
>> testcase:
>> 1) consumer (http://pastebin.com/BkHbYbMv) creates upstream socket and
>> binds it to tcp port
>> 2) run simultaneously 10-20(http://pastebin.com/hXWnpVhG)
>> producer(http://pastebin.com/tQxCkbtp) instances. Each instance
>> creates downstream socket, connects it to consumer, and after small
>> pause do disconnect.
>> In this scenario consumer will crash with almost 100% probability on
>> my system (laptop with 2Gb Ram, CPU Core 3i with enabled
>> hyperthreading).
>
> Can you check with current master? The whole shutdown mechanism was
> rewritten there.
>
> Thanks.
> Martin
>
In current master i don't see this problem. How you think, when and in
which release these fixes will be available?
Thanks
More information about the zeromq-dev
mailing list