Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault if mimicked joint is not found #114

Open
christophfroehlich opened this issue Mar 1, 2022 · 0 comments
Open

Segmentation fault if mimicked joint is not found #114

christophfroehlich opened this issue Mar 1, 2022 · 0 comments

Comments

@christophfroehlich
Copy link
Contributor

Just tried (by accident) what happens if a referenced joint is not found: the plugin generates a segmentation fault

[gzserver-1] Segmentation fault (core dumped)

without any further hints in the console nor with the gazebo log files

(1646065923 267684426) [Err] [Model.cc:1157] Exception occured in the Load function of plugin with name[gazebo_ros2_control] and filename[libgazebo_ros2_control.so]. This plugin will not run.
(1646065923 267702460) Exception occured in the Load function of plugin with name[gazebo_ros2_control] and filename[libgazebo_ros2_control.so]. This plugin will not run.

@destogl Where should this error message appear?

https://github.com/ros-simulation/gazebo_ros2_control/blob/698d01381423cea3232a78ab0ada7eb12cd6d40b/gazebo_ros2_control/src/gazebo_system.cpp#L180-L183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant