代码之家  ›  专栏  ›  技术社区  ›  el-flor

iOS-无法跟踪此崩溃错误

  •  0
  • el-flor  · 技术社区  · 9 年前

    我正在使用Crashlytics 3.6.0,最近我收到了一些我无法阅读/理解的车祸报告。它们似乎只在iOS 8上发生(但无法100%确认)。

    Thread : Crashed: com.apple.main-thread
    0  libobjc.A.dylib                0x197fcfbd0 objc_msgSend + 16
    1  UIKit                          0x18c035c60 -[UIControl _sendActionsForEvents:withEvent:] + 124
    2  UIKit                          0x18c293e7c -[UISwitch _handleLongPressNL:] + 424
    3  UIKit                          0x18c1af508 _UIGestureRecognizerSendActions + 276
    4  UIKit                          0x18c048050 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 580
    5  UIKit                          0x18c4b420c ___UIGestureRecognizerUpdate_block_invoke662 + 60
    6  UIKit                          0x18c00c530 _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 292
    7  UIKit                          0x18c00a8dc _UIGestureRecognizerUpdate + 2504
    8  UIKit                          0x18c0461f8 -[UIWindow _sendGesturesForEvent:] + 1044
    9  UIKit                          0x18c045898 -[UIWindow sendEvent:] + 660
    10 UIKit                          0x18c018fa8 -[UIApplication sendEvent:] + 264
    11 infinight                      0x1003ebe00 -[IBGMethodSwizzler sendEvent:] (IBGMethodSwizzler.m:103)
    12 UIKit                          0x18c2b7f58 _UIApplicationHandleEventFromQueueEvent + 14992
    13 UIKit                          0x18c017510 _UIApplicationHandleEventQueue + 1616
    14 CoreFoundation                 0x18781e9ec __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
    15 CoreFoundation                 0x18781dc90 __CFRunLoopDoSources0 + 264
    16 CoreFoundation                 0x18781bd40 __CFRunLoopRun + 712
    17 CoreFoundation                 0x1877490a4 CFRunLoopRunSpecific + 396
    18 GraphicsServices               0x1908eb5a4 GSEventRunModal + 168
    19 UIKit                          0x18c07e3c0 UIApplicationMain + 1488
    20 infinight                      0x10013af44 main (main.m:16)
    21 libdyld.dylib                  0x19862aa08 start + 4
    

    有人能帮我找出错误吗?我无法再现错误——它不会发生在我的设备或模拟器上。但在过去几天里,我从测试用户那里收到了大量类似这样的崩溃报告。

    1 回复  |  直到 9 年前
        1
  •  0
  •   el-flor    9 年前

    这是一个仅在iOS 8上出现的错误。为了重现错误,我下载了iOS 8.1模拟器并发现了错误。为了获得准确的错误消息,我转到了编辑方案和启用僵尸对象。这向我显示了确切的错误消息:

    *** -[NamedUISwitch _sendActionsForEvents:withEvent:]: message sent to deallocated instance