Robotics StackExchange | Archived questions

ROS Indigo Update leading to "instance of 'ros::serialization::StreamOverrunException'"

I did an "apt-get update && apt-get upgrade" today, and it looked like it updated the Indigo packages (someone correct me if I am wrong in assuming an update was pushed recently).

In any case, after recompiling one of my packages with no changes having been made, my node keeps crashing throwing the following exception:

terminate called after throwing an instance of 'ros::serialization::StreamOverrunException'
  what():  Buffer Overrun

Is there a bug in the update? No changes were made on my end. How do I revert to the previous version of Indigo?

Thanks, Scott

Asked by smudge on 2015-11-23 14:28:53 UTC

Comments

Have you tried a complete rebuild (ie: rm -rf devel/ build/, then catkin_make)? After a ROS update it's recommended to completely rebuild your workspace (especially with issues like the binary incompatibility in roscpp).

Asked by gvdhoorn on 2015-11-23 15:57:50 UTC

Yeah I tried that as well. I wound up just "apt-get remove"'ing indigo and then compiled it from source, which seemed to fix the problem. Strange, but thanks for the suggestion!

Asked by smudge on 2015-11-24 09:39:47 UTC

You did a complete from-source install just for this issue? That should really not have been necessary. With a normal apt-get update && apt-get upgrade there might still be some pkgs not updated on your system. A dist-upgrade is recommended then (but take care: it updates other things as well).

Asked by gvdhoorn on 2015-11-24 13:19:35 UTC

Well it only took a few minutes to build from source. I tried a dist-upgrade as well, but to no success, though like you note, it upgraded my kernel and I had to rebuild some modules there as well.

Asked by smudge on 2015-11-24 14:38:19 UTC

re: It only took a few minutes: sure, but it just seems like a work around, not a solution. The quoted error msg really seems to point to some ABI issue, which should either be located and diagnosed, or not have been introduced in the first place.

Asked by gvdhoorn on 2015-11-25 04:16:25 UTC

Answers