The first recorded computer "bug" was a real moth, found trapped in a relay of the Harvard Mark II computer on September 9, 1947.
The preserved logbook page from the Harvard Mark II computer, featuring the moth that caused a malfunction, is housed in the Smithsonian Institution's archives [REAL PHOTO]
Although the term "bug" for technical faults predates this event used as early as the 1870s by Thomas Edison, the moth incident popularized “debugging” in computer science.