[zeromq-dev] Segfault while actively connect/disconnect tcp sockets
Pavel Gushcha
pavimus at gmail.com
Mon Oct 11 10:57:04 CEST 2010
Hi!
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).
Thanks for help!
More information about the zeromq-dev
mailing list