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

Failure in 4.2.5 when zmq_poller_destroy is called after zmq_ctx_term #3028

Closed
sigiesec opened this issue Mar 28, 2018 · 0 comments
Closed

Comments

@sigiesec
Copy link
Member

Issue description

When you have a poller, which is terminated because the zmq context was terminated, you still need to destroy it with zmq_poller_destroy. This causes an assertion.

IIRC, this worked fine in 4.2.3

Environment

  • libzmq version (commit hash if unreleased): 4.2.5
  • OS: Windows 7 64-bit

Minimal test code / Steps to reproduce the issue

See test case in sigiesec@b047e91#diff-1c46bf5e98b1e63ffd182e7078863236

What's the actual result? (include assertion message & call stack if applicable)

Assertion failed: rc == 0 (d:\nls\libzmq\src\socket_poller.cpp:41)

What's the expected result?

Executes without failure.

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

No branches or pull requests

2 participants