Search code examples
language-agnostic

Most expensive bug/defect you've seen


What is the most expensive software bug / defect you've seen in practice.

There are some famous cases like the Therac 25, but I'm interested to know what issues you've seen yourself or heard of directly. We all have "a friend who used to work at an old company" and would never admit to accidently charging peoples credit cards ourselves.

What problem was caused and why was it caused?


Solution

  • Well, I can share a story:

    Long long time ago, I worked for a company that got a contract on maintaining an application that was basically written in Oracle SP's. I had to migrate one of those, and it turns out that I didn't understand the business, so I migrated it as is.

    The problem was that the SP didn't do a commit at the end, but returned some data, and the migrated Java code was exactly the same. What the sp did was to write some data to a table, return a document that contained some billing information, but the billing information was never wrote to the database.

    What happened next was that we received alot of payments but didn't know how to correlate them with the database data, so we had to do alot of magick to try and associate the payments.