I created a basic timer/random number generator app. I have a tick for the timer and a noise when the number is generated. I'm currently using AVAudioPlayer for it, though I'm planning on switching to OpenAL once I learn it. Now, twice so far, when I start playing the timer or random number, the app instantly shows the Apple logo, as if it's been restarted. It happens very quickly, normally the phone takes a few seconds just to shut down. I've used the app on the go and it wasn't attached to a debugger during the times it's happened, it's not consistent. Though I don't know if a debugger could help me here, these things are supposed to be sandboxed and not doing things like restarting my phone. I have the creeping suspicion it has to do with the sound since AVAudioPlayer has only given me problems since I started using it.