Skip to content

Instantly share code, notes, and snippets.

@mhkabir
Created February 13, 2017 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhkabir/73273539219f3888c6d5d1feb8a2eb71 to your computer and use it in GitHub Desktop.
Save mhkabir/73273539219f3888c6d5d1feb8a2eb71 to your computer and use it in GitHub Desktop.
segfault gazebo
Thread 1 "gzserver" received signal SIGSEGV, Segmentation fault.
0x00007fff78c92a97 in boost::detail::atomic_exchange_and_add(int*, int) ()
from /home/kabir/catkin_ws/devel/lib/libgazebo_lidar_plugin.so
(gdb) bt
#0 0x00007fff78c92a97 in boost::detail::atomic_exchange_and_add(int*, int) ()
from /home/kabir/catkin_ws/devel/lib/libgazebo_lidar_plugin.so
#1 0x00007fff78c92c07 in boost::detail::sp_counted_base::release() ()
from /home/kabir/catkin_ws/devel/lib/libgazebo_lidar_plugin.so
#2 0x00007fff78c92cf1 in boost::detail::shared_count::~shared_count() ()
from /home/kabir/catkin_ws/devel/lib/libgazebo_lidar_plugin.so
#3 0x00007fff78c93b7e in boost::shared_ptr<gazebo::event::Connection>::~shared_ptr() () from /home/kabir/catkin_ws/devel/lib/libgazebo_lidar_plugin.so
#4 0x00007fff78c968ef in boost::shared_ptr<gazebo::event::Connection>::operator=(boost::shared_ptr<gazebo::event::Connection>&&) ()
from /home/kabir/catkin_ws/devel/lib/libgazebo_lidar_plugin.so
#5 0x00007fff78c90651 in gazebo::RayPlugin::Load(std::shared_ptr<gazebo::sensors::Sensor>, std::shared_ptr<sdf::Element>) ()
from /home/kabir/catkin_ws/devel/lib/libgazebo_lidar_plugin.so
#6 0x00007ffff688495d in gazebo::sensors::Sensor::LoadPlugin (
this=this@entry=0x7fff6041fe40,
_sdf=std::shared_ptr (count 4, weak 1) 0x7fff60a46a50)
at /build/gazebo-nhSAPd/gazebo-7.0.0+dfsg/gazebo/sensors/Sensor.cc:312
#7 0x00007ffff6887458 in gazebo::sensors::Sensor::Init (
---Type <return> to continue, or q <return> to quit---
this=this@entry=0x7fff6041fe40)
at /build/gazebo-nhSAPd/gazebo-7.0.0+dfsg/gazebo/sensors/Sensor.cc:131
#8 0x00007ffff687ca50 in gazebo::sensors::RaySensor::Init (
this=0x7fff6041fe40)
at /build/gazebo-nhSAPd/gazebo-7.0.0+dfsg/gazebo/sensors/RaySensor.cc:126
#9 0x00007ffff688de88 in gazebo::sensors::SensorManager::Update (
this=this@entry=0x7ffff6ae5480 <SingletonT<gazebo::sensors::SensorManager>::GetInstance()::t>, _force=_force@entry=false)
at /build/gazebo-nhSAPd/gazebo-7.0.0+dfsg/gazebo/sensors/SensorManager.cc:125
#10 0x00007ffff6882f3a in gazebo::sensors::run_once (_force=_force@entry=false)
at /build/gazebo-nhSAPd/gazebo-7.0.0+dfsg/gazebo/sensors/SensorsIface.cc:118
#11 0x00007ffff7ba4e10 in gazebo::Server::Run (this=this@entry=0x68a730)
at /build/gazebo-nhSAPd/gazebo-7.0.0+dfsg/gazebo/Server.cc:562
#12 0x0000000000402ce8 in main (argc=10, argv=0x7fffffffd798)
at /build/gazebo-nhSAPd/gazebo-7.0.0+dfsg/gazebo/server_main.cc:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment