Time is out of dual 32-bit range
I am using ROS Kinetic on Ubuntu 16.04. After updating my system this morning (which included a lot of ROS packages), rosout and other nodes are crashing with the following exception:
terminate called after throwing an instance of 'std::runtime_error'
what(): Time is out of dual 32-bit range
Minimal example to reproduce the issue:
- Run
roscore
in a terminal In another terminal run the following Python script:
import rospy rospy.init_node("foo") rospy.sleep(1)
When the script terminates rosout
crash with the exception given above (in the roscore
terminal)
If running more stuff, several other nodes crash with the same error.
Since everything was well yesterday, I suspect that this is caused by the update. Is anybody else having the same issue and/or knows how to fix it (apart from trying to roll back the update)?
I tried to rollback the update but it seems that ROS packages of older versions are not kept in the apt repository, so
apt-get
is not able to install the old version.I figured out it is not related to gazebo (apparently not even sim time). I updated the question with more minimal reproduction steps.