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

"ZMQError: Interrupted system call" when used with Qt #2

Open
dovf opened this issue Aug 12, 2012 · 2 comments
Open

"ZMQError: Interrupted system call" when used with Qt #2

dovf opened this issue Aug 12, 2012 · 2 comments

Comments

@dovf
Copy link
Contributor

dovf commented Aug 12, 2012

When a signal is received while polling on a socket, the interrupt is apparently propagated up to the application, and it is the application's responsibility to handle it correctly. Qt apparently causes signals to be sent in various situations. The end is result is that jsonrpc2_zeromq basically crashes when used in conjunction with Qt.

This is basically the same issue as reported on ipython: ipython/ipython#499

@dovf
Copy link
Contributor Author

dovf commented Aug 12, 2012

#3 is a partial solution (handles the server side, which is what I encountered; probably a similar fix should be applied to the client, as well.)

@dwb
Copy link
Owner

dwb commented Mar 4, 2015

I'll most likely sort the client side soon, unless someone gets there with a PR first! Thanks for reporting.

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

2 participants