Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. The cost of a bug [modified]

The cost of a bug [modified]

Scheduled Pinned Locked Moved The Lounge
performancehelpquestion
26 Posts 16 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T thisraja

    I develop traffic surveillance software and it is in use in UK to monitor speed, illegal lane changes and so on. I found out that there is a bug in the software that incorrectly reports violation and has resulted in an incorrect fine of £30. Have you ever tried to quantify how much a bug in your software costs? The most expensive bug was obviously the $3 billion bug in the mars lander(rover?) software. [Edit] In case people have not observed, the first part is a joke [/Edit]

    modified on Tuesday, July 12, 2011 9:10 AM

    M Offline
    M Offline
    Matt McGuire
    wrote on last edited by
    #17

    The software I develop is industrial control and automation for cold storage of food, it controls the pressures, temperatures, atmospheric gases of around 140 facilities mostly in the north west of the US, each facility has around 20 to 30 rooms, each room containing 1/2 to 2 million $ in food product, plus must record all control data points in an encrypted format. A lot of these rooms fall under 40 day export; in which the temperature must not reach 32.0f or above (this will throw them out of the program, and have to start over) but the temperature can not get below 30.0f do to freezing conditions. to make the food sleep so they last longer the oxygen in the room averages from 0.5% to 1.5% any lower will kill the fruit, too high the food spoils (19.5% normal atmo), and the CO2 must purged to stay well below 2.0% to prevent scalding. Machine rooms must maintain steady suction and discharge pressure by controlling condenser and compressor equipment. I’m not even getting into the safety controls and backup systems. :omg: So no stress here. Bugs in the interface are forgivable, but not on the control side. BTW I am the only developer here, but we are looking to expand; any takers? long term employment: 11+ years for me.

    1 Reply Last reply
    0
    • D DaveAuld

      Highly unlikely a software bug could cause a nuclear power plant failure. The design of the systems with both high availability and multiple redundancy and layers of independent protection, backed up by mechanical fail safe mechanisms, means it is highly unlikely it ever could occur.

      Dave Find Me On: Web|Facebook|Twitter|LinkedIn


      Folding Stats: Team CodeProject

      F Offline
      F Offline
      FrankLaPiana
      wrote on last edited by
      #18

      One of the Mars landers had a fairly famous bug - one portion of the code in metric, the other portion in English units. Costs? Must have been in tens of millions. Another case of medical diagnostic machine that had buggy software (CAT scanner? or something similar?) The bug killed three people. "Cost" was in millions.

      M 2 Replies Last reply
      0
      • T thisraja

        I develop traffic surveillance software and it is in use in UK to monitor speed, illegal lane changes and so on. I found out that there is a bug in the software that incorrectly reports violation and has resulted in an incorrect fine of £30. Have you ever tried to quantify how much a bug in your software costs? The most expensive bug was obviously the $3 billion bug in the mars lander(rover?) software. [Edit] In case people have not observed, the first part is a joke [/Edit]

        modified on Tuesday, July 12, 2011 9:10 AM

        F Offline
        F Offline
        FrankLaPiana
        wrote on last edited by
        #19

        Accounting / Order software - didn't have the logic for tax calculations in CA. Stubbed the code with a "todo comment". Forgot about it... time for QA. California too busy to send us test data. Six months later, the company realized that it had "forgotten" to collect $450,000 in sales tax. Financial trading software. One simple routine to convert an alphanumeric string to an integer. Tested by programmers, QA and customers for over 6 months. ONE customer sends the strings with fractions, "10.0". All other customers send the strings as integers, "10". The new version goes live, and that one customer has immediate problems (10.0 was being converted to 100). After 3 hours of waffling and hand-ringing, management decides to shut down the entire system rather than just the one customer. System was restarted, but all customers automatically switched to other firm's trading systems. By the time customers started using our software again... dunno, must have been millions of dollars in lost revenue. Shit happens, and then you get on with life.

        1 Reply Last reply
        0
        • T thisraja

          I develop traffic surveillance software and it is in use in UK to monitor speed, illegal lane changes and so on. I found out that there is a bug in the software that incorrectly reports violation and has resulted in an incorrect fine of £30. Have you ever tried to quantify how much a bug in your software costs? The most expensive bug was obviously the $3 billion bug in the mars lander(rover?) software. [Edit] In case people have not observed, the first part is a joke [/Edit]

          modified on Tuesday, July 12, 2011 9:10 AM

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #20

          Worked on an application that was used to control a concrete-factory. An inverted boolean caused the app to dump about four cubic metres of concrete on the floor (as opposed to dumping it in a mixer) No idea what it costed. It had to be cleaned up before we could continue with anything else.

          Bastard Programmer from Hell :suss:

          1 Reply Last reply
          0
          • F FrankLaPiana

            One of the Mars landers had a fairly famous bug - one portion of the code in metric, the other portion in English units. Costs? Must have been in tens of millions. Another case of medical diagnostic machine that had buggy software (CAT scanner? or something similar?) The bug killed three people. "Cost" was in millions.

            M Offline
            M Offline
            Member 4194593
            wrote on last edited by
            #21

            I think it was a medical device which could be used as both an EBT (Electron Beam Tomography) and as an XRAY device, they would drop a metal target in front of the electron beam to produce the XRAYs when XRAYs were desired (needed a stronger electron beam to produce the XRAYs than for EBT). It was software controlled, but if an error was made in selecting what was supposed to be used, and if the technician hit backup to correct the mistake, the machine would lift the target (in the process of backing up), but somehow forgot to drop it back down as it was forward spaced to continue the input specification. The resulting beam burned holes in people. Nasty painful death. I think it was a Thorac xxx, but can't seem to find any reference to it on Google (GE may have had a hand in suppressing that info). I do not remember where I read this (many tears ago), maybe Scientific American. Dave.

            1 Reply Last reply
            0
            • D DaveAuld

              Highly unlikely a software bug could cause a nuclear power plant failure. The design of the systems with both high availability and multiple redundancy and layers of independent protection, backed up by mechanical fail safe mechanisms, means it is highly unlikely it ever could occur.

              Dave Find Me On: Web|Facebook|Twitter|LinkedIn


              Folding Stats: Team CodeProject

              J Offline
              J Offline
              James W Taylor
              wrote on last edited by
              #22

              Remember Chernobyl. No matter the quality of the design, it doesn't work if switched off.

              1 Reply Last reply
              0
              • F FrankLaPiana

                One of the Mars landers had a fairly famous bug - one portion of the code in metric, the other portion in English units. Costs? Must have been in tens of millions. Another case of medical diagnostic machine that had buggy software (CAT scanner? or something similar?) The bug killed three people. "Cost" was in millions.

                M Offline
                M Offline
                Member 4194593
                wrote on last edited by
                #23

                Found it. Google "electron beam accidents" for more info. Around 1986/1987, the "Therac-25". Dave.

                1 Reply Last reply
                0
                • T thisraja

                  I develop traffic surveillance software and it is in use in UK to monitor speed, illegal lane changes and so on. I found out that there is a bug in the software that incorrectly reports violation and has resulted in an incorrect fine of £30. Have you ever tried to quantify how much a bug in your software costs? The most expensive bug was obviously the $3 billion bug in the mars lander(rover?) software. [Edit] In case people have not observed, the first part is a joke [/Edit]

                  modified on Tuesday, July 12, 2011 9:10 AM

                  R Offline
                  R Offline
                  R Erasmus
                  wrote on last edited by
                  #24

                  I would guess, Y2K bug standing at +-$308 billion

                  "Program testing can be used to show the presence of bugs, but never to show their absence." << please vote!! >>

                  D 1 Reply Last reply
                  0
                  • D DaveAuld

                    Highly unlikely a software bug could cause a nuclear power plant failure. The design of the systems with both high availability and multiple redundancy and layers of independent protection, backed up by mechanical fail safe mechanisms, means it is highly unlikely it ever could occur.

                    Dave Find Me On: Web|Facebook|Twitter|LinkedIn


                    Folding Stats: Team CodeProject

                    S Offline
                    S Offline
                    Sascha Atrops
                    wrote on last edited by
                    #25

                    I am a computer scientist. I do programming for 25 years now, so I saw a lot of code. I know that working computer programs save a lot of lives i.e. in airbags or emergency assistants. I accept programs which take over control in a moment when a human cannot react anymore. In this case the assistant is an additional chance. But I do not trust computer programs, so I prefer systems that cannot arrive in situations of uncontrollable risks.

                    1 Reply Last reply
                    0
                    • R R Erasmus

                      I would guess, Y2K bug standing at +-$308 billion

                      "Program testing can be used to show the presence of bugs, but never to show their absence." << please vote!! >>

                      D Offline
                      D Offline
                      DaveAuld
                      wrote on last edited by
                      #26

                      That wasn't a bug, that was bad original design.

                      Dave Find Me On: Web|Facebook|Twitter|LinkedIn


                      Folding Stats: Team CodeProject

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups