GithubHelp home page GithubHelp logo

Gazebo process died (terminate called after throwing an instance of 'boost::exception_detail::clone_impl...) about hector_quadrotor HOT 4 CLOSED

Jaroan avatar Jaroan commented on July 23, 2024
Gazebo process died (terminate called after throwing an instance of 'boost::exception_detail::clone_impl...)

from hector_quadrotor.

Comments (4)

Jaroan avatar Jaroan commented on July 23, 2024

This is the terminal output:

[INFO][1575524074.716475, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[ INFO] [1575524074.847943973]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1575524074.849594889]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[Err] [REST.cc:205] Error in REST request

libcurl: (51) SSL: no alternative certificate subject name matches target host name 'api.ignitionfuel.org'
[WARN] [1575524104.737353, 0.000000]: Controller Spawner couldn't find the expected controller_manager ROS interface.
[controller_spawner-5] process has finished cleanly
log file: /home/jasmine/.ros/log/0e91385e-171c-11ea-a434-f828195a1467/controller_spawner-5*.log
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::lock_error >'
what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument
Aborted (core dumped)
[gazebo_gui-2] process has died [pid 18251, exit code 134, cmd /opt/ros/melodic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/jasmine/.ros/log/0e91385e-171c-11ea-a434-f828195a1467/gazebo_gui-2.log].
log file: /home/jasmine/.ros/log/0e91385e-171c-11ea-a434-f828195a1467/gazebo_gui-2*.log

from hector_quadrotor.

StefanFabian avatar StefanFabian commented on July 23, 2024

Given that the last commit was more than a year ago, I suspect that the plugin may be incompatible with Gazebo 9.
Unfortunately, the crash message is not very specific and would require further debugging.

You could try if it works using kinetic or jade (using Ubuntu 16.04 or Ubuntu 14.04 respectively) using Gazebo 8 or 7.
Alternatively, you would have to build the plugin as Debug and attach a Debugger (I'd recommend CLion or VS Code) to get a stack trace of where exactly it's crashing.
I suspect it's a memory corruption issue based on the exception message.

from hector_quadrotor.

Jaroan avatar Jaroan commented on July 23, 2024

I guess it's the memory corruption issue. The gazebo had escalated to sigkill. I restarted my system, rerun the commands and it worked.

from hector_quadrotor.

StefanFabian avatar StefanFabian commented on July 23, 2024

Thank you for the update!
Gazebo likes to crash occasionally on startup. Restarting it usually helps.

from hector_quadrotor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.