Open rotu opened 4 years ago
We are experiencing similar problems with Opensplice DDS, on Ubuntu 18.04.
0.7.3-1bionic.20200318.045454
)6.9.190705+osrf1-1~bionic
)0.7.10-1bionic.20200318.040148
We are experiencing segmentation fault
when we try to destroy the server or the client. We tried a post mortem debug of the core dumped, but we have a very short bt with no useful information inside.
If we destroy an ActionServer
explicitly, we see a segmenetation fault. If we leave it and let the node and rclpy to destroy it at shutdown there is no error.
Is there any progress on this? We are experiencing the same issue and it is quite misleading for people not knowing about it, thinking they did something wrong.
In comparison, service clients and servers are destroyed on a node's destroy_node() call, avoiding this issue.
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
Destroying the action client should happen gracefully.
Actual behavior
An error is thrown when the action client or the action server is garbage collected:
http://build.ros2.org/view/Fci/job/Fci__nightly-cyclonedds_ubuntu_focal_amd64/lastBuild/consoleText
Additional information
We should probably not be using
__del__
at all, since it executes when the object is garbage-collected, which happens at an indeterminate time. It should probably instead be cleaned up when the parent node terminates.