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

Deadlock when undeclaring subscriber #1650

Closed
oteffahi opened this issue Dec 10, 2024 · 0 comments · Fixed by #1649
Closed

Deadlock when undeclaring subscriber #1650

oteffahi opened this issue Dec 10, 2024 · 0 comments · Fixed by #1649
Labels
bug Something isn't working

Comments

@oteffahi
Copy link
Contributor

Describe the bug

Subscriber undeclaration can currently deadlock when Zenoh is compiled with "unstable" feature, due to a write lock that is not dropped when undeclaring a remote-locality subscriber that is not the last one.

To reproduce

  1. Compile Zenoh with "unstable" feature.
  2. Declare multiple subscribers on the same keyexpr.
  3. Drop one of the subscribers: it deadlocks.

System info

Zenoh 1.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant