Logic Error

Return to Glossary

A Logic Error is a Bug in a program or Application allowing it to operate incorrectly, but not to terminate abnormally (or crash) causing a Core Dump. A Logic Error produces unintended or undesired output or other behavior, although it may not immediately be recognized as such.

Logic Errors occur in both compiled and interpreted languages. Unlike a program with a Syntax Error, a program with a Logic Error is a grammatically valid program, however, it does not behave as intended. Often the only clue to the existence of Logic Errors are the production of wrong solutions, though static analysis may sometimes spot the issues, often they do not.

Source: https://en.wikipedia.org/wiki/Logic_error