-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zmq connect aborts intermittently #2358
Comments
Have you tried the latest stable release, 4.2.2? Or building from the master branch? |
@bluca I can confirm this is fixed by #2360, we took our existing 4.1.5 code, made the changes @nexcvon made, rebuilt, and ran our program multiple times. These 3 lines:
were replaced with these:
|
Great, thanks for confirming |
Also I can confirm this was also tested for the additional line of code added in #2362 (to prevent send() from looping forever): |
Using libzmq 4.1.5, built with VS2010, win32, debug.
To reproduce:
My code creates a zmq socket and calls connect(). No Server is running.
The host address passed to connect is something like: "tcp://localhost:5111"
It aborts intermittently.
zmq::signaler_t::send() returns -1.
Call stack:
The sockets are dcreated and connected() in the main thread.
The text was updated successfully, but these errors were encountered: