Showing posts with label debugging. Show all posts
Showing posts with label debugging. Show all posts

2010-09-23

Debugging a non-existent bug

I visited one of my clients last week, to find a tester of one of their products waiting with a critical bug report. The product homepage was giving rise to a warning `This site is potentially harmful to your computer. ...' I tried, and did not receive such a message. He walked away perplexed.

Five minutes later, he called saying that this `bug' was reproducible, but only in his machine. I asked him which browser he was using. ``IE 6," he responded. I asked him to check using Firefox, and report back.

He called right back. His voice sounded even more perplexed. ``Not reproducible using Firefox, sir," he said feebly.

``Yes, there is a bug," I retorted, ``not in your product, but in your browser!"

2010-08-16

Short war story

One of my clients upgraded their network cabling over the weekend. Today morning, all connection attempts to all Oracle database servers started taking too long to materialize. The systems administrator called me in the afternoon, apparently, after exhausting all possible solutions that he could think of.

I asked him if ssh to those database servers (all of which run Linux) was connecting immediately. He checked, and replied that it was. Initially, I too was confused. I then asked him if the same IP addresses (and not any other virtual addresses) were being used in tnsnames.ora on the application servers.

Then came the answer. He checked, and replied that tnsnames.ora did not have any IP addresses at all. It had only host names! The obvious culprit, then, was DNS. When the DNS server was restarted, the world returned to normality.