理解ios堆栈跟踪[__NSArrayM insertObject:atIndex:]

时间:2015-03-31 18:13:47

标签: ios

我正在编写iOS应用程序,并在应用程序中遇到奇怪的行为。它通常无错误地运行,但该应用程序设计为在iPad上保持打开状态多天。使用几天左右后,它似乎无法打开并在打开时崩溃。如果我重新下载该应用程序,它将打开正常而不会崩溃。

以下是典型崩溃的堆栈跟踪摘录。在应用程序的某处可能存在阵列插入问题,但我该如何调试此问题呢?

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                  0x26cbb5a2 __exceptionPreprocess + 122
1   libobjc.A.dylib                 0x34cc2c72 objc_exception_throw + 34
2   CoreFoundation                  0x26bd6cb4 -[__NSArrayM insertObject:atIndex:] + 616
3   InstaAid                        0x00074b76 0x69000 + 47990
4   libdispatch.dylib               0x3522dc7e _dispatch_call_block_and_release + 6
5   libdispatch.dylib               0x3522dc6a _dispatch_client_callout + 18
6   libdispatch.dylib               0x3523954e _dispatch_main_queue_callback_4CF$VARIANT$mp + 1318
7   CoreFoundation                  0x26c8188c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 4
8   CoreFoundation                  0x26c7ffac __CFRunLoopRun + 1508
9   CoreFoundation                  0x26bccb4c CFRunLoopRunSpecific + 472
10  CoreFoundation                  0x26bcc95e CFRunLoopRunInMode + 102
11  GraphicsServices                0x2e1091a4 GSEventRunModal + 132
12  UIKit                           0x2a21ec8c UIApplicationMain + 1436
13  InstaAid                        0x00076b8c 0x69000 + 56204
14  libdyld.dylib                   0x3526baaa tlv_initializer + 2

0 个答案:

没有答案