找到崩溃原因需要帮助

时间:2013-04-17 10:36:21

标签: iphone ios objective-c ipad

以下是来自iPad的崩溃日志。我正在推送并从导航控制器中弹出UIViewController时,我随机收到此崩溃。任何帮助/指针都表示赞赏。

    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
        Exception Codes: KERN_INVALID_ADDRESS at 0x00000000
        Crashed Thread:  0

        Thread 0 name:  Dispatch queue: com.apple.main-thread
        Thread 0 Crashed:

   0   libobjc.A.dylib                  0x31430386 _ZL12realizeClassP7class_t + 34
    1   libobjc.A.dylib                 0x314303e6 _ZL12realizeClassP7class_t + 130
    2   libobjc.A.dylib                 0x3142a836 prepareForMethodLookup + 74
    3   libobjc.A.dylib                 0x3142a740 lookUpMethod + 40
    4   libobjc.A.dylib                 0x3142a70c _class_lookupMethodAndLoadCache3 + 12
    5   libobjc.A.dylib                 0x31429fc4 objc_msgSend_uncached + 20
    6   UIKit                           0x3186553e -[UINavigationItem _accumulateViewsFromItems:isLeft:refreshViews:] + 270
    7   UIKit                           0x31851244 -[UINavigationItem _updateViewsForBarSizeChangeAndApply:] + 124
    8   UIKit                           0x319e023a __33-[UINavigationBar layoutSubviews]_block_invoke_0 + 250
    9   UIKit                           0x31838b46 +[UIView(Animation) _performWithoutAnimation:] + 62
    10  UIKit                           0x3184d2e2 -[UINavigationBar layoutSubviews] + 382
    11  UIKit                           0x31814f30 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 176
    12  CoreFoundation                  0x315431f4 -[NSObject performSelector:withObject:] + 36
    13  QuartzCore                      0x35459a9e -[CALayer layoutSublayers] + 210
    14  QuartzCore                      0x354596b6 CA::Layer::layout_if_needed(CA::Transaction*) + 210
    15  QuartzCore                      0x3545d83c CA::Context::commit_transaction(CA::Transaction*) + 220
    16  QuartzCore                      0x3545d578 CA::Transaction::commit() + 308
    17  QuartzCore                      0x354554b2 CA:::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 50
    18  CoreFoundation                  0x315b8b14 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 12
    19  CoreFoundation                  0x315b6d50 __CFRunLoopDoObservers + 252
    20  CoreFoundation                  0x315b70aa __CFRunLoopRun + 754
    21  CoreFoundation                  0x3153a49e CFRunLoopRunSpecific + 294
    22  CoreFoundation                  0x3153a366 CFRunLoopRunInMode + 98
    23  GraphicsServices                0x32a13432 GSEventRunModal + 130
    24  UIKit                           0x3183fcce UIApplicationMain + 1074
    25  SmartClassTPS                   0x000b551a main (main.m:16)
    26  SmartClassTPS                   0x000b5170 start + 32

2 个答案:

答案 0 :(得分:1)

能够找到很久但忘了在这里更新。 KVO观察员没有被删除!傻我: - |。顺便说一句,感谢您的支持。太棒了。

答案 1 :(得分:0)

很可能你忘了在释放一个对象之前清除一些代表。