Lably
Skip to content

Software bug

Inherent flaw in computer instructions

  • 17 min read
  • 11 chapters
Syntax error
Rherschke · Public domain

Related on Lably

Through Software, Computer program and User interface

The effects of a software bug range from minor (such as a misspelled word in the user interface) to severe (such as frequent crashing).

In 2002, a study commissioned by the US Department of Commerce's National Institute of Standards and Technology concluded that "software bugs, or errors, are so prevalent and so detrimental that they cost the US economy an estimated $59 billion annually, or about 0.6 percent of the gross domestic product".

Since the 1950s, some computer systems have been designed to detect or auto-correct various software errors during operations.

History

The term bug to describe a defect has been engineering jargon since at least as far back as the 1870s, long before electronic computers and computer software. For instance, Thomas Edison wrote the following words in a letter to an associate in 1878:

It has been just so in all of my inventions. The first step is an intuition, and comes with a burst, then difficulties arise—this thing gives out and [it is] then that "Bugs"—as such little faults and difficulties are called—show themselves and months of intense watching, study and labor are requisite before commercial success or failure is certainly reached.

Problems with military gear during World War II were referred to as bugs or glitches.

Isaac Asimov used the term bug to relate to issues with a robot in his short story "Catch That Rabbit," published in 1944.

U.S. Navy Rear Adm. Grace Hopper, a computer pioneer, popularized a story about a moth that caused a problem in an early electromechanical computer. While Hopper was working on the Mark II and Mark III as Harvard faculty in about 1947, operators traced an error in the Mark II to a moth trapped in a relay. The moth was removed from the mechanism and taped in a log book with the note "First actual case of bug being found." Reportedly, the operators, including William "Bill" Burke, later of the Naval Weapons Laboratory, Dahlgren, Virginia, were familiar with the engineering term and probably making a pun by conflating the two meanings of bug (biological and technical). Even if a joke, the story indicates that the term was commonly used in the computer field at that time.

Sign in to keep reading

10 more chapters are free with a Lably account.

More in Computing and communication