actionlib
actionlib copied to clipboard
Segmentation Fault when I run client node
ROS-melodic ubuntu 18.04
I am learning actionlib, and I copy code from wiki actionlib and catkin_make success, but when I run client, the fault always at "Client client("do_dishes", true); // true -> don't need ros::spin()"
This is the information from gdb:
#0 0x00007ffff6a99f13 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x00007ffff6fa969c in boost::detail::add_new_tss_node(void const*, boost::shared_ptrboost::detail::tss_cleanup_function, void*) () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1
#2 0x00007ffff6faa5cc in boost::detail::set_tss_data(void const*, boost::shared_ptrboost::detail::tss_cleanup_function, void*, bool) () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1
#3 0x00007ffff7905216 in ros::CallbackQueue::setupTLS() () from /opt/ros/melodic/lib/libroscpp.so
#4 0x00007ffff7907f3f in ros::CallbackQueue::callAvailable(ros::WallDuration) () from /opt/ros/melodic/lib/libroscpp.so
#5 0x00005555555ec35b in actionlib::SimpleActionClient<actionlib_test::FibonacciAction_<std::allocator
Thanks.
I'm having the same issue and I have the same Ubuntu version, too.
@scopeccsky @robodyne-robotics
are you referring to actionlib/Tutorials? can you try to use actionlib_tutorials instead?
I think that wiki is to explain and share insights, maybe it is better to use actual tutorial code.