noun
bug
A fault that prevents software, equipment, or a system from working correctly.
The programmer finds a bug in the calculation.
Etymology
The insect name became a figurative name for a troublesome fault in machinery. Computing inherited that usage; it was already established before the famous moth found in a computer.