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

fixes issue #1543 - Deadlock in nng_close(socket) #1616

Merged
merged 1 commit into from
Feb 5, 2023

Conversation

JoshSalitSonos
Copy link
Contributor

fixes #1543 by aborting tasks that may have been prepped, but not yet started. otherwise on a socket close the reap thread can get stuck waiting for the task to start/finish.

fixes nanomsg#1543 by aborting tasks that may have been prepped, but not yet started.
@gdamore
Copy link
Contributor

gdamore commented Sep 27, 2022

At first blush it looks good. Thanks for digging into this.. it was not easy to debug this I suspect.

I want to make sure runs are good and would like to do a little deeper analysis just be 100% certain, but I'm pretty sure this is an excellent fix.

@gdamore gdamore added the bug label Sep 27, 2022
@gdamore
Copy link
Contributor

gdamore commented Feb 5, 2023

I can't seem to restart the workflow on this. Probably because it is so old. I'm going to just merge it. If there are problems I may back it out, but I don't expect that to be needed.

@gdamore gdamore merged commit 8461c72 into nanomsg:master Feb 5, 2023
gdamore added a commit that referenced this pull request Feb 6, 2023
This reverts commit 8461c72.
@gdamore
Copy link
Contributor

gdamore commented Feb 7, 2023

So I'm going to have to back this change out it appears. The change introduces other crashes in the test suite. I'm going to see if I can better understand it.

@JoshSalitSonos
Copy link
Contributor Author

thanks @gdamore, sorry for the trouble.

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

Successfully merging this pull request may close these issues.

Deadlock in nng_close(socket)
2 participants