Duration is out of dual 32-bit range when enable_statistics = true
I get std::runtime_error' what(): Duration is out of dual 32-bit range
errors in multiple nodes when the enable_statistics
parameter is set to true
before the other nodes are started. I would like to use the really promising introspection tool ARNI from KIT which needs statistics to be enabled. Does anyone know if there is documentation on topic statistics in general?
System: Ubuntu 14.04
ROS: Indigo
We use realtime (no /clock topic)
Here's the backtrace of one of the nodes that crashes:
(gdb) backtrace
#0 0x00007ffff662dcc9 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff66310d8 in __GI_abort () at abort.c:89
#2 0x00007ffff6f386b5 in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff6f36836 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff6f36863 in std::terminate() ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff6f36aa2 in __cxa_throw ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff61b06c4 in ros::normalizeSecNSecSigned(long&, long&) ()
from /opt/ros/indigo/lib/librostime.so
#7 0x00007ffff61b0718 in ros::normalizeSecNSecSigned(int&, int&) ()
from /opt/ros/indigo/lib/librostime.so
#8 0x00007ffff61b0875 in ros::DurationBase<ros::Duration>::operator+(ros::Duration const&) const () from /opt/ros/indigo/lib/librostime.so
#9 0x00007ffff61b0916 in ros::DurationBase<ros::Duration>::operator+=(ros::Duration const&) () from /opt/ros/indigo/lib/librostime.so
#10 0x00007ffff78c8ecc in ros::StatisticsLogger::callback(boost::shared_ptr<std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > > const&, std::string const&, std::string const&, ros::SerializedMessage const&, unsigned long const&, ros::Time const&, bool) () from /opt/ros/indigo/lib/libroscpp.so
#11 0x00007ffff790ca68 in ros::Subscription::handleMessage(ros::SerializedMessage const&, bool, bool, boost::shared_ptr<std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > > const&, boost::shared_ptr<ros::PublisherLink> const&) ()
from /opt/ros/indigo/lib/libroscpp.so
#12 0x00007ffff78f2296 in ros::TransportPublisherLink::handleMessage(ros::SerializedMessage const&, bool, bool) () from /opt/ros/indigo/lib/libroscpp.so
#13 0x00007ffff78f2949 in ros::TransportPublisherLink::onMessage(boost::shared_ptr<ros::Connection> const&, boost::shared_array<unsigned char> const&, unsigned int, bool) () from /opt/ros/indigo/lib/libroscpp.so
#14 0x00007ffff788edaa in ros::Connection::readTransport() ()
from /opt/ros/indigo/lib/libroscpp.so
#15 0x00007ffff78ed5c7 in ros::TransportTCP::socketUpdate(int) ()
from /opt/ros/indigo/lib/libroscpp.so
#16 0x00007ffff7919efe in ros::PollSet::update(int) ()
from /opt/ros/indigo/lib/libroscpp.so
#17 0x00007ffff78be905 in ros::PollManager::threadFunc() ()
from /opt/ros/indigo/lib/libroscpp.so
#18 0x00007ffff5f91a4a in ?? ()
from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0
#19 0x00007ffff5d70182 in start_thread (arg=0x7ffff0c25700)
at pthread_create.c:312
#20 0x00007ffff66f147d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111