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

Race between calls from resolver and entering idle mode #6783

Closed
dfawley opened this issue Nov 10, 2023 · 0 comments · Fixed by #6804
Closed

Race between calls from resolver and entering idle mode #6783

dfawley opened this issue Nov 10, 2023 · 0 comments · Fixed by #6804

Comments

@dfawley
Copy link
Member

dfawley commented Nov 10, 2023

From #6778 (comment):

cc.resolverWrapper.close()

And ccr.UpdateState's callback calls updateResolverState which needs cc.mu:

cc.mu.Lock()

So if UpdateState (and all the things that schedule callbacks?) doesn't check whether the ccr is closing before scheduling callbacks, then we can deadlock.

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

Successfully merging a pull request may close this issue.

1 participant