-
Notifications
You must be signed in to change notification settings - Fork 33
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
RMW API calls hang in service request callback #124
Comments
@asorbini - maybe you could take a look and see what you think about the problem / proposed fix. You can see my investigation at ros2/rcl#1052 (comment) where I figured out the issue, shows stack traces. |
@asorbini could you take a look at this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System Info
Bug Description
When a service callback is registered with
rcl_service_set_on_new_request_callback
, ifrmw_take
is called within that callback, a deadlock occurs and the program hangs.Expected Behavior
Either the API allows this behavior and it works, or it is explicitly disallowed and returns an error code.
How to Reproduce
Run the test in ros2/rcl#1081
Workarounds
#123 fixes the problem from what I can tell, but I'm not 100% sure it's a good idea
The text was updated successfully, but these errors were encountered: