Generated by Generative AI
No
Operating System:
ubuntu 24
ROS version or commit hash:
Rolling
RMW implementation (if applicable):
No response
RMW Configuration (if applicable):
No response
Client library (if applicable):
rclcpp
'ros2 doctor --report' output
No response
Steps to reproduce issue
In rclcpp_action, when calling async_send_goal concurrently (that's public API, so I assume it to be thread-safe), there is a data race on the random number generator (RNG) that used to create the UUID of the goal. The RNG should be protected by a mutex.
Expected behavior
No data race
Actual behavior
Data race detected by ThreadSanitizer
Additional information
No response
Generated by Generative AI
No
Operating System:
ubuntu 24
ROS version or commit hash:
Rolling
RMW implementation (if applicable):
No response
RMW Configuration (if applicable):
No response
Client library (if applicable):
rclcpp
'ros2 doctor --report' output
No response
Steps to reproduce issue
In rclcpp_action, when calling
async_send_goalconcurrently (that's public API, so I assume it to be thread-safe), there is a data race on the random number generator (RNG) that used to create the UUID of the goal. The RNG should be protected by a mutex.Expected behavior
No data race
Actual behavior
Data race detected by ThreadSanitizer
Additional information
No response