Liste des Groupes | Revenir à cl c |
On 2025-06-12, Mateusz Viste <mateusz@x.invalid> wrote:[...]Thank you all for your thoughtful responses. You rightly identifiedBelow is a proof-of-concept program that works in GNU/Linux. For
that the problem is essentially an out-of-bounds access - a symptom of
deeper code quality issues. The bug in question managed to pass unit
tests, peer review, functional tests, and it didn’t trigger any
warnings from GCC or clang, even with the strict -Weverything flag I
enforce across my teams. This underscores a fundamental truth: every
software has bugs, and some, like this one, are notoriously difficult
to locate. The bug caused a segfault about once every 10 days,
manifesting in an unrelated part of the code and sometimes days after
the out-of-bounds write occurred.
>
This led me to wonder how I could accelerate such crashes to simplify
debugging.
rapidity of prototyping, I have assumed a page size of 4096; this is not
right for all systems.
Les messages affichés proviennent d'usenet.