    a software bug is an error, flaw, failure, or fault in a computer program or system that causes it to produce an incorrect or unexpected result, or to behave in unintended ways. most bugs arise from mistakes and errors made by people in either a program's source code or its design, or in frameworks and operating systems used by such programs, and a few are caused by compilers producing incorrect code. a program that contains a large number of bugs, and/or bugs that seriously interfere with its functionality, is said to be buggy. reports detailing bugs in a program are commonly known as bug reports, defect reports, fault reports, problem reports, trouble reports, change requests, and so forth. bugs trigger errors that can in turn have a wide variety of ripple effects, with varying levels of inconvenience to the user of the program. some bugs have only a subtle effect on the program's functionality, and may thus lie undetected for a long time. more serious bugs may cause the program to crash or freeze. others qualify as security bugs and might for example enable a malicious user to bypass access controls in order to obtain unauthorized privileges. the results of bugs may be extremely serious. bugs in the code controlling the therac-25 radiation therapy machine were directly responsible for some patient deaths in the 1980s. in 1996, the european space agency's us$1&nbsp;billion prototype ariane 5 rocket had to be destroyed less than a minute after launch, due to a bug in the on-board guidance computer program. in june 1994, a royal air force chinook crashed into the mull of kintyre, killing 29. this was initially dismissed as pilot error, but an investigation by computer weekly uncovered sufficient evidence to convince a house of lords inquiry that it may have been caused by a software bug in the aircraft's engine control computer. in 2002, a study commissioned by the us department of commerce' 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&nbsp;billion annually, or about 0.6 percent of the gross domestic product".{{cite web|url=http://web.archive.org/web/20090610052743/http://www.nist.gov/public_affairs/releases
Software_bugs