APN通知进入设备导致跳板SIGABRT崩溃,但仅在应用程序背景化时才会发生 . 运行5.0(9a334) .

Device Console显示了这条有趣的内容:

Oct 28 12:36:03未知的SpringBoard [15]:*由于未捕获的异常'NSInvalidArgumentException'而终止应用程序,原因:' - [NSNull length]:无法识别的选择器发送到实例0x3e7bc5c0

还生成了崩溃日志:

进程:SpringBoard [15]路径:/System/Library/CoreServices/SpringBoard.app/SpringBoard标识符:SpringBoard版本:??? (???)代码类型:ARM(Native)父进程:launchd [1]日期/时间:2011-10-28 12:36:03.846 0100操作系统版本:iPhone OS 5.0(9A334)报告版本:104例外类型: EXC_CRASH(SIGABRT)异常代码:0x00000000,0x00000000崩溃线程:0最后异常Backtrace:0 CoreFoundation 0x310d68bf exceptionPreprocess 163 1 libobjc.A.dylib 0x3827b1e5 objc_exception_throw 33 2 CoreFoundation 0x310d9acb - [NSObject doesNotRecognizeSelector:] 175 3 CoreFoundation 0x310d8945 __forwarding 301 4 CoreFoundation 0x31033680 _CF_forwarding_prep_0 48 5跳板0x001ccc39 0x72000 1420345 6跳板0x001cb237 0x72000 1413687 7跳板0x00154abd 0x72000 928445 8 ApplePushService 0x3385d6bd - [APSConnection _deliverMessageForTopic:USERINFO:] 277 9 ApplePushService 0x3385e13f _APSDeliverMessage 239 10 ApplePushService 0x3385eaf9 _XDeliverMessage 393 11 AppSupport 0x373913e1 migHelperRecievePortCallout 173 12的CoreFoundation 0x310aa553 CFRUNLOOP_IS_CALLING_OUT_TO_A_SO URCE1_PERFORM_FUNCTION 39 13的CoreFoundation 0x310aa4f5 __CFRunLoopDoSource1 141 14的CoreFoundation 0x310a9343 __CFRunLoopRun 1371 15的CoreFoundation 0x3102c4dd CFRunLoopRunSpecific 301 16的CoreFoundation 0x3102c3a5 CFRunLoopRunInMode 105个17 GraphicsServices 0x33c5afed GSEventRunModal 157 18的UIKit 0x3309e743 UIApplicationMain 1091 19跳板0x00075ac7 0x72000 15047 20跳板0x00075108 0x72000 12552