Skip to content

Instantly share code, notes, and snippets.

@scpeters
Created May 23, 2017 18:27
Show Gist options
  • Save scpeters/87c9a8c81e0a279ffe7747727a51e9c9 to your computer and use it in GitHub Desktop.
Save scpeters/87c9a8c81e0a279ffe7747727a51e9c9 to your computer and use it in GitHub Desktop.
gazebo_ros_api_plugin backtrace related to xml parsing
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffbcff9700 (LWP 14491)]
0x00007ffff3b923a9 in TiXmlNode::FirstChild(char const*) const () from /usr/lib/x86_64-linux-gnu/libtinyxml.so.2.6.2
(gdb) bt
#0 0x00007ffff3b923a9 in TiXmlNode::FirstChild(char const*) const () from /usr/lib/x86_64-linux-gnu/libtinyxml.so.2.6.2
#1 0x00007ffff3b925ae in TiXmlNode::FirstChildElement(char const*) const () from /usr/lib/x86_64-linux-gnu/libtinyxml.so.2.6.2
Attaching native thread 14620 with priority 40 to JVM
[ INFO] [1495563300.967844662]: [INFO] (ValkyrieRosControlController.java:307): Running with blocking synchronous execution between estimator and controller
#2 0x00007fffd16ee843 in TiXmlNode::FirstChildElement(char const*) () from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#3 0x00007fffd16ec131 in gazebo::GazeboRosApiPlugin::walkChildAddRobotNamespace(TiXmlNode*) () from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#4 0x00007fffd16ec21e in gazebo::GazeboRosApiPlugin::walkChildAddRobotNamespace(TiXmlNode*) () from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#5 0x00007fffd16ddb7a in gazebo::GazeboRosApiPlugin::spawnSDFModel(gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&) () from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#6 0x00007fffd16dcee6 in gazebo::GazeboRosApiPlugin::spawnURDFModel(gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&) () from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#7 0x00007fffd174dd26 in boost::_mfi::mf2<bool, gazebo::GazeboRosApiPlugin, gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&>::operator()(gazebo::GazeboRosApiPlugin*, gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&) const () from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#8 0x00007fffd17422df in bool boost::_bi::list3<boost::_bi::value<gazebo::GazeboRosApiPlugin*>, boost::arg<1>, boost::arg<2> >::operator()<bool, boost::_mfi::mf2<bool, gazebo::GazeboRosApiPlugin, gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&>, boost::_bi::list2<gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&> >(boost::_bi::type<bool>, boost::_mfi::mf2<bool, gazebo::GazeboRosApiPlugin, gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&>&, boost::_bi::list2<gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&>&, long) () from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#9 0x00007fffd173690c in bool boost::_bi::bind_t<bool, boost::_mfi::mf2<bool, gazebo::GazeboRosApiPlugin, gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&>, boost::_bi::list3<boost::_bi::value<gazebo::GazeboRosApiPlugin*>, boost::arg<1>, boost::arg<2> > >::operator()<gazebo_msgs::SpawnModelRequest_<std::allocator<void> >, gazebo_msgs::SpawnModelResponse_<std::allocator<void> > >(gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&) () from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#10 0x00007fffd172aca7 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::_mfi::mf2<bool, gazebo::GazeboRosApiPlugin, gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&>, boost::_bi::list3<boost::_bi::value<gazebo::GazeboRosApiPlugin*>, boost::arg<1>, boost::arg<2> > >, bool, gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&>::invoke(boost::detail::function::function_buffer&, gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&) () from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#11 0x00007fffd17887de in boost::function2<bool, gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&>::operator()(gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&) const () from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#12 0x00007fffd1784983 in ros::ServiceSpec<gazebo_msgs::SpawnModelRequest_<std::allocator<void> >, gazebo_msgs::SpawnModelResponse_<std::allocator<void> > >::call(boost::function<bool (gazebo_msgs::SpawnModelRequest_<std::allocator<void> >&, gazebo_msgs::SpawnModelResponse_<std::allocator<void> >&)> const&, ros::ServiceSpecCallParams<gazebo_msgs::SpawnModelRequest_<std::allocator<void> >, gazebo_msgs::SpawnModelResponse_<std::allocator<void> > >&) ()
from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#13 0x00007fffd177ac0c in ros::ServiceCallbackHelperT<ros::ServiceSpec<gazebo_msgs::SpawnModelRequest_<std::allocator<void> >, gazebo_msgs::SpawnModelResponse_<std::allocator<void> > > >::call(ros::ServiceCallbackHelperCallParams&) ()
from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
#14 0x00007fffd11bca8a in ros::ServiceCallback::call() () from /opt/ros/indigo/lib/libroscpp.so
#15 0x00007fffd11ff107 in ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*) () from /opt/ros/indigo/lib/libroscpp.so
#16 0x00007fffd11ffc53 in ros::CallbackQueue::callAvailable(ros::WallDuration) () from /opt/ros/indigo/lib/libroscpp.so
#17 0x00007fffd16d78ee in gazebo::GazeboRosApiPlugin::gazeboQueueThread() () from /home/docker/ws/install/lib/libgazebo_ros_api_plugin.so
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment