Slashdot Mirror


Debug your Code, or Else!

Trevor Lovett writes "I ran across a collection of famous software bugs that have caused large scale disasters including the explosion of the Ariane 5 rocket due to integer overflow and the misfiring of a US Patriot missile that caused 28 deaths because of accumulated floating point error. "

30 of 485 comments (clear)

  1. but dont forget by rosewood · · Score: 5, Funny

    Remember that time when that kid dialed into NORAD and used that security exploit to get into the Thermo-nuclear war simulator and everyone thought it was real until he and the inventor were able to trick the computer into playing Tic-Tac-Toe? I see a LOT of bugs in the software there but no one ever seems to care about that...

  2. Missing From The List by BiggestPOS · · Score: 5, Funny
    1) 1999 - Buffer Overflow causes Half-Life to crash while I'm in an important clan match (counter-strike) we lose the match, and I lose many friends.

    2) 2000 - Poorly coded garbage collection causes Word 97 to crash, lose last 2 hours of research paper. Class was in 30 minutes, paper was late. I lost my scholarship.

    3) 2002 - IE Crashes while writing AWESOME first post for /., My karma never recovered.

    --
    What, me worry?
    1. Re:Missing From The List by Novus · · Score: 5, Funny

      shock moment: Word has garbage collection!?

      Yes. It collects megabytes of garbage in files with the extension ".DOC".

    2. Re:Missing From The List by liquidsin · · Score: 3, Funny

      If we can attribute the buffer overflow to be a problem with directx and not with half-life itself, then all three of your most horrific moments ever are the direct result of MS negilgence. Try to collect damages...they should be available for more court dates sometime around 2017 ;)

      --
      do not read this line twice.
    3. Re:Missing From The List by GafTheHorseInTears · · Score: 5, Funny

      4) 2002 - Windows Media Player freezes up while I'm whacking it to porn. Unfortunately, it freezes on one of those annoying shots where they cut away to the dude's face, and I'm too close to the finish line to be able to stop. Afterwards, I feel embarassed and uncomfortable, yet strangely aroused.

      --
      "You're just scared like a little white pussy. I'll fuck you till you love me, you faggot!"
  3. 15 out of 44 by FortKnox · · Score: 0, Funny

    Lets see I was on 15 out of the 44 projects there. Not bad, eh?

    Currently, I'm working on a system to contain virus outbreaks so scientists can study virii within major cities...

    --
    Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
  4. Hi-tech toilet swallows woman by DeadSea · · Score: 5, Funny
    Of all of them this is my favorite. It doesn't say if it was a software bug or not though.
    [Source: Article by Lester Haines, 17 Apr 2001, via Brian Randell]
    A 51-year-old woman was subjected to a harrowing two-hour ordeal [on 16 Apr 2001] when she was imprisoned in a hi-tech public convenience. Maureen Shotton, from Whitley Bay, was captured by the maverick cyberloo during a shopping trip to Newcastle-upon-Tyne. The toilet, which boasts state-of-the-art electronic auto-flush and door sensors, steadfastly refused to release Maureen, and further resisted attempts by passers-by to force the door. Maureen was finally liberated when the fire brigade ripped the roof off the cantankerous crapper. Maureen's terrifying experience confirms that it is a short step from belligerent bogs to Terminator-style cyborgs hunting down and exterminating mankind.
  5. Re:And no one will ever know... by ultramk · · Score: 2, Funny

    I seem to remember PowerBook 3500C was known to catch fire. Not a bug, per se, but it could have killed somebody. I know I almost threw mine out the Window and that could have caused serious damage.


    I know a lot of people who threw out Windows when they got their Macs...

    Michael-

    --
    You catch enchiladas by picking them up behind the head and holding them underwater until they don't kick anymore -VeGas
  6. See..none of its caused by Code written in VB by cOdEgUru · · Score: 2, Funny

    So much for poor Visual Basic Programmers :)

    Damn, they never get to do fun stuff like this.

    1. Re:See..none of its caused by Code written in VB by felipeal · · Score: 3, Funny

      Actually, those caused by VB left no survivors to tell the story...

  7. I can relate by TheGreenLantern · · Score: 2, Funny

    This one time I missed closing an /a tag on a post, and missed getting a wicked killer First Post.

    --

    It hurts when I pee.
  8. Worst I've seen in my work by l810c · · Score: 2, Funny

    I was a consultant at a major bank 3-4 years ago. An FTE made a one line error in a Cobol program for printing bank statements. Everyone in a small town of about 6000 got Their first page of statement and pages 2,3,4 etc. of someone else's statement.

  9. The buggs that didn't happen by MountainLogic · · Score: 5, Funny

    I'm sure we all have those bugs that we catch in bench testing. Mine was forgeting to add a cancel button to the following dialog box:

    "OK to delete database"

    When I caught that one I had visions of a user who had his/her million dollar database deleted charging into our office with a shotgun and ... well, you read the papers. Glad I caught that one before I released it to test.

  10. Re:links by scott1853 · · Score: 3, Funny

    Incoming missile sir! What do we do?
    <officer> Don't worry, it's one of ours.
    <private> But sir, it's still going to HIT us!

    This not only sounds like something that belongs in a Dilbert strip, but also the basis for the logic that allows the spreading of all these e-mail viruses.

  11. Re:Anyone remember this book? by mccalli · · Score: 3, Funny
    ...this book...mainly addresses the problem of becoming overly dependent on software for real-life, mission-critical applications. Unfortunately the book, published 10 years ago, appears to be out of print

    Ah well you see, that's the problem of becoming overly dependent on paper-based systems for mission-critical applications.

    Cheers,
    Ian

  12. Re:Millennium Bridge by dachshund · · Score: 2, Funny
    I'd take issue with the inclusion of the London Millennium Bridge; that wasn't so much a failure of software, but a flawed model, that failed to take into account the effects of swaying pedestrians

    Pedestrians were also asked not to sway anymore.

  13. Anyone remember this one? by Anonymous Coward · · Score: 1, Funny

    A few years ago, I remember reading an article about a US Navy warship that ran WinNT and the system got a BSOD and left the boat crippled for at least a few days...

    Can you just imagine the following situation?

    Mr. President: Fire the nukes!
    NORAD: Firing now, sir....wait...

    MS Nuke has caused a general protection fault at address 0x0324324h:8901. The application will now close. Please contact Microsoft Support.

    (a few seconds later after the crash)

    An annoying popup message comes up:
    "Register your userid at Passport.NET!"

    I think the situation speaks for itself. :)

    1. Re:Anyone remember this one? by Anonymous Coward · · Score: 1, Funny

      yorktown
      nt 4
      divide by zero
      MS salesman later fired from 16 inch gun of battleship
      Poor bastard posthumously set a new record.

  14. Always works right on my system by nomadicGeek · · Score: 5, Funny

    My software always works perfectly on my system. Zero bugs.

    I have no idea what the hell the users do to it to screw it up.

  15. Reminds me of mine... by thrillbert · · Score: 4, Funny

    When after sitting down for 36 hours straight when I first learned to program in C, I wrote a small, but usefull, payroll program. By the end, during the function that would print out the check, I added "Press any key to continue, any other key to abort". Lucky for me I never released that program.

    ---
    All comments are not factual unless stated otherwise.

  16. Re:speaks more to TESTING by billnapier · · Score: 5, Funny

    Thats why I like hiring sales people and 2-year olds to test my code at the unit/integration level

    You didn't need to repeat yourself

  17. Re:Millennium Bridge - Kansas City skywalk by igrek · · Score: 5, Funny

    In the old USSR (Stalin times), there was a standard bridge acceptance test:
    1) put project managers, lead architects and engineers under the bridge;
    2) put heavy loaded trucks on the bridge.

    That was real extreme testing.

  18. Re:Pentium bug in perspective by L1nUx+h4x0r · · Score: 0, Funny

    Then don't use GPL code you stupid fuck. If you want to take my stuff, you better give me your stuff in return. If you don't want to give me your stuff, you should write the whole thing yourself because you are obviously exteremly l33t, or self-delusional.

    --
    The GPL makes software more like your mom. Free and open to all.
  19. Re:Just a matter of time and growth by cicadia · · Score: 2, Funny

    You'd better not -- I patented the logic behind those mistakes; if you even think about making the same mistakes, I'll see you in court!

    --
    Living better through chemicals
  20. Re:more phone frolics by TheSquareRoom · · Score: 2, Funny

    In the early 1990s, before this part of the Eastern U.S. had ten digit dialing, our SCO server would dial out, at 1:00 am, to all the little Pep Boys stores in PA and New Jersey in an attempt to update their inventory tables. Alas, one programmer forgot about the New Jersey area codes, and of course there are some overlapping 7 digit numbers between the two states. Oh, and did I mention that the system was coded to KEEP TRYING every ten minutes minutes until it was successful? Heh, heh...at least it wasn't my phone they were ringing at one am...

  21. Re:It's Worse: The Patriot Never Worked by Physics+Dude · · Score: 2, Funny
    ... no one has ever died as a result of the Coriolis effect

    What are you saying! The Corilois effect is one of the main causes of huricanes!

    ;)

  22. Re:especially important in healthcare.. by ComaVN · · Score: 2, Funny

    Yes, crashing planes and scuds hitting army barracks are funny, but patients losing their lives is not.

    --
    Be wary of any facts that confirm your opinion.
  23. Re:32. Therac-25, X-ray by ahde · · Score: 3, Funny

    It's not a UI bug, just that some people don't surive the mutation:

    X-RAY METER:
    [Off--Low--Med--High--Glow--Kill--Mutate]

  24. Re:Uranus by tswinzig · · Score: 3, Funny

    Wrong Starting Estimate of Uranus mass

    But I thought Uranus is a hole...


    Any hole sufficiently big enough is bound to have some mass in there, somewhere.

    --

    "And like that ... he's gone."
  25. Re:speaks more to TESTING by qslack · · Score: 5, Funny

    What do you have against 2-year-olds!? That was simply uncalled for.