heisenbug
/ˈhaɪzənˌbʌɡ/
Meaning
A software bug which fails to manifest itself or manifests differently during debugging.
Examples
I recently encountered a particularly infuriating Heisenbug. A large program, when given a large input, was just mysteriously dying. Of course, I ran it under the debugger. The mystery deepened: the program returned quietly to the debugger.
Except for pointer messups in C on my side, the Heisenbugs I've come across were hardly ever caused by _me_.
There are multiple perf related issues like this that are hard to track down. They are borderline heisenbugs that are possibly race conditions, so bisecting doesn't work and even things like enablibg^([sic]) ftrace will make the issue go away (or crash ftrace itself).
Word Forms
heisenbugs
Heisenbug
Etymology
(ca. 1983) Blend of Heisenberg + bug. Named for the Heisenberg uncertainty principle, which states very roughly that any attempt to measure the position of a subatomic particle will disrupt its movement, making it harder to predict.