Liste des Groupes | Revenir à cl c++ |
On 25/04/2025 09:37, Bonita Montero wrote:It's always fun dealing with a bug that only triggers in rare timing situations. We once had a mistake in a timing table in a program that could sometimes result in intermittent faults in the system if particular events occurred at the same time, on the 30th of September. Finding an issue that occurred at most once per year was a challenge!Am 24.04.2025 um 23:33 schrieb Chris M. Thomasson:Once upon a time I put a race in a bit of code.
>"there’s no thundering herd, ever!" because a controlled test didn't "show it" is like saying race conditions do not exist because your code "worked fine this time."? Fair enough?>
Yes, controlled test with 10'000 iterations.
The code is correct and trivial, but too much for you.
>
It took us 3 years to track down why our customers were reporting occasional faults :(
(It turned out the trick to reproduce it was a combination of lots of CPU load and disk transfers not more than once every 30 seconds)
Les messages affichés proviennent d'usenet.