代码之家  ›  专栏  ›  技术社区  ›  richy

UIKit UINavigationItem中的崩溃

  •  0
  • richy  · 技术社区  · 14 年前

    我的iPhone应用程序有问题,我有一个测试人员的崩溃日志,我运行了一个崩溃,但我仍然不确定是什么原因造成的。崩溃只发生在一个测试仪的设备上,我无法在我的设备上重现它。

    Hardware Model:      iPhone2,1
    
    OS Version:      iPhone OS 4.0.1 (8A306)
    
    
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x534f5031
    Crashed Thread:  0
    
    Thread 0 Crashed:
    0   libobjc.A.dylib                0x0000286c objc_msgSend + 16
    1   UIKit                          0x000765c6 -[UINavigationItem _updateViewsForBarSizeChangeIfNecessary] + 30
    2   UIKit                          0x000a26c8 -[UINavigationBar _popNavigationItemWithTransition:] + 212
    3   UIKit                          0x000a25d0 -[UINavigationBar popNavigationItemAnimated:] + 76
    4   UIKit                          0x000a2492 -[UINavigationBar _handleMouseUpAtPoint:] + 390
    5   UIKit                          0x000a22f2 -[UINavigationBar touchesEnded:withEvent:] + 54
    6   UIKit                          0x000614e6 -[UIWindow _sendTouchesForEvent:] + 362
    7   UIKit                          0x00060e60 -[UIWindow sendEvent:] + 256
    8   UIKit                          0x0005cb54 -[UIApplication sendEvent:] + 292
    9   UIKit                          0x0005c500 _UIApplicationHandleEvent + 5016
    10  GraphicsServices               0x00004140 PurpleEventCallback + 660
    11  CoreFoundation                 0x00071aa4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 20
    12  CoreFoundation                 0x00073848 __CFRunLoopDoSource1 + 160
    13  CoreFoundation                 0x00074626 __CFRunLoopRun + 514
    14  CoreFoundation                 0x0001d8e4 CFRunLoopRunSpecific + 224
    15  CoreFoundation                 0x0001d7ec CFRunLoopRunInMode + 52
    16  GraphicsServices               0x000036e8 GSEventRunModal + 108
    17  GraphicsServices               0x00003794 GSEventRun + 56
    18  UIKit                          0x000062a0 -[UIApplication _run] + 396
    19  UIKit                          0x00004e10 UIApplicationMain + 664
    20  app                            0x0000240c main (main.m:14)
    21  app                            0x000023a8 start + 44
    

    崩溃发生在拍照、转到新视图、操作照片、保存照片、发送照片、返回到以前的视图,然后尝试返回到之前的视图。

    1 回复  |  直到 14 年前
        1
  •  0
  •   Kris Markel    14 年前