Program received signal SIGSEGV, Segmentation fault in ros::Subscription::pubUpdate
Hi All,
I have a ROS node that works fine for several minutes and suddenly face a segmentation fault. looking through the gdb descriptions, I am not sure what cause the problem. I would appreciate any help on this.
[Switching to Thread 0x7fffbffff700 (LWP 19409)]
0x00007fffec2a02a0 in ros::Subscription::pubUpdate(std::vector<std::string, std::allocator<std::string> > const&)
() from /opt/ros/indigo/lib/libroscpp.so
(gdb) Quit
(gdb) where
#0 0x00007fffec2a02a0 in ros::Subscription::pubUpdate(std::vector<std::string, std::allocator<std::string> > const&) () from /opt/ros/indigo/lib/libroscpp.so
#1 0x00007fffec245126 in ros::TopicManager::pubUpdate(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) () from /opt/ros/indigo/lib/libroscpp.so
#2 0x00007fffec24ca44 in ros::TopicManager::pubUpdateCallback(XmlRpc::XmlRpcValue&, XmlRpc::XmlRpcValue&) ()
from /opt/ros/indigo/lib/libroscpp.so
#3 0x00007fffec23b7ba in ros::XMLRPCCallWrapper::execute(XmlRpc::XmlRpcValue&, XmlRpc::XmlRpcValue&) ()
from /opt/ros/indigo/lib/libroscpp.so
#4 0x00007fffe01ae87f in XmlRpc::XmlRpcServerConnection::executeMethod(std::string const&, XmlRpc::XmlRpcValue&, XmlRpc::XmlRpcValue&) () from /opt/ros/indigo/lib/libxmlrpcpp.so
#5 0x00007fffe01b122c in XmlRpc::XmlRpcServerConnection::executeRequest() ()
from /opt/ros/indigo/lib/libxmlrpcpp.so
#6 0x00007fffe01ae50c in XmlRpc::XmlRpcServerConnection::writeResponse() ()
from /opt/ros/indigo/lib/libxmlrpcpp.so
#7 0x00007fffe01ae6d0 in XmlRpc::XmlRpcServerConnection::handleEvent(unsigned int) ()
from /opt/ros/indigo/lib/libxmlrpcpp.so
#8 0x00007fffe01ac61e in XmlRpc::XmlRpcDispatch::work(double) () from /opt/ros/indigo/lib/libxmlrpcpp.so
#9 0x00007fffec2385aa in ros::XMLRPCManager::serverThreadFunc() () from /opt/ros/indigo/lib/libroscpp.so
#10 0x00007fffeb72ba4a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0
#11 0x00007fffeb50a184 in start_thread (arg=0x7fffbffff700) at pthread_create.c:312
#12 0x00007fffea48e37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111