Error with unknown segmentation fault cause

asked 2020-01-22 01:26:30 -0500

mrrius gravatar image


I got segmentation fault error but I don't know where it is. Anyone familiar with this error? I don't know what to write so if you need more information, I will update the info here. Thank you.

[Switching to Thread 0x6f7712b0 (LWP 8666)]
0x76c73a58 in ros::Publication::processPublishQueue() () from /opt/ros/kinetic/lib/
(gdb) bt
#0  0x76c73a58 in ros::Publication::processPublishQueue() () from /opt/ros/kinetic/lib/
#1  0x76c5e284 in ros::TopicManager::processPublishQueues() () from /opt/ros/kinetic/lib/
#2  0x76c6d8d0 in boost::signals2::detail::signal_impl<void (), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void ()>, boost::function<void (boost::signals2::connection const&)>, boost::signals2::mutex>::operator()() () from /opt/ros/kinetic/lib/
#3  0x76c691dc in ros::PollManager::threadFunc() () from /opt/ros/kinetic/lib/
#4  0x7691caf8 in thread_proxy () from /usr/local/lib/
#5  0x7687bfc4 in start_thread (arg=0x6f7712b0) at pthread_create.c:335
#6  0x7555ebc8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:76
   from /lib/arm-linux-gnueabihf/
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
edit retag flag offensive close merge delete


First thing to check is whether you have done any partial upgrades. There is no ABI (bw) compatibility guarantee right now for ROS .deb packages, so if you do a partial upgrade (ie: only a subset of available packages get updated), you can run into these sort of problems.

Another potential cause: upgrades of dependencies that were/are not ABI bw compatible. That would be a violation of Ubuntu/Debian policy, but it does happen.

Third potential cause: you updated ROS .deb packages (using apt or the software centre, or even a from-source build), but haven't rebuilt your workspace. Again, due to no-ABI-bw-compatibility guarantee, workspaces must be rebuilt after upgrading packages.

gvdhoorn gravatar image gvdhoorn  ( 2020-01-22 02:20:25 -0500 )edit

Hmm, I am working in a RasPi ina team so I am not really understand whether it has previously updated or not. Can you explain what does it relate to this segfault error? Thank you.

mrrius gravatar image mrrius  ( 2020-01-22 20:23:30 -0500 )edit