Skip to content
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

Test 100_basic.t hangs with zeromq 4.0.3 #44

Open
cdybedahl opened this issue Nov 25, 2013 · 3 comments
Open

Test 100_basic.t hangs with zeromq 4.0.3 #44

cdybedahl opened this issue Nov 25, 2013 · 3 comments

Comments

@cdybedahl
Copy link
Contributor

It appears that version 4 of ØMQ changed its semantics to allow the case that the first test in 100_basic.t expects to fail. The result is, as far as I understand it, that the test unexpectedly succeeds and when perl tries to GC the client socket ØMQ refuses to destroy it until it's completed it's initialization. Since that never happens, the effect is to make the test hang. Adding an "else" branch that does zmq_bind() makes the test proceed (and report failure).

I don't know if this test still tests something interesting on ØMQ 4, or should just be skipped in that case.

All other tests pass with ØMQ 4.0.3

@lestrrat
Copy link
Collaborator

I don't plan on working with ZMQ (and even less with ZMQ4) in the near future, and so I'm not going to spend time debugging this code. I'm willing to review code and do release management if necessary, but please send me pull reqs if this needs to be resolved.

@cdybedahl
Copy link
Contributor Author

Fair enough. I'll get back to you when/if I actually need this, at the moment I'm just investigating options.

@nponeccop
Copy link
Contributor

The test works for me on 4.0.4 (linux i686 with perl 5.20)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants