-
Notifications
You must be signed in to change notification settings - Fork 163
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
Expiring multiple action results causes crash #926
Comments
I see this is the problem in theory and logically, but cannot make it happen. |
I think I got this issue on ubuntu 20.04 too. |
@clalancette Yes, with applying #931, it was fixed. |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Required Info:
Steps to reproduce issue
Start the example fibonacci action server:
ros2 run action_tutorials_cpp fibonacci_action_server
Send 2 goals to the server in quick succession:
ros2 action send_goal /fibonacci action_tutorials_interfaces/action/Fibonacci "{}"
Wait 15 minutes (or however long the result_timeout for the action server is set for).
Expected behavior
Action Server continues running
Actual behavior
Action Server crashes with exception code
0xc0000409
Additional information
Sending one goal, waiting for the result to expire, and then sending another does not cause a crash, only when there are multiple cached goals does a crash occur. To avoid a 15 minute wait before a crash, you can set the
result_timeout.nanoseconds
field of anrcl_action_server_options_t
object and pass that to therclcpp_action::create_server
function.The text was updated successfully, but these errors were encountered: