ROS system randomly crashes and gdb says corrupt stack in callback queue
My ROS system randomly crashes and I decided to run gdb at all times to catch it next time it happens.
I caught it and this is the output from gdb:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x6deff420 (LWP 25232)]
0x0003d210 in boost::detail::sp_counted_base::release() ()
(gdb) bt
#0 0x0003d210 in boost::detail::sp_counted_base::release() ()
#1 0x76409570 in ros::SubscriptionQueue::call() () from /opt/ros/indigo/lib/libroscpp.so
#2 0x763baa84 in ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*) () from /opt/ros/indigo/lib/libroscpp.so
#3 0x6defec5c in ?? ()
#4 0x6defec5c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Obviously that is not much help! Does anyone have an idea how I can go about debugging this? Point me in the right direction? Thanks
I face the same error here. Any solution?