ROS2 foxy FastDDS subscriber cann't receive topic when run for a while (It was normal at first) #4374
Replies: 2 comments
-
when bug happen, cannot see subcriber when use |
Beta Was this translation helpful? Give feedback.
-
Hi @CatRoad, Thanks for the detailed report and thanks for using Fast DDS. Based on what you described, you are sending a I am feeling free to move this issue to the proper forum since the version is not currently maintained. |
Beta Was this translation helpful? Give feedback.
-
Is there an already existing issue for this?
Expected behavior
receive topic 10hz normal
Current behavior
1. cannot recveive topic
2. node process (pid=4702) cpu high 160%
this picture is thread CPU load
3. dds thread try to open shm file no exist: /dev/shm/fastrtps_c8bb2f8d76e467ef
sudo strace -p 4702 -f
4. gdb attach process, thread was stay in some function like: futex_wait_cancelable() and futex_abstimed_wait_cancelable()
watch the thread backtrace (whitch thread was 3rd most cpu load)
5.watch /proc/4702/fd, this process no use /dev/shm/fastrtps_c8bb2f8d76e467ef
ls -l /proc/4702/fd*
Steps to reproduce
three are 2# step in my test case:
step 1: run all ros node
step 2: kill all ros node
my killall script like this:
sudo killall -s 9 v4l2_camera_node
sudo killall -s 9 ros2
sudo killall -s 9 _ros2_daemon
... ...
i will run all -> kill all -> run all -> kill all ... ... loop ... ...
This is an occasional problem,
error maybe happen randomly.
Fast DDS version/commit
v2.1.4
Platform/Architecture
Ubuntu Focal 20.04 arm64
Transport layer
Shared Memory Transport (SHM)
Additional context
ROS2 Foxy
XML configuration file
Relevant log output
Network traffic capture
No response
Beta Was this translation helpful? Give feedback.
All reactions