应用程序在启动时崩溃非常罕见

时间:2011-07-02 21:42:37

标签: iphone objective-c ios crash

我的应用程序有一个奇怪的问题,有时候,非常罕见,当在iPhone4上运行时,它在开始时崩溃,我得到了崩溃日志,但我真的无法做任何事情。我有点卡住,我应该在哪里看?这是日志:

0   libsystem_kernel.dylib          0x34c96a1c __pthread_kill + 8
1   libsystem_c.dylib               0x328ee3b4 pthread_kill + 52
2   libsystem_c.dylib               0x328e6bf8 abort + 72
3   libsystem_c.dylib               0x329146d4 __assert_rtn + 140
4   My App                  0x0000fb8c 0x1000 + 60300
5   My App                  0x0000fec4 0x1000 + 61124
6   My App                  0x00009ffc 0x1000 + 36860
7   CoreFoundation                  0x359c979c __invoking___ + 60
8   CoreFoundation                  0x35941436 -[NSInvocation invoke] + 102
9   My App                  0x0005f408 0x1000 + 386056
10  My App                  0x0005c9b8 0x1000 + 375224
11  CoreFoundation                  0x3593656a -[NSObject(NSObject) performSelector:withObject:withObject:] + 18
12  My App                  0x000b60d4 0x1000 + 741588
13  My App                  0x000b6bc0 0x1000 + 744384
14  My App                  0x000b8c9c 0x1000 + 752796
15  UIKit                           0x35584bee -[UIWindow _sendTouchesForEvent:] + 362
16  UIKit                           0x35584568 -[UIWindow sendEvent:] + 256
17  UIKit                           0x3556d30c -[UIApplication sendEvent:] + 292
18  UIKit                           0x3556cc4c _UIApplicationHandleEvent + 5084
19  GraphicsServices                0x35350e70 PurpleEventCallback + 660
20  CoreFoundation                  0x3599da90 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 20
21  CoreFoundation                  0x3599f838 __CFRunLoopDoSource1 + 160
22  CoreFoundation                  0x359a0606 __CFRunLoopRun + 514
23  CoreFoundation                  0x35930ebc CFRunLoopRunSpecific + 224
24  CoreFoundation                  0x35930dc4 CFRunLoopRunInMode + 52
25  GraphicsServices                0x35350418 GSEventRunModal + 108
26  GraphicsServices                0x353504c4 GSEventRun + 56
27  UIKit                           0x35597d62 -[UIApplication _run] + 398
28  UIKit                           0x35595800 UIApplicationMain + 664
29  My App                  0x00002118 0x1000 + 4376
30  My App                  0x00002084 0x1000 + 4228

我无法找到崩溃的任何模式,它只是在30-40个应用程序初创公司中发生过一次。是什么打败了我,除了我不知道如何解释崩溃日志这一事实,为什么这种情况发生得如此罕见,没有明显的原因?

1 个答案:

答案 0 :(得分:2)

您需要symbolicate崩溃日志才能确切地看到代码的哪个部分崩溃。