mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 15:58:53 +00:00
STRATA_WATCHDOG_S and STRATA_WATCHDOG_IO_S were read with std::atoi. The #6861 logs show "no progress for -1195029860 s" and "no step finished for -1907795513 s ... waiting up to 2079576072 s": a negative or garbage limit makes the first silent second count as stuck and shortens the file-tier allowance (the engine was stopped after about 10-19 s instead of 60). watchdog_seconds() (strata/core/watchdog_limits.hpp) parses with strtol: an unparsable or out-of-range value (negative, past a week, past long) falls back to the default and the engine says so. The "no progress" line prints the seconds actually waited. watchdog_limits_test covers the values atoi turned into garbage. This does not cure a real stall: the reporter's later runs with a limit of 60 also stop at layer step 1 of the last prompt chunk. That hang was not reproduced on an RTX 5070 (sm_120, WDDM) with his flags, a control vector, --slots 2 and --adapt-async 1.