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
Basically, I installed ros-humble on a remote server, compiled it with address sanitizer, And when I start to boot the ros2 system and try to testing it, I get the following asan report.
It would be so nice of you to review this bug report. Thank you again for taking the time. Any suggestions or feedback you can provide would be helpful.
The text was updated successfully, but these errors were encountered:
#3 0x00007ffff6f33dce in rclcpp::SerializedMessage::reserve (this=0x7ffffffefe60,
capacity=18446744073709551615)
at /data/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/serialized_message.cpp:151
After looking at this, I'm going to suggest that we just remove the test completely. Passing -1 there is invalid (it gets promoted to a size_t anyway), so this isn't really valid.
Bug report
Required Info:
Ubuntu 22.04
source code
humble
FastRTPS
RCLCPP
Steps to reproduce issue
Basically, I installed ros-humble on a remote server, compiled it with address sanitizer, And when I start to boot the ros2 system and try to testing it, I get the following asan report.
Expected behavior
The system start without error.
Actual behavior
System emit an asan report
Additional information
the following is the asan report:
https://pastebin.com/5DgN1X74
it seems that the program fails to allocate a large amount of memory region when serialize message, in allocator.c:
the following is the gdb output:
https://pastebin.com/NtjqZBtP
It would be so nice of you to review this bug report. Thank you again for taking the time. Any suggestions or feedback you can provide would be helpful.
The text was updated successfully, but these errors were encountered: