Help with why my app crashed?
Posted
by
Moshe
on Stack Overflow
See other posts from Stack Overflow
or by Moshe
Published on 2011-01-01T22:56:44Z
Indexed on
2011/01/02
4:54 UTC
Read the original article
Hit count: 251
I'm writing an iPad app that is a "kiosk" app. The iPad should be hanging on the wall and the app should just run. I did a test, starting the app last night (Friday, December 31) and letting it run. This morning, when I woke up, it was not running. I just checked the iPad's console and I can't figure out why it crashed.
The iPad was plugged in and so the battery is not the issued. I did disable the idleTimer in my application delegate. The app was seen running as late as midnight last night.
I would like to note that my app acts as a Bluetooth server through Game Kit and large portion of the console output is occupied by bluetooth status messages.
When I opened the iPad, the app was paused and there was a system alert which prompted me to check an "Expiring Provisioning Profile". I tapped "dismiss" and the alert went away. The app crashed about a second after I dismissed the system alert.
Any ideas how I can diagnose this problem? Why would my app crash?
Here is my iPad's Console log, as copied from Xcode's organizer.
Edit:
A bit of Googling lead me to this site which says that alert views cause the app to lose focus. Could that be involved? What can I do to fix the problem?
EDIT2:
My Crash log describes the situation as:
Application Specific Information:
appname failed to resume in time
Elapsed total CPU time (seconds): 10.010 (user 8.070, system 1.940), 100% CPU
Elapsed application CPU time (seconds): 9.470, 95% CPU
© Stack Overflow or respective owner