You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@fuzzypixelz : I finally understand the deadlock. It's between a TaskController::wait in zenoh (Rust) and a C++ std::recursive_mutex in rmw_zenoh.
some other peer shuts down
zenoh rust receives a token undeclaration from a peer
the callback reaches into rmw_zenoh while on the RX runtime
the subscriber tries to get the context lock but the rmw_shutdown function gets the lock first and then tries to close the session
the session close hangs because it's waiting on the RX task to complete but it can't because it's waiting on the lock we just took
@yellowhatter : Okay, let me take care of this
I think we need to solve it on Rust side
to make our core more safe in terms of user-dependent deadlocks like this
The text was updated successfully, but these errors were encountered:
@fuzzypixelz : I finally understand the deadlock. It's between a
TaskController::wait
in zenoh (Rust) and a C++std::recursive_mutex
in rmw_zenoh.@yellowhatter : Okay, let me take care of this
I think we need to solve it on Rust side
to make our core more safe in terms of user-dependent deadlocks like this
The text was updated successfully, but these errors were encountered: