Transportation and ROS Delete Model Service Crashes Gzserver

Issue #2631 new
Doğukan Altay created an issue

Using both transportation service or ROS service calls for deleting a model inside a sensor plugin crashes the gzserver. Does not occur in static models. Only when trying to remove a complex model.

error: “gzclient: /usr/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = gazebo::msgs::Response; typename boost::detail::sp_member_access<T>::type = gazebo::msgs::Response*]: Assertion `px != 0' failed.”

Comments (3)

  1. Louise Poubel

    Are you trying to delete the model which contains the sensor? I can see how that could be a problem.

  2. Louise Poubel

    I would recommend not deleting from within the model that's going to be deleted. Try using an external program to make the delete request, or a world plugin.

  3. Log in to comment