ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Does the latest release include a rebuilt librostime.so? Here's a partial backtrace from a robot_state_publisher that after the latest update now seg faults:

Thread 1 "state_publisher" received signal SIGSEGV, Segmentation fault. 0x00007ffff6b385ea in ros::TimeBase<ros::time, ros::duration="">::operator+(ros::Duration const&) const () from /opt/ros/kinetic/lib/librostime.so
(gdb) bt
#0 0x00007ffff6b385ea in ros::TimeBase<ros::time, ros::duration="">::operator+(ros::Duration const&) const () from /opt/ros/kinetic/lib/librostime.so
#1 0x0000000000409af4 in robot_state_publisher::JointStateListener::callbackJointState(boost::shared_ptr<sensor_msgs::jointstate_<std::allocator<void> > const> const&) ()

Looking at rostime the last commit to rostime/include/ros/duration.h looks like it could be the culprit if the library-side and the caller were not both rebuilt.

click to hide/show revision 2
No.2 Revision

Does the latest release include a rebuilt librostime.so? Here's a partial backtrace from a robot_state_publisher that after the latest update now seg faults:

Thread 1 "state_publisher" received signal SIGSEGV, Segmentation fault.
0x00007ffff6b385ea in ros::TimeBase<ros::time, ros::duration="">::operator+(ros::Duration ros::TimeBase<ros::Time, ros::Duration>::operator+(ros::Duration const&) const () from /opt/ros/kinetic/lib/librostime.so
/opt/ros/kinetic/lib/librostime.so<br> (gdb) bt
#0
bt<br> \#0 0x00007ffff6b385ea in ros::TimeBase<ros::time, ros::duration="">::operator+(ros::Duration ros::TimeBase<ros::Time, ros::Duration>::operator+(ros::Duration const&) const () from /opt/ros/kinetic/lib/librostime.so
#1
/opt/ros/kinetic/lib/librostime.so<br> \#1 0x0000000000409af4 in robot_state_publisher::JointStateListener::callbackJointState(boost::shared_ptr<sensor_msgs::jointstate_<std::allocator<void> robot_state_publisher::JointStateListener::callbackJointState(boost::shared_ptr<sensor_msgs::JointState_<std::allocator<void> > const> const&) ()

()

Looking at rostime the last commit to rostime/include/ros/duration.h looks like it could be the culprit if the library-side and the caller were not both rebuilt.