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

rviz crashing after apt update

asked 2018-10-10 16:22:32 -0500

precubed gravatar image

When running the 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 ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.5 LTS" VERSION_ID="16.04" HOME_URL="" SUPPORT_URL="" BUG_REPORT_URL="" VERSION_CODENAME=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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-10-10 18:33:35 -0500

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
edit flag offensive delete link more


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.

precubed gravatar image precubed  ( 2018-10-10 21:20:36 -0500 )edit

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.

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2018-10-11 03:06:31 -0500 )edit

Question Tools



Asked: 2018-10-10 16:22:32 -0500

Seen: 503 times

Last updated: Oct 10 '18