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
static rcl_subscription_options_t default_options;
// Must set these after declaration because they are not a compile time constants.
default_options.qos = rmw_qos_profile_default;
default_options.allocator = rcl_get_default_allocator();
default_options.rmw_subscription_options = rmw_get_default_subscription_options();
while being called from multi thread, is this data race? recently some data race being found for similar code pattern, please see ros2/rmw#377 ros2/rcutils#477
and a (maybe) error log for this
'invalid allocator, at external/ros2_rcl/rcl/src/rcl/subscription.c:219'
rcutils_reset_error() should be called after error handling to avoid this.
invalid allocator, at external/ros2_rcl/rcl/src/rcl/subscription.c:219
terminate called after throwing an instance of 'rclcpp::exceptions::RCLError'
what(): could not create subscription: invalid allocator, at external/ros2_rcl/rcl/src/rcl/subscription.c:219
Operating System:
ubuntu 22.04
Installation type:
build from source
Version or commit hash:
5.3.7
DDS implementation:
not sure
Client library (if applicable):
rclcpp
Steps to reproduce issue
this is only guess
Expected behavior
Actual behavior
Additional information
Feature request
Feature description
Implementation considerations
The text was updated successfully, but these errors were encountered:
Bug report
please note this is only guess.
during checking source code of rcl, I found
```
while being called from multi thread, is this data race? recently some data race being found for similar code pattern, please see
ros2/rmw#377
ros2/rcutils#477
and a (maybe) error log for this
Steps to reproduce issue
this is only guess
Expected behavior
Actual behavior
Additional information
Feature request
Feature description
Implementation considerations
The text was updated successfully, but these errors were encountered: