ros-simulation / gazebo_ros_pkgs

Wrappers, tools and additional API's for using ROS with Gazebo
http://wiki.ros.org/gazebo_ros_pkgs
742 stars 766 forks source link

Best practices on plugin destruction - Zombie processes #1496

Open leander2189 opened 11 months ago

leander2189 commented 11 months ago

I have a setup with gazebo and several custom plugins. When I run simulations, I systematically end up with a zombie "gzclient" process. It is most probably caused by one of my plugins, but I am not sure of how to further track down the bug.

What are the recommended practices for plugin destruction? Should I delete every ROS-Node related object? Call rclcpp::shutdown()? Individual tests close gazebo correctly.

ROS2 - Humble Gazebo 11.10.2