Bug
Per Andrén
What is a bug?
A bug is an error or flaw in software, hardware, or system configuration that causes a program to behave unexpectedly. Bugs can range from minor UI glitches to severe security vulnerabilities. Managing bugs is a key part of quality assurance, supported by testing, version control, and debugging tools.
Read more
Common bug types include:
- Syntax errors: Code that violates language rules.
-
Logical errors: The program runs but produces wrong results.
-
Resource handling errors: Memory leaks or thread issues.
-
Security bugs: Vulnerabilities that can be exploited by attackers.
History
The term bug became famous in 1947 when an actual moth was found in a relay of the Harvard Mark II computer. However, engineers had used the term long before to describe mechanical faults.
Summary
A bug is a fundamental concept in IT and software engineering. Detecting and fixing bugs efficiently is crucial for reliability, user satisfaction, and security.