Schrödinbug

Schrödinbug image
A Schrödinbug is a bug that works purely by accident until someone examines or modifies the code. The software behaves correctly even though the logic is wrong, usually because of lucky conditions like memory being zeroed or timing working out just right.

The moment someone refactors the code, adds logs, or changes compiler settings, the behavior breaks. The problem was always there, just hidden, nothing new was introduced. These bugs rely on undefined behavior, which makes them fragile and unpredictable.
They are dangerous because the code looks stable and builds false confidence. Apparent correctness hides serious flaws that can surface after a compiler update, platform change, or even a small modification. If something works only because of luck, it’s already broken, it just hasn’t failed yet.
Explore MoT
MoTaCon 2026 image
Thu, 1 Oct
Previously known as TestBash, MoTaCon is the new name for our annual conference. It's where quality people gather.
MoT Software Testing Essentials Certificate image
Boost your career in software testing with the MoT Software Testing Essentials Certificate. Learn essential skills, from basic testing techniques to advanced risk analysis, crafted by industry experts.
This Week in Quality image
Debrief the week in Quality via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter
We'll keep you up to date on all the testing trends.