You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ubuntu adjusts the clock with ntpdate - likely this is important.
What did you expect to see
No crashes on timing issues.
Anything else we should know about your project / environment
Likely fix would be at ortools/sat/subsolver.h to check for duration to be positive:
// Note that this is protected by the global execution mutex and so it is// called sequentially. Subclasses do not need to call this.voidAddTaskDuration(double duration_in_seconds) {
++num_finished_tasks_;
wall_time_ += duration_in_seconds;
if (duration_in_seconds > 0) {
timing_.AddTimeInSec(duration_in_seconds);
}
}
This follows the same pattern already used in that file for AddTaskDeterministicDuration
Activity
subsolver: add check for positive duration in AddTaskDuration method
fix #4907
lperron commentedon Nov 12, 2025
Thanks
fix #4907