APN通知进入设备导致跳板SIGABRT崩溃,但仅当应用程序背景化时。运行5.0(9a334)。
设备控制台显示了这条有趣的内容:
Oct 28 12:36:03未知的SpringBoard [15]: * 终止应用 由于未捕获的异常'NSInvalidArgumentException',原因: ' - [NSNull length]:无法识别的选择器发送到实例0x3e7bc5c0
也生成了崩溃日志:
流程:SpringBoard [15]路径:
/System/Library/CoreServices/SpringBoard.app/SpringBoard Identifier:
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
Last Exception Backtrace:0 CoreFoundation
0x310d68bf exceptionPreprocess + 163 1 libobjc.A.dylib
0x3827b1e5 objc_exception_throw + 33 2 CoreFoundation
0x310d9acb - [NSObject doesNotRecognizeSelector:] + 175 3
CoreFoundation 0x310d8945 __ 转发 + 301 4
CoreFoundation 0x31033680 _CF_forwarding_prep_0 + 48 5 SpringBoard 0x001ccc39 0x72000 + 1420345 6
SpringBoard 0x001cb237 0x72000 + 1413687 7
SpringBoard 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_SOURCE1_PERFORM_FUNCTION + 39 13 CoreFoundation 0x310aa4f5 __CFRunLoopDoSource1 + 141 14 CoreFoundation 0x310a9343 __CFRunLoopRun + 1371 15 CoreFoundation
0x3102c4dd CFRunLoopRunSpecific + 301 16 CoreFoundation
0x3102c3a5 CFRunLoopRunInMode + 105 17图形服务
0x33c5afed GSEventRunModal + 157 18 UIKit
0x3309e743 UIApplicationMain + 1091 19 SpringBoard
0x00075ac7 0x72000 + 15047 20 SpringBoard
0x00075108 0x72000 + 12552