2013-04-17 68 views
0

下面是來自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 
+3

一些代碼將有助於 –

+3

使殭屍對象:編輯方案 - > Diagnostics->啓用殭屍對象,最有可能的事情是釋放您試圖訪問這些對象,可以作爲線索 – Mindaugas

+0

還挺看起來像你對我失去了在您的視圖中的一個對象。你是否附加到Xcode? –

回答

1

能夠找出多久,但忘了在這裏更新。 KVO觀察員未被移除!傻我: - |。 BTW感謝您的支持。 SO岩石。

0

很可能你忘了在釋放對象之前清除一些代表。