I have a Samsung Galaxy S phone, the Captivate & the same problem is encountered. I am 99% sure that this problem started after updating to FROYO. The problem was solved naturally after a few days. Try turning your phone off & take the battery out for a couple of minutes.
Visit your local cell phone shop if the problem is not solved, because your phone is probably defected.