We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this issue is mainly for adding ticket for #4005
Required Info:
Here is our launch command:
source install/setup.bash source /opt/ros/humble/setup.bash export TURTLEBOT3_MODEL=waffle export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/opt/ros/humble/share/turtlebot3_gazebo/models ros2 launch nav2_bringup tb3_simulation_launch.py params_file:=my_nav2_params.yaml
there's only one difference between my_nav2_params.yaml and defaulted nav2_params.yaml:
my_nav2_params.yaml
nav2_params.yaml
#my_nav2_params.yaml ...... nav2_amcl ...... max_particles: -67897767946 min_particles: 500 ......
no bug occurs
face to the asan report:
================================================================= ==148826==ERROR: AddressSanitizer: calloc parameters overflow: count * size (-1829840926 * 72) cannot be represented in type size_t (thread T0) #0 0x6540c0140538 in __interceptor_calloc (/home/***/nav2_humble/install/nav2_amcl/lib/nav2_amcl/amcl+0xa9538) (BuildId: 3867e1c4deb9f2b10f5a588dd0fac0b28cac6c97) #1 0x7de11516c837 in pf_kdtree_alloc (/home/***/nav2_humble/install/nav2_amcl/lib/libpf_lib.so+0x9837) (BuildId: 5f790c1d486efe88d68d8730614daf5dc67b5248) ==148826==ABORTING
It seems that here's already a check for the negative value, however it doesn't work actually.
navigation2/nav2_amcl/src/amcl_node.cpp
Lines 1119 to 1124 in 4fa12ac
The detail of why this check doesn't work needs to be checked.
The text was updated successfully, but these errors were encountered:
further discussion about it is in #4339
Sorry, something went wrong.
No branches or pull requests
this issue is mainly for adding ticket for #4005
Bug report
Required Info:
Steps to reproduce issue
Here is our launch command:
there's only one difference between
my_nav2_params.yaml
and defaultednav2_params.yaml
:Expected behavior
no bug occurs
Actual behavior
face to the asan report:
Additional information
It seems that here's already a check for the negative value, however it doesn't work actually.
navigation2/nav2_amcl/src/amcl_node.cpp
Lines 1119 to 1124 in 4fa12ac
The detail of why this check doesn't work needs to be checked.
The text was updated successfully, but these errors were encountered: