Bug
From DocForge
A bug is an error in programming logic, where a segment of software is not conforming to its intended actions. This should not be confused with a syntax error or compiler error which is caught and must be fixed before the application is executed.
Every programmer's goal is to create a perfectly functioning application with no errors. But this level of perfection is virtually impossible. It's assumed that due to complexity and natural human error that all software has bugs.
Bugs may be found and tracked by users and designated testers during planned software testing or after official release. During initial development bugs caught by developers are often fixed immediately without official tracking.
Confusion [edit]
There's often confusion with the definition of a bug when a user reports that software is not acting as they wish. If the software is conforming to its functional specifications, then an issue is not a bug, but a request for a feature change. This classification is often very important for a variety of reasons, such as warranties, contracts, and billing.
Common Bugs [edit]
- Buffer overflow
- Dangling pointer
- Deadlock
- Infinite loop
- Integer overflow
- Memory corruption
- Memory leak
- Off-by-one error
- Race condition
- Software regression
- Stack overflow

