CyanogenMod/android_frameworks_base — comment on commit af33dd43f15b63d92966719073827f3cfd44a7a3
File:  line 0
By CiaranG:

This is interesting - I've been hit twice by this in the last week. I found the zero length profile.xml by chance the first time by poking around via ssh while the phone was stuck on the boot screen. Deleted and rebooted and everything was fine. I'm wondering what prompted you to make this commit though - I'm trying to track down what's caused this to happen in the first place.

On both occasions the phone (GalaxyS, CM7.1) was in my pocket, powered up and happy when last seen. Took it out of my pocket to see the eternal boot animation.