The Wayback Machine - https://web.archive.org/web/20240704082514/https://www.geeksforgeeks.org/10-famous-bugs-in-the-computer-science-world/
Open In App

10 Famous Bugs in The Computer Science World

Last Updated : 07 Jun, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Deadlock, Race condition, Division by zero, Infinite loops, Infinite recursion…you might have heard these terms in computer programming and you might have knowledge that how the above terms can create a big problem in software if it exists in your program. If computer programming is one of the most interesting field anyone can choose ever then it’s also one of the most dangerous paths someone can choose for themselves. A programmer knows how much he/she needs to be careful while writing bug-free code. One small mistake can make someone a rich person just in a few seconds and it can also cause a loss of money in business and even human life.

Famous-Bugs-in-The-Computer-Science-World

We are going to talk about some of the famous bugs made by programmers in history and how it affected business and human’s life.

1. Ariane 5 Rocket Failure (1996): Ariane 5 explosion was one of the most expensive software mistakes in history. This famous European rocket is used to launch a satellite and the development cost of it was around 8 Billion. The rocket was exploded just after 40 seconds of its launch. The reason behind its failure was Integer Overflow which is a very common bug in computer programming. It’s very important to take care of the memory size required by a variable while declaring it and that was the mistake during the development of this rocket. The coding was done in Ada. After the investigation of the team, they found that the line of code tries to fit a 64-bit number into a 16-bit space. The result of this failure was the loss of $370 million.

2. Y2K Bug (1999): During the 1960s computer engineers followed the approach to write programs using two-digit code for the year leaving “19.” Most of them thought that writing “19” before the variable “year” was an unnecessary waste of memory. For example, to represent 1970 they only used two end digits “70”. Everything was fine till December 31, 1999. But after that, once January 1, 2000, hit many computers read the year as 1900 due to two digits representation “00”. This bug was called Y2K or “millennium bug” (The letter K, stands for kilo used to represent the number 1, 000. So, Y2K stands for the Year 2000.). It affected banks that calculate interest rates on a daily basis, centers of technology such as power plants, transportation and a lot of things. Billions of dollars were spent in order to upgrade computer systems worldwide.

3. Patriot Missile Failure (1991): When a mistake is made in military operation it risks the lives of many. During the First Gulf War, an American Patriot Missile was deployed to detect and intercept a Scud missile attack that relied on very accurate timing. Due to the rounding error in the system, it calculated the incorrect time and the missile failed to intercept Iraqi Scud missile attack on an army barracks in Saudi Arabia. 28 American soldiers lost their lives and 100 people were injured in that attack.

4. AT&T (1990): AT&T opted to upgrade more complex software than the current and hopes to improve long-distance calling but that backfires and the network became disabled. For nine hours AT&T customers couldn’t make a long-distance call. 75 million phone calls missed and 200 thousand airline reservations lost due to this failure. The problem was a race condition in switching station code that handles switching station crashes. A race condition was caused by a switch statement inside of a loop. AT&T lost $60 million because of this error in the code.

5. Gangnam Style Broke Youtube: When youtube was first developed nobody thought that a song can get billions of views and it can exceed the maximum size of 32 bit signed integer. The maximum value for a 32-bit signed integer is 2, 147, 483, 647 and when a song Gangnam Style came to the views on this hit song by Korean pop star exceeded the maximum value and we got the below result…


Later Google changed the view count to a 64-bit signed integer to fix the bug.

6. Mariner 1 Software Bug (1962): Mariner 1 spacecraft is considered as one of the most expensive failures in history. The spacecraft was designed to fly by of Venus but before the satellite could take of the onboard guidance antenna failed and it’s diverted from its intended flight path. The reason behind this failure was a missing overbar. Due to the omission of a hyphen in code, the spacecraft got an incorrect guidance signal. The cost of this rocket was more than $18 million in 1962. The science fiction author Arthur C Clarke described Mariner 1 as “wrecked by the most expensive hyphen in history”.

7. NASA’s Mars Climate Orbiter (1988): Due to the different units of measurement the Mars Climate Orbiter after a 286-day journey from Earth was destroyed. The project was designed with the cost of $125 million to study the Martian surface and climate. The communication was cut and the orbiter entered the Mars atmosphere at a wrong angle rather than entering the planets orbit. The reason was the software that controlled the Orbiter thrusters used imperial units (pounds of force), rather than metric units (Newtons) and it’s conflicted with each other.

8. Pentium FDIV Bug (1993): Many computers run on Intel technology and Intel is always known for its good processors but a bug was found in the Pentium x86 processor by a professor of mathematics Thomas Nicely in 1993. This maths error was dividing floating-point numbers within a specific range. For example, dividing 4195835.0/3145727.0 yielded 1.33374 instead of 1.33382, an error of 0.006%. Not all the processors were faulty but around 5 million defective chips were found and Intel agreed to replace the chip only if the customers could prove they were impacted by defective chip. Later the company replaced the chips for anyone who complained and the cost was $475 million for Intel.

9. Paypal Error (2007): The largest online payment processors in the world Paypal also faced programming error. PayPal accidentally makes Pennsylvania man Chris Reynolds the world’s richest person with $92 quadrillion. PayPal erroneously credits this amount in his account and he became one thousand times wealthier than the total combined GDP of the whole planet. The exact amount is significant in the world of 64-bit numbers suggesting a programming error. The error was quickly recognized and his account had returned to zero by the time he had logged in.

10. Windows Calculator Bug: Windows calculator also contains a bug with itself. This bug exists in almost all Windows versions including Windows XP, Vista, 7 and Windows 8. You can check it in your system. Open Windows Calculator, then type 4 and take the square root, you will get 2 then subtract 2 from it. Instead of result 0, you will see a different result. You may see different outputs on different versions of windows. The answer is wrong even for sqrt(9)-3. The answer should be zero, but you will see some weird digits. Finally, Microsoft acknowledged this bug in the Calculator app and they fixed it in Windows 10 newer versions. Check the link Bug in Microsoft Windows Calculator.



Similar Reads

What are Bugs and how it came into existence?
In the fields of computers, people are trained to describe any problem occurring with the computer, software, code, etc. as bugs. These might be an error in the code, a mistake in setups, overlooking some important stuff, etc. But did you ever wonder, why is it being called as bugs? Let us dig deeper and find out about it. The Wizard of Menlo Park
3 min read
Difference between Computer Science Engineering and Computer Engineering
There is no clear cut computer science engineering and computer engineering definition because there are a variety of tasks and functions where similarity also exists and they perform their task depending upon their industry and work. 1. Computer Science Engineering : It includes the study of analysis of algorithms, programming languages, operating
3 min read
7 Famous Apps Built on Node.js: Reasons and Benefits
Around one decade back (in 2009) when Ryan Dahl (the original developer of NodeJS) released the initial version of NodeJs nobody could have imagined that within a short period Node will gain so much popularity and it will become the top priority of small to large enterprises for building backend services of their applications. Today most of the dev
11 min read
How Machine Learning Is Used by Famous Companies?
Machine Learning is the technology of today! While some people claim that this technology could end the world, others believe that it could make life even easier. And it is no surprise that almost all companies are using this technology to attract as many customers as possible by providing personalized customer experiences. In fact, there is an inc
8 min read
World Cup Wizard: Data Science Hack-a-thon By GeeksforGeeks
In a world where the thrill of sports knows no limits, our hackathon is an electrifying call to revolutionize the upcoming Cricket World Cup experience. We invite you to join us as trailblazers and innovators in the cricket universe. GeeksforGeeks brings a wonderful opportunity for those environment lovers who want to work in an eco-friendly enviro
4 min read
What is the Importance of Mathematics in Computer Science?
Mathematics has been the bane of many students' lives (including mine!!!) since arguably it's inception. On the other hand, Computer Science is quite interesting and students study it in hopes of becoming the next programming whizz-kid!!! But hold on...is it really that simple?!! No, my friends, it isn't….Computer Science is in fact quite closely l
4 min read
Map of Computer Science
Computer science can be considered as the fastest developing branch of technical science. The growth of computer science has changed the era of living, learning and discovering new things. You can discover the world using your mobile phone just sitting at your home. Nowadays, everyone in this world is taking advantage of computer science in every w
6 min read
Top 7 PSUs for Computer Science Engineers in India
Every year, the Public Sector Undertakings(PSUs) of India offer an ample amount of employment opportunities (especially for Engineering Graduates!). And who wouldn't want to work in such prestigious Government organizations like IOCL, DRDO, ONGC, etc? (Everyone wants!) There may be many other reasons too why several people aspire to make a career i
10 min read
Computer science, an overrated dream
Computer Science, an overrated dream. Every kid who wants to pursue Bachelors of Technology, opts for Computer Science branch, even if the college is not up to the mark. Today, everything is related to computer in some or the other way. Machines, which used to be operated manually, are being controlled by computers. Every service, government or pri
2 min read
Computer Science 101
It's very common to hear in your CS 101 class, 'Everything is 1's and 0's in the computer world'. Let explore this idea which is the foundation upon which the most complicated technology you can imagine is built. There is something called ASCII - you can google it. It's just a number assigned to most of the characters (i.e. letters and punctuation)
4 min read
Article Tags :