Something flaky in some software somewhere in the phone - the ROM, Pandora, Youtube, somewhere. Since I don't have source code for any of them, I wouldn't even try to make a wild guess as to what's interacting with what. Finding the name of the guy who discovered how to produce fire when wanted would probably be easier.