I am checking:
[[UIDevice currentDevice] systemName]
in applicationDidEnterBackground. It is causing a EXC_BAD_ACCESS (SIGSEGV) signal. The stack trace shows that this is occurring internally in UIDevice, which is calling CFDictionaryGetValue.
Experimenting, calling:
CFDictionaryGetValue(NULL, "key");
results in the same error.
Any ideas? I have searched for documentation about accessing UIDevice while in the background and found nothing to indicate it should be a problem.
Thanks