rviz crashing after apt update
When running the fixedtfbroadcaster.py script within the turtle_tf package, I get the following error from the rviz terminal window:
terminate called after throwing an instance of "std::runtime_error". what(): Time is out of 32-bit range Aborted (core dumped)
I would attach a screenshot, but I cannot as I am new to ROS answers. It was running before, and the only thing that has changed is that I have updated my system (sudo apt-get update). May someone please advise as to what to specifically troubleshoot?
My system info:
NAME="Ubuntu" VERSION="16.04.5 LTS (Xenial Xerus)" ID=ubuntu IDLIKE=debian PRETTYNAME="Ubuntu 16.04.5 LTS" VERSIONID="16.04" HOMEURL="http://www.ubuntu.com/" SUPPORTURL="http://help.ubuntu.com/" BUGREPORTURL="http://bugs.launchpad.net/ubuntu/" VERSIONCODENAME=xenial UBUNTU_CODENAME=xenial
Linux version 4.15.0-36-generic (buildd@lcy01-amd64-017) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #39~16.04.1-Ubuntu SMP Tue Sep 25 08:59:23 UTC 2018
Asked by precubed on 2018-10-10 16:22:32 UTC
Answers
There recently was a ABI incompatiblity introduced in a ROS package updated that lead to these weird looking "time is out of 32 bit range" errors in code that previously worked fine (see discussion in moveit #1062 for instance). The two steps for fixing this that workdd for me so far are
- Make sure all packages are updated (i.e. run
sudo apt-get upgrade
) - Perform a clean rebuild of your workspace
Asked by Stefan Kohlbrecher on 2018-10-10 18:33:35 UTC
Comments
Thank you for the prompt answer, Stefan. How exactly do you clean rebuild your workspace? catkin_make and catkin_make clean followed by catkin_make in the workspace, to no avail.
Asked by precubed on 2018-10-10 21:20:36 UTC
Yes that should do it. The manual way would be just performing a "rm build/ devel/ -rf" but that's what catkin_make clean should be doing also. I suppose a sudo apt-get update && sudo apt-get dist-upgrade
would be worth trying.
Asked by Stefan Kohlbrecher on 2018-10-11 03:06:31 UTC
Comments