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

Humble Gazebo crash, caused by hector_gazebo_worlds #101

Open
PaddyCube opened this issue Jan 5, 2024 · 0 comments
Open

Humble Gazebo crash, caused by hector_gazebo_worlds #101

PaddyCube opened this issue Jan 5, 2024 · 0 comments

Comments

@PaddyCube
Copy link

Hi,

I'm on ROS2 Humble and was able to build the entire package without issue. I need a GPS plugin and I added it to my xacro file.
As soon as I start gazebo, it fails with this error.

[gzclient-6] gzclient: /usr/include/boost/smart_ptr/shared_ptr.hpp:728: typename boost::detail::sp_member_access<T>::type 
boost::shared_ptr<T>::operator->() const [with T = gazebo::rendering::Camera; 
typename boost::detail::sp_member_access<T>::type = gazebo::rendering::Camera*]: Assertion `px != 0' failed.
[ERROR] [gzclient-6]: process has died [pid 37293, exit code -6, cmd 'gzclient'].

This also occurs if I uncomment the hector plugin. I removed some packages from my install folder and discovered that it gets caused by the package

hector_gazebo_worlds

Right after removing this package from my install folder, gazebo runs without issue and I get GPS data.
I don't know what inside the hector_gazebo_worlds package causes this. Also I don't use any world of this package. However removing it from install or src before build, the plugins seems to work.

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