Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Anniversary of the First Computer Bug

Posted by CmdrTaco on Tue Sep 09, 2003 11:51 AM
from the am-i-bugging-you-yet dept.
aheath writes "According to the US Naval Historical Center the first computer bug was logged on September 9, 1945 at 15:45: "Moth found trapped between points at Relay # 70, Panel F, of the Mark II Aiken Relay Calculator while it was being tested at Harvard University, 9 September 1945. The operators affixed the moth to the computer log, with the entry: "First actual case of bug being found". They put out the word that they had "debugged" the machine, thus introducing the term "debugging a computer program". The Wikipedia has a "computer bug" entry that lists some other "famous bugs" including the fictional HAL 9000 bug. What is your favorite computer bug story?"
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by grub (11606) <slashdot@grub.net> on Tuesday September 09 2003, @11:51AM (#6911640) Homepage Journal

    September 9, 1945 at 15:45: "Moth found trapped between points at Relay # 70, Panel F [..] "

    September 10, 1945 at 08:02: "Darl McBride Sr. claims he owns the moth."

    September 10, 1945 at 23:53: "We snuck into Darl's room and put his hand in a bucket of warm water."

    September 11, 1945 at 09:46: "Darl gets to work late but is proud to show us 'his' new bucket. We all hate him."

    • by Incoherent07 (695470) on Tuesday September 09 2003, @11:53AM (#6911671)
      You forgot

      September 10, 1945 at 13:25: Al Gore claims to have invented the moth.
        • by Anonymous Coward on Tuesday September 09 2003, @12:04PM (#6911823)
          It depends. If he was trying to show that the SCO jokes are as old and tired as the Al Gore jokes then he is very witty. Otherwise he is just a moron.
    • by stripe (680068) on Tuesday September 09 2003, @01:03PM (#6912520)
      Case #1: Computers failing due to overheating. Turned out the AC vents were clogged. Reason? Wasp nest clogging the AC vents, needed to debug the vents. From a friend that had to do the debugging. Case #2: Ants crawling into computer (Taught me not to eat while working on the insides of my PC) Had to clean out peanut butter & jelly from inside my keyboard once. Keys stuck too much. Case #3: Rats nests inside the computers chewing on cables etc. Big problem at one Texas co-lo. Had to replace all the ethernet cabling. From a site I was consulting at. Case #4: Little kid decides to feed the computer his milk. Milk stopped the computer from booting, but did not fry anything. Worked after we swabbed everything down with alcohol and washed the case off. A friend dropped off the computer for us to fix after finding out it did not work.
  • R-A-I-D?!?! (Score:5, Insightful)

    by inertia@yahoo.com (156602) * on Tuesday September 09 2003, @11:52AM (#6911663) Homepage Journal
    Somehow, saying "First actual case of bug being found" seems fake to me. It's like finding cavalry sword from the first world war with the inscription, "Corporal James Smith, Third Mounted Infantry, World War One." You'd know that even if the sword was real, the inscription was years after WWII, making it less valuable, and lessening it's voracity.

    Or is this the first actual case because they suspected before there were actual bugs in the system but never found them?

    Then again maybe it was just prophetic. Like NASA when the STS missions launch(ed): "3...2...1...Liftoff! [message about this mission and it's 'first' for space here]"
    • by garrulous (653996) on Tuesday September 09 2003, @11:56AM (#6911714)
      "Corporal James Smith, Third Mounted Infantry, World War One." You'd know that even if the sword was real, the inscription was years after WWII, making it less valuable, and lessening it's voracity

      It hungered for recognition no less.
    • Re:R-A-I-D?!?! (Score:4, Informative)

      by aridhol (112307) <klacquement@gmail.com> on Tuesday September 09 2003, @11:57AM (#6911730) Homepage Journal
      Or is this the first actual case because they suspected before there were actual bugs in the system but never found them?
      This was the first computer bug, but not the first engineering bug. A "bug" has always been a problem, whether blamed on demons or by errors on the part of the engineer. So what they're saying is that, although we've used the term "bug" for some time, this is the first time it's actually a physical insect.
      • Re:R-A-I-D?!?! (Score:4, Informative)

        by Sgt York (591446) <jvolm.earthlink@net> on Tuesday September 09 2003, @12:06PM (#6911846)
        It's funny, this story came up as the QOTD when I logged in yesterday. I wish I remember what the quoted source was...

        Anyway, the blurb said that although it may have been the first computer bug, the term 'bug' had been used to refer to technical problems in radio operations for many years prior.

      • Re:R-A-I-D?!?! (Score:5, Informative)

        by gid (5195) on Tuesday September 09 2003, @12:08PM (#6911867) Homepage
        The term "bug" in the technical sense was used long before that. That's just a famous episode of an actual bug causing a bug. Look at the history of the bug [catb.org] for more information.
        • by fenix down (206580) on Tuesday September 09 2003, @12:16PM (#6911961)
          They taped the moth to the page? Were they saving it in case they had to stick it back in there sometime?
          • by Gerdia (700650) on Tuesday September 09 2003, @12:29PM (#6912128)
            They probably saved the moth just in case removing the moth made the entire system break... they might have needed to back out the moth removal change.

            I know some software people who work this way.

            On a different note, I wonder if ther are any operators who still keep logs.

          • Re:R-A-I-D?!?! (Score:4, Informative)

            by Otter (3800) on Tuesday September 09 2003, @12:41PM (#6912251) Journal
            They taped the moth to the page?

            Yup. It's on display in the Smithsonian. (Or was, anyway.)

      • by siskbc (598067) on Tuesday September 09 2003, @12:19PM (#6912002) Homepage
        It's where the term "bug", as we now know it, came from. Thus, that was the "first bug". Sure there were problems with the code/vacuum tubes/whatever before, but they never called it a "bug" until then.

        Re-read parent - as he says, the way in which they wrote the log entry wouldn't make sense if that were true. They were being sarcastic when they affixed the moth to the log book, writing "First actual case of bug being found." This strongly implies that things were called "bugs" previously, but that they weren't literally insects. These guys had a sense of humor.

        So the term was in use before these guys found the insect - this is simply the first incidence of the insect as in the urban legend, which postdates the original usage.

      • Re:R-A-I-D?!?! (Score:4, Informative)

        by Ed Avis (5917) <ed@membled.com> on Tuesday September 09 2003, @12:55PM (#6912413) Homepage
        No - the word 'bug' was in common usage, as the journal entry makes clear if you think about it.

        'First actual case of bug being found.'

        Do you think they'd have written this if the word 'bug' didn't already exist?
  • by Doesn't_Comment_Code (692510) on Tuesday September 09 2003, @11:54AM (#6911677)

    Those things really multiply don't they?

    First you find ONE in a computer relay. Then, almost sixty years later, they've multiplied so that there's one in every program I write.

    Like cockroaches.

    You just can't get rid of them. They're hard to find. And when you squash one, three more come from nowhere!

  • Etymology (Score:5, Funny)

    by BWJones (18351) on Tuesday September 09 2003, @11:54AM (#6911681) Homepage Journal
    "Moth found trapped between points at Relay # 70, Panel F, of the Mark II Aiken Relay Calculator

    Cool. I always wondered about the etymology of "computer bug", and now I know the etymology is truly related to entymology. :-)

  • by nnnneedles (216864) on Tuesday September 09 2003, @11:55AM (#6911688)
    Win98 crashing on Bill Gates in front of millions of viewers.
  • by ih8apple (607271) on Tuesday September 09 2003, @11:55AM (#6911699)
    according to opera... [opera.com]

    "The origin of the word "bug" has wrongly been associated with an incident where a moth was pulled out of a Mark II computer. Apparently, the term was used prior to modern computers to mean an industrial or electrical defect."
  • by asmithmd1 (239950) * on Tuesday September 09 2003, @11:56AM (#6911708) Homepage Journal
    By the way they logged the bug, "first actual case of bug being found" the term was already in use and they were pointing out the irony that the bug in this case was a real bug
  • by Anonymous Coward on Tuesday September 09 2003, @11:57AM (#6911725)
    ...was that an update to Mark II Aiken Relay Calculator (a small screen over the air intake) was developed on 1 September 1945, but the navy was too slow in installing the patch.
  • Another bug.. (Score:5, Interesting)

    by Verteiron (224042) * on Tuesday September 09 2003, @11:57AM (#6911732) Homepage
    When I was doing inhouse tech support for a large company that makes green tractors, I got a ticket about a system that was having random lockups. After investigating, I found that the lockups were indeed random, so set out to try swapping the RAM first. Judge of my surprise to find a tiny spider caught against the base of a SIMM, blackened and crispy. If someone had told me that there's enough juice flowing through a RAM chip to fry even a spider, I wouldn't've believed it, but there the little critter was. I couldn't believe that little bug alone would be causing a problem, but on a whim I left the chip in, sans spider, and behold, the system worked perfectly.

    Odd, that.

    And although it's not a bug, I have had someone bring a computer into my shop for locking up, and found a live mouse in it. It escaped into the shop and I believe it lives here on Dorito crumbs to this very day.
  • My Favorite Bug (Score:5, Interesting)

    by haplo21112 (184264) <<haplo> <at> <epithna.com>> on Tuesday September 09 2003, @11:58AM (#6911747) Homepage
    The Schrodenbug...named after the Theroy of Schrodinger's cat...where by if you put a cat in a box, its not truely dead until you look at it again...

    This is a bug which while in existance in your code has no effect until you happen to notice it, in the code. Then suddenly the effect of having this bug begins to appear. While until you noticed it, the effect never appeared and the program ran as intended.
  • by selderrr (523988) on Tuesday September 09 2003, @11:59AM (#6911753) Journal
    way back, my first job... only 2 programmers, me and another guy who worked from home over a 9600baud modem. We had no CVS or anything like it(we were noob).

    The "bug" in question was merely him and me modifying the same file every other day. I used i,j,k,z for iterator variables. He had the habit of using i,j,k,m. The file had 2 functions, one with a parameter z, the other with a parameter m.

    I guess you can figure out how horrible such things can get. It took weeks before we figured out it was a naming issue.
  • by AvantLegion (595806) on Tuesday September 09 2003, @11:59AM (#6911754) Journal
    >> What is your favorite computer bug story?

    Windows ME

  • That language implies that this was not the first computer bug found, but more the first physical bug found. And hence it implies that the term "bug" was in use long before that time.

    The The Jargon File covers this and includes a picture of the bug in the entry on "bug [catb.org]" and states:

    Indeed, the use of bug to mean an industrial defect was already established in Thomas Edison's time, and a more specific and rather modern use can be found in an electrical handbook from 1896 (Hawkin's New Catechism of Electricity, Theo. Audel & Co.) which says: "The term 'bug' is used to a limited extent to designate any fault or trouble in the connections or working of electric apparatus." It further notes that the term is "said to have originated in quadruplex telegraphy and have been transferred to all electric apparatus."
    John.
  • To Be Specific.... (Score:5, Informative)

    by Caraig (186934) on Tuesday September 09 2003, @12:00PM (#6911768)
    To be specific, that first bug was recorded by future Admiral "Amazing" Grace Hopper, a (rare female) Line Navy officer (as opposed to a WAVE or Naval Reserve officer.) Her name has gone on to one of the most modern guided missile destroyers. She was quite a remarkable woman, read up on her career if you get the chance.
  • See TechTV for more (Score:5, Informative)

    by arth1 (260657) on Tuesday September 09 2003, @12:00PM (#6911780) Homepage Journal
    TechTV has some interesting stuff on this:
    1. Twisted List: Five Computer Bugs That Changed the World
    2. Famous Bugs: The First Computer Bug
    3. Famous Bugs: The Funniest Computer Bug
    4. Famous Bugs: The Most Tragic Computer Bug
    5. Famous Bugs: The Most Embarrassing Computer Bug
    6. Famous Bugs: The Most Famous Computer Bug
    See TechTV [techtv.com] for more details.

    I still think the bug in converting between metric and imperial units causing a billion dollar Mars probe to crash is the top one.

    Regards,
    --
    *Art
  • by tds67 (670584) on Tuesday September 09 2003, @12:01PM (#6911798)
    What is your favorite computer bug story?

    I don't know if this counts, but here goes:

    I worked as student help at a college that had a PDP-11 based mainframe. One night it went down. Computer techs were called out but could find nothing wrong. This continued night after night at about the same time each night. So the techs hung around after hours to keep an eye on it.

    Around 6:30pm, the cleaning woman came in with her vaccuum cleaner. She promptly went over to the wall socket, unplugged the mainframe, plugged in her vaccuum cleaner and started vaccuuming the floor.

    • by dracken (453199) on Tuesday September 09 2003, @12:39PM (#6912234) Homepage
      The is a legendary story attributed to Guy Lewis Steele - the inventor of scheme.

      Magic Switch Story

      Some years ago, I was snooping around in the cabinets that housed the MIT AI Lab's PDP-10, and noticed a little switch glued to the frame of one cabinet. It was obviously a homebrew job, added by one of the lab's hardware hackers (no-one knows who).

      You don't touch an unknown switch on a computer without knowing what it does, because you might crash the computer. The switch was labelled in a most unhelpful way. It had two positions, and scrawled in pencil on the metal switch body were the words "magic" and "more magic". The switch was in the "more magic" position.

      I called another hacker over to look at it. He had never seen the switch before either. Closer examination revealed that the switch had only one wire running to it! The other end of the wire did disappear into the maze of wires inside the computer, but it's a basic fact of electricity that a switch can't do anything unless there are two wires connected to it. This switch had a wire connected on one side and no wire on its other side.

      It was clear that this switch was someone's idea of a silly joke. Convinced by our reasoning that the switch was inoperative, we flipped it. The computer instantly crashed.

      Imagine our utter astonishment. We wrote it off as coincidence, but nevertheless restored the switch to the "more magic" position before reviving the computer.

      A year later, I told this story to yet another hacker, David Moon as I recall. He clearly doubted my sanity, or suspected me of a supernatural belief in the power of this switch, or perhaps thought I was fooling him with a bogus saga. To prove it to him, I showed him the very switch, still glued to the cabinet frame with only one wire connected to it, still in the "more magic" position. We scrutinized the switch and its lone connection, and found that the other end of the wire, though connected to the computer wiring, was connected to a ground pin. That clearly made the switch doubly useless: not only was it electrically nonoperative, but it was connected to a place that couldn't affect anything anyway. So we flipped the switch.

      The computer promptly crashed.

      This time we ran for Richard Greenblatt, a long-time MIT hacker, who was close at hand. He had never noticed the switch before, either. He inspected it, concluded it was useless, got some diagonal cutters and diked it out. We then revived the computer and it has run fine ever since.

      We still don't know how the switch crashed the machine. There is a theory that some circuit near the ground pin was marginal, and flipping the switch changed the electrical capacitance enough to upset the circuit as millionth-of-a-second pulses went through it. But we'll never know for sure; all we can really say is that the switch was magic.

      I still have that switch in my basement. Maybe I'm silly, but I usually keep it set on "more magic".

      GLS
  • by DoctorHibbert (610548) on Tuesday September 09 2003, @12:09PM (#6911874)
    Seen on the license plate of a VW Beetle: FEATURE
  • by Tumbleweed (3706) on Tuesday September 09 2003, @12:18PM (#6911991) Homepage
    Okay, back in the day(tm), I worked in technical support at Spry, makers of Internet in a Box(tm). One of my duties was to write up bug reports for the internal support system for the tech support reps.

    Turns out we had a bug in Spry Mosaic that, when it hit an empty IMG tag (as in, nothing else in the tag but the letters IMG), it would instantly crash. When I wrote up the document, I forgot to escape the less-than and greater-than marks, so it put the actual tag in the tech support document.

    The upshot - when the tech support reps searched the database for 'crash in browser', one of the hits that would come up was the document I made - when they loaded it to see the details on 'crash in browser', that's exactly what they got. Ooops.

    I can laugh about it now.

    Actually, I laughed about it then, too. :)
  • Edison (Score:5, Informative)

    by falsification (644190) on Tuesday September 09 2003, @12:20PM (#6912015) Journal
    Sorry, but "bug" is older.

    From the OED:

    b A defect or fault in a machine, plan, or the like. orig. U.S.

    1889 Pall Mall Gaz. 11 Mar. 1/1 Mr. Edison, I was informed, had been up the two previous nights discovering `a bug' in his phonograph-an expression for solving a difficulty, and implying that some imaginary insect has secreted itself inside and is causing all the trouble.
  • by digitalhermit (113459) on Tuesday September 09 2003, @12:21PM (#6912029) Homepage
    When I worked as a technicion for UPS I was often called upon to visit customers at their businesses or homes. I visited this guy near Pt. Charlotte, FL (and that's another horror story in itself) who had a PC damaged during shipping. I should have known before I entered his house that it would be BAD -- there were shopping carts, old engines, tree branches all around his property. When I finally navigated through his living room into his (horrors) bedroom where the PC sat, I was already getting nauseous.

    "What's wrong with it?" I asked, since there didn't seem to be any damage.

    "It won't turn on," said he.

    OK, no problem. As a technician we were allowed to pop open the PC to check if it was simply a cable or card that came loose during shipping. No problem. I pulled out my screwdriver and started undoing the case. Soon as popped the top a bunch of massive roaches scampered out.... followed by dozens of little miniature ones. Now, I HATE ROACHES. I can play with grasshoppers, earthworms, beetles, and other critters but roaches just give me the willies. The guy just looked at them marching around as if they were some little pets. With supreme effort I put everything back together and turned on the PC. It booted! The only sickenging thing was this flick-flick noise coming from the fan. I think there's a roach still lodged in the fan to this day, its little antennae wiggling, its nasty little legs twitching back and forth. flick-flick-flick...

    (true story)
  • by druske (550305) on Tuesday September 09 2003, @12:37PM (#6912209)
    Couldn't resist the "favorite computer bug" temptation...

    In college, around 1982, a friend had a micro by a company called Ohio Scientific, a Challenger something-or-other (I think that's right). The machine was running a BASIC interpreter, and had a character set that supported some simple games. Among the special characters supported were "tanks" in various orientations, so one could write a simple tank hunting game. Which he did.

    We noticed when we started playing that we could move the tank offscreen and back, since he hadn't put any bounds checking to constrain the tank movement. When we toured too far offscreen, however, the program crashed.

    We typed LIST to have a look at where bounds checking might be added to the code, and we found the runaway tank. Leaving a swath of blank spaces behind it, there was the tank character embedded in a line of BASIC source code...
  • by Qbertino (265505) on Tuesday September 09 2003, @12:40PM (#6912242)
    The actuall real bug was taped into the book because it was an actual *real* bug. The Pun was intended back then aswell. The term debugging had been used earlier when debugging ENIAC (real bugs too) and finding unusual and nerving errors.
  • Bug,

    b. A defect or fault in a machine, plan, or the like. orig. U.S.

    1889 Pall Mall Gaz. 11 Mar 1/1 Mr. Edison, I was informed, had been up the two previous nights discovering 'a bug' in his phonograph-an expression for solving a difficulty, and implying that some imaginary insect has secreted itself inside and is causing all the trouble.

    Oxford English Dictionary, 2nd Edition



    Quoted from Chapter 5 of The Practice of Programming, by Brian W. Kernighan and Rob Pike.

  • by trb (8509) on Tuesday September 09 2003, @01:37PM (#6912890)
    A favorite bug story, this one involved Apollo workstations [umich.edu], which were interesting and innovative machines, and a strong competitor to Sun in the 1980's.

    Apollos were well networked, and it was possible to manipulate the parameters of the windowing system on one machine from another machine (like you can with X Window system, given sufficient permissions).

    The Apollos had a command to change the mouse speed (similar to the X "xset m" command). It took a numeric value specifying the pointer distance to travel per unit time. The bug was that if you specified a negative value, the mouse pointer would travel backwards. No big surprise really, and not very interesting.

    When this bug was discovered but not yet fixed or widely known, someone decided to play a practical joke, and walked into a fellow hacker's office and sat at his workstation and started playing with his mouse. A few seconds later (with the help of a hidden assistant in another office), the hacker says, hey look, there's something wrong with your mouse, it's all backwards. Sure enough, the mouse is acting all upside-down. The prankster then says, hey, I know what's wrong, have you cleaned your mouse lately? You must have put your mouse ball in upside down. He then pops the mouse ball out and pops it back into the mouse, and sure enough (with hidden assistance), the mouse works normally again. The victim of the practical joke was, of course, entirely puzzled.

  • Favorite story (Score:5, Interesting)

    by El (94934) on Tuesday September 09 2003, @01:46PM (#6913000)
    It school in the late '70s, they purchased a second PDP 11-34, and the sys admins thought "wouldn't it be cool if we could get the two machines to communicate!" So they connected a serial port on one to a serial port on the other. Tried to send a packet... Boom! Both machines immediately crashed. Rebooted, reconnected the serial port, started a send, crashed again. Finally, it dawned on them... they hadn't disabled terminal echo. When the first character was sent, it was immediately echoed by the second machine, then echoed by the first, etc. Comm interrupts were high priority and a lot of overhead on the PDP, so the machines never left the interrupt handler, and essentially were hung.
  • by jmorse (90107) <joe_w_morse&nospYAHOoam,com> on Tuesday September 09 2003, @02:08PM (#6913250) Homepage Journal

    Tracking #: 121144608
    Title: Bush robot constantly makes grammatic mistakes and makes up words.

    Problem Detail:
    Corporate puppet robot model George W. Bush (serial #44625441) exhibits erratic grammatical behavior when deviating from scripted speeches. Often uses words like "subliminable", "methodological", "mispronunciated", "stregic", and "permanency" in place of their English equivalents. Platinum users (Haliburton, Exxon/Mobil, Chevron, Bechtel, Kenneth Lay) have noticed other erratic grammatical behavior, including such phrases as "is our children learning", "we need to make the pie higher", and "will the highways on the internet become more few". Strongly suspect some Jim Beam spilled into the model's grammar logic circuits during an all-night instructional binge session with Barbara and Jenna. Suggest immediate implementation of gaffe-filtering algorithm on all corporate media modules to limit the damage from this bug.

    Problem Resolution:
    Media filters in place as of 12 SEP 2001. Language errors are no longer being reported in the corporate media. Suggest further workaround of detaining at Guantanamo Bay register all non-corporate media modules that are incompatible with gaffe-filtering algorithm.

    • by Austerity Empowers (669817) on Tuesday September 09 2003, @12:36PM (#6912202)
      My favorite bug was on a high speed ATM chip designed a few years back. I have heard this story retold by many, and I have nothing but sympathy for the poor guy doing the testing.

      Imagine you have your first silicon back from the fab, never tested, using a brand new process with brand new drivers. You have one development board, because some short sighted, penny pincher manager couldn't imagine why you might want to get a few boards for testing. You turn it on, and the chip goes up, and down...andup....and down... Further investigation via copious TCL/TK scripts pinpoints the problem to the high speed link that provides the chip with it's incoming data.

      "Damn you say", knowing that your alpha customers are mfg'ing boards using this chip as you sit there. Without that high speed serdes the chip is just a very expensive toaster. You know your customers have a second design with a competing chip that will be released in a few weeks (this was 5 years ago, when money was available for this).

      You start to go through your tests on the buffers, first boundary scan tests, then signal integrity tests. Sometimes it works, sometimes it doesn't. You probe the device using your handy multimeter and pressing on a pad under the chip, then with the other lead on some exposded trace. "It's connected, gotta be something internal". You can't see any signal integrity problems, nor connectivity problems. No fluctuations in power, no excessive noise, blame the IC team!

      You have a bunch of guys restart their spice simulations with some uber accurate model that will take forever to run, and it comes back with no problems. You have the digital team rerun their test vectors, but nothing.

      Finally you throw your hands in the air after a week of soldering, measuring, calculating, testing, etc. You send the board back to have the ASIC lifted and replaced with a new one. They x-ray the board, just to be sure they didn't crack any traces, and see something funny. Not a crack, but...foreign matter, and it's big. They put it under a magnifying glass and take a picture, which you put on your wall and remember forever.

      The "bug" was a small ant, pressed between the ball of the BGA and the pad, which must have wandered across the board and become stuck before pick and place. Completely invisible, and smashed such that the ball barely made contact with the pad. Heat, vibration, humiditiy, and pressure (of, say, someone holding the chip down while trying to do a conductivity test), all making the difference between working and not working.

      Sometimes there really are bugs in the system!