We did a restore of my wife's phone to factory settings a few days ago, knowing that this is what Apple would probably insist on doing to eliminate the possibility of a software error (like a buggy app or something). My plan was to let her use the phone normally (though inconveniently, since it doesn't have any of her apps on it now), wait until the error happened again, and then take it into the Mac store to have them observe it. So far, it hasn't happened yet, to my surprise. She hasn't used the phone as regularly as she had been, so it isn't an apples to apples test just yet. But if after a few more days the problem doesn't resurface, then I am going to conclude that it is not a hardware problem but a software problem, at which point we'll probably start adding back apps and such carefully, watching closely to see if the error happens again, similar to how we introduced new foods carefully to our kids watching closely for any food allergies.