Bug in ProcessorMotion / TimeStamp
Somehow I get this error (rarely) in long experiments.
Thread 1 "wolf_ros_node" received signal SIGSEGV, Segmentation fault.
0x00007ffff6956c40 in wolf::TimeStamp::TimeStamp(wolf::TimeStamp const&) () from /usr/local/lib/iri-algorithms/libwolfcore.so
(gdb) where
#0 0x00007ffff6956c40 in wolf::TimeStamp::TimeStamp(wolf::TimeStamp const&) () from /usr/local/lib/iri-algorithms/libwolfcore.so
#1 0x00007ffff6956eb1 in wolf::TimeStamp::operator-(double const&) const () from /usr/local/lib/iri-algorithms/libwolfcore.so
#2 0x00007ffff69477f0 in wolf::CaptureMotion::containsTimeStamp(wolf::TimeStamp const&, double) () from /usr/local/lib/iri-algorithms/libwolfcore.so
#3 0x00007ffff69f1668 in wolf::ProcessorMotion::findCaptureContainingTimeStamp(wolf::TimeStamp const&) const ()
from /usr/local/lib/iri-algorithms/libwolfcore.so
#4 0x00007ffff69f399a in wolf::ProcessorMotion::getState(wolf::TimeStamp const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const () from /usr/local/lib/iri-algorithms/libwolfcore.so
#5 0x00007ffff69a1ee0 in wolf::Problem::getState(wolf::TimeStamp const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const () from /usr/local/lib/iri-algorithms/libwolfcore.so
#6 0x00007ffff6a215d1 in wolf::ProcessorTracker::processCapture(std::shared_ptr<wolf::CaptureBase>) ()
from /usr/local/lib/iri-algorithms/libwolfcore.so
#7 0x00007ffff69d554e in wolf::ProcessorBase::captureCallback(std::shared_ptr<wolf::CaptureBase>) ()
from /usr/local/lib/iri-algorithms/libwolfcore.so
#8 0x00007ffff6a2f81b in wolf::SensorBase::process(std::shared_ptr<wolf::CaptureBase>) () from /usr/local/lib/iri-algorithms/libwolfcore.so
#9 0x00007ffff6933ba7 in wolf::CaptureBase::process() () from /usr/local/lib/iri-algorithms/libwolfcore.so
#10 0x00007fffe5b11c2f in wolf::SubscriberGnssReceiver::createCaptureAndProcess(ros::Time const&) ()
from /home/jvallve/code/iri_ws/src/wolf_ros_node/../../devel/lib//libsubscriber_wolf_ros_gnss.so
#11 0x00007fffe5b2bde9 in wolf::SubscriberGnssUblox::callback(std_msgs::UInt8MultiArray_<std::allocator<void> > const&) ()
from /home/jvallve/code/iri_ws/src/wolf_ros_node/../../devel/lib//libsubscriber_wolf_ros_gnss.so
#12 0x00007fffe5b3028c in boost::_mfi::mf1<void, wolf::SubscriberGnssUblox, std_msgs::UInt8MultiArray_<std::allocator<void> > const&>::operator()(wolf::SubscriberGnssUblox*, std_msgs::UInt8MultiArray_<std::allocator<void> > const&) const ()
from /home/jvallve/code/iri_ws/src/wolf_ros_node/../../devel/lib//libsubscriber_wolf_ros_gnss.so
#13 0x00007fffe5b2f9f4 in void boost::_bi::list2<boost::_bi::value<wolf::SubscriberGnssUblox*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, wolf::SubscriberGnssUblox, std_msgs::UInt8MultiArray_<std::allocator<void> > const&>, boost::_bi::list1<std_msgs::UInt8MultiArray_<std::allocator<void> > const&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, wolf::SubscriberGnssUblox, std_msgs::UInt8MultiArray_<std::allocator<void> > const&>&, boost::_bi::list1<std_msgs::UInt8MultiArray_<std::allocator<void> > const&>&, int) ()
from /home/jvallve/code/iri_ws/src/wolf_ros_node/../../devel/lib//libsubscriber_wolf_ros_gnss.so
#14 0x00007fffe5b2f2d7 in void boost::_bi::bind_t<void, boost::_mfi::mf1<void, wolf::SubscriberGnssUblox, std_msgs::UInt8MultiArray_<std::allocator<void> > const&>, boost::_bi::list2<boost::_bi::value<wolf::SubscriberGnssUblox*>, boost::arg<1> > >::operator()<std_msgs::UInt8MultiArray_<std::allocator<void> > const&>(std_msgs::UInt8MultiArray_<std::allocator<void> > const&) ()
from /home/jvallve/code/iri_ws/src/wolf_ros_node/../../devel/lib//libsubscriber_wolf_ros_gnss.so
#15 0x00007fffe5b2ea4d in boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, wolf::SubscriberGnssUblox, std_msgs::UInt8MultiArray_<std::allocator<void> > const&>, boost::_bi::list2<boost::_bi::value<wolf::SubscriberGnssUblox*>, boost::arg<1> > >, void, std_msgs::UInt8MultiArray_<std::allocator<void> > const&>::invoke(boost::detail::function::function_buffer&, std_msgs::UInt8MultiArray_<std::allocator<void> > const&) () from /home/jvallve/code/iri_ws/src/wolf_ros_node/../../devel/lib//libsubscriber_wolf_ros_gnss.so
#16 0x00007fffe5b31a2f in boost::function1<void, std_msgs::UInt8MultiArray_<std::allocator<void> > const&>::operator()(std_msgs::UInt8MultiArray_<std::allocator<void> > const&) const () from /home/jvallve/code/iri_ws/src/wolf_ros_node/../../devel/lib//libsubscriber_wolf_ros_gnss.so
#17 0x00007fffe5b3140d in ros::SubscriptionCallbackHelperT<std_msgs::UInt8MultiArray_<std::allocator<void> > const&, void>::call(ros::SubscriptionCallbackHelperCallParams&) () from /home/jvallve/code/iri_ws/src/wolf_ros_node/../../devel/lib//libsubscriber_wolf_ros_gnss.so
#18 0x00007ffff7970c8d in ros::SubscriptionQueue::call() () from /opt/ros/kinetic/lib/libroscpp.so
#19 0x00007ffff79169e0 in ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*) () from /opt/ros/kinetic/lib/libroscpp.so
#20 0x00007ffff791841b in ros::CallbackQueue::callAvailable(ros::WallDuration) () from /opt/ros/kinetic/lib/libroscpp.so
#21 0x00007ffff7959de5 in ros::spinOnce() () from /opt/ros/kinetic/lib/libroscpp.so
#22 0x00000000004fb94f in main ()
(gdb) quit