iphone - 需要帮助查找崩溃原因

标签 iphone ios objective-c ipad

以下是 iPad 上的崩溃日志。当我从导航 Controller 中推送和弹出 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

最佳答案

很久以前就能弄清楚,但忘记在这里更新。 KVO 观察者未移除!愚蠢的我:-|。顺便说一句,感谢您的支持。太棒了。

关于iphone - 需要帮助查找崩溃原因,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16057808/

相关文章:

iphone - MKCoordinateRegionMakeWithDistance 没有在 MapView 上设置正确的区域

ios - 您可以使用一流函数将变量设置为等于具有默认参数的函数吗?

ios - 通过我的应用程序打开 Instagram 应用程序

ios - 在我的AIR应用(IOS)中为准备好的youtube视频违反安全沙箱的行为

objective-c - iOS/Objective-C : Creating a UIScrollView which fills screen and reorients

objective-c - subview 上无法识别手势

iphone - NSString 的自定义 setter

iphone - 我想使用 Phonegap 仅定位 iPhone(不是 iPad)

iphone - endTurnWithNextParticipant 弃用

ios - 我如何使用 IBAction 按钮使用 Swift 转到下一个 Storyboard?