Generated by Generative AI
no
Operating System:
ubuntu 24
ROS version or commit hash:
rolling
RMW implementation (if applicable):
rmw_fastrtps_cpp
RMW Configuration (if applicable):
No response
Client library (if applicable):
rclcpp
'ros2 doctor --report' output
ros2 doctor --report
Steps to reproduce issue
- Install a recent version of rolling (sudo apt update & sudo apt upgrade)
- Install ros-rolling-demo-nodes-cpp
- On one terminal,
ros2 run demo_nodes_cpp listener
- On another terminal, run
ros2 run demo_nodes_cpp talker then after a few messages, kill with ^c
Expected behavior
Very low cpu usage on the listener
Actual behavior
100% cpu usage on the listener, as viewed in top
Additional information
I initially discovered this in docker, so I ran a few docker images. This does not occur in humble or kilted docker images.
Most interesting is rolling. osrf/ros:rolling-desktop does not show the bug. However, if you run apt update && apt upgrade there, then the bug DOES appear. So this is a fairly recent (and IMHO serious) regression.
I'm not sure it is occurring in rclcpp of course. profiling showed fast-ddr was involved in the behavior, as well of course as all of the intermediate rcl and rmw.
Generated by Generative AI
no
Operating System:
ubuntu 24ROS version or commit hash:
rolling
RMW implementation (if applicable):
rmw_fastrtps_cpp
RMW Configuration (if applicable):
No response
Client library (if applicable):
rclcpp
'ros2 doctor --report' output
ros2 doctor --report
<COPY OUTPUT HERE>Steps to reproduce issue
ros2 run demo_nodes_cpp listenerros2 run demo_nodes_cpp talkerthen after a few messages, kill with ^cExpected behavior
Very low cpu usage on the listener
Actual behavior
100% cpu usage on the listener, as viewed in
topAdditional information
I initially discovered this in docker, so I ran a few docker images. This does not occur in humble or kilted docker images.
Most interesting is rolling. osrf/ros:rolling-desktop does not show the bug. However, if you run
apt update && apt upgradethere, then the bug DOES appear. So this is a fairly recent (and IMHO serious) regression.I'm not sure it is occurring in rclcpp of course. profiling showed fast-ddr was involved in the behavior, as well of course as all of the intermediate rcl and rmw.