Ask HN: What is the funniest bug you encountered?
21–30 of 66 posts
Re: Ask HN: What is the funniest bug you encountered?
#22Spiders.
Customer put one of our server in a shack outside the main building. Spiders and other bugs got in the server causing the hardware to fail. We never never thought of testing our against an arachnid infestation.
Re: Ask HN: What is the funniest bug you encountered?
#23Tester worked a later shift (noon to 8pm) and was running scenarios. Got a really odd error that made contracted pricing incorrect. Developer came in the next morning and ran the scenario just fine. Tester repeated the scenario at 6:30PM and got the same error. Both thought the other was nuts and this went on for a week. Found out it was an interaction issue when using the time (UDT) to get the current market date. L…
I also found a test breaking on Mondays. Never on any other day. It tested a sum for the current week but made the mistake of creating models for "yesterday" which is on another week if it's the first day of the week (depending on location, Monday in Europe, Sunday in the USA).
At the appointed time the cleaner came by, unplugged his machine from the power socket and plugged in the vacuum cleaner to clean the room, and when done, plugged the machine back in.
Re: Ask HN: What is the funniest bug you encountered?
#24I had this bug that can reproduce only on a specific hp notebook, after running certain stress test for days. The issue (a crash) was in a device driver we were developing, but the root cause was because 1 single bit in the host memory was flipped randomly. My coworker joked that this bug was due to strong sunspot activities during those days (We indeed saw news about strong sunspot activities at the time.), so that…
Re: Ask HN: What is the funniest bug you encountered?
#25Not really a bug, but.. An early release of our product (not to be named), contained a database that contained a perl script that was written out to a web server. The person who took over maintaining this script looked at the original author's code and put a comment line in containing the descriptive phrase "Chicken Goat Fuck Logic" (aka "CGF Logic"). We accidentally forgot to remove that comment before producing the…
Re: Ask HN: What is the funniest bug you encountered?
#26An embedded system written in C++ had a Singleton. The Singleton pattern means that you have one instance, which has to live somewhere. This implementation had the instance as a static variable in the getInstance() method, e.g.: Foo* getInstance() { static Foo; return foo; } This is perfectly valid. Unfortunately, getInstance() was implemented in Foo.h, not in Foo.cpp. But in C++, functions in header files are inline…
Re: Ask HN: What is the funniest bug you encountered?
#27Worked fine in the office. Every time we went up on the mountain to test, the video didn't work. Go back to the hotel it worked fine.
Whole project was going to fail because of this. Finally it worked once on the mountain, so we proved the system could work.
Finally I found the bug. When setting the video orientation, I was passing in device orientation instead of UI orientation. In my office, I always have my iPad on a stand, so device orientation matched ui orientation and everything worked fine.
When I was on the mountain, I held the iPad flat so I could shield it from the sun with my body, then I'd lift it up when the athlete was about to start. The video would fail to record if device orientation was 'down' since that isn't a valid orientation to rotate video.
I only ended up finding it because I ended up leaving my iPad stand at home one day.
Re: Ask HN: What is the funniest bug you encountered?
#28Re: Ask HN: What is the funniest bug you encountered?
#29I had this bug that can reproduce only on a specific hp notebook, after running certain stress test for days. The issue (a crash) was in a device driver we were developing, but the root cause was because 1 single bit in the host memory was flipped randomly. My coworker joked that this bug was due to strong sunspot activities during those days (We indeed saw news about strong sunspot activities at the time.), so that…
The errors on all the sites were reporting a broken sql query - something like "select * from qccounts...". I guess the way ASP worked meant that the code was stored in a common location in memory for all the sites.
I like to imagine some cosmic event millions of years ago flipped that bit...
Re: Ask HN: What is the funniest bug you encountered?
#30One amusing one springs to mind: an image thumbnailer on a website for a very popular all-girl band. It was "smart" and cropped images to the right aspect ratio based on entropy in the image. In practice, this manifested itself as a foot fetish – if a photo included feet, it would centre the thumbnail on the feet almost every time. The gallery index pages looked quite odd.