1. OpenSourceRoboticsFoundation
  2. Simulation
  3. gazebo
  4. Issues
Issue #551 closed

SensorManager assert during jenkins test failure

Steven Peters
created an issue

The Sensor_TEST unit test failed on a recent jenkins build. The failure was caused by a GZ_ASSERT failure in SensorManager.cc

61: Dbg sent reset world message
61: ***** Internal Program Error - assertion (diffTime >= common::Time::Zero) failed in void gazebo::sensors::SensorManager::SensorContainer::RunLoop():
61: /var/lib/jenkins/workspace/gazebo-gazebo_1.5-devel-precise-amd64/gazebo/gazebo/sensors/SensorManager.cc(479): Took negative time to update a sensor.

This is a race condition, but I've been able to make it more prevalent by stress testing Reset World with an unthrottled ray sensor. The was added in changeset c3ebcf3 to branch sensor_reset_stress.