ubi-agni / tactile_toolbox

software to handle tactile sensors in ROS
9 stars 5 forks source link

tactile_pcl_node throws an assertion on Ctrl-C #33

Closed rhaschke closed 2 years ago

rhaschke commented 2 years ago

When stopping tactile_pcl_node via Ctrl-C it raises:

terminate called after throwing an instance of 'boost::wrapexcept<boost::lock_error>'
  what():  boost: mutex lock failed in pthread_mutex_lock: Invalid argument

The corresponding mutex is MessageFilter's Signal1::mutex_ locked in removeCallback().

I didn't notice any other thread waiting on that mutex. Invalid argument indicates that the mutex has become invalid?! Why? asan doesn't report any issues.