这个崩解日志的原因是什么?

时间:2014-06-12 12:57:35

标签: ios crashlytics

我有一个崩溃的iOS应用程序,在无法从iTunes连接提供的崩溃日志中找到原因后,我添加了crashlytics。我现在遇到了由用户发生的相同崩溃事件(我自己无法重复)并且有一个崩溃日志。但是,我无法在其中看到任何东西,它告诉我的不仅仅是原始的苹果日志,也没有任何指向原因的东西。任何人都可以指出我正确的方向到达底部吗? 谢谢,亚当

这是崩解日志:

0
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x1000000c


Thread : Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x3b0c1626 objc_msgSend + 5
1  UIKit                          0x32ef950f __32-[UIActionSheet _slideSheetOut:]_block_invoke + 62
2  UIKit                          0x32d413c5 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 496
3  UIKit                          0x32e669bf +[UIView(Internal) _animateUsingSpringWithDuration:delay:options:mass:stiffness:damping:initialVelocity:animations:start:completion:] + 146
4  UIKit                          0x32e6691f +[UIView(Internal) _animateUsingSpringWithDuration:delay:options:mass:stiffness:damping:initialVelocity:animations:completion:] + 90
5  UIKit                          0x32ef949f -[UIActionSheet _slideSheetOut:] + 430
6  UIKit                          0x32ef925f -[UIActionSheet dismissWithClickedButtonIndex:animated:] + 1078
7  UIKit                          0x32d41057 -[UIApplication sendAction:to:from:forEvent:] + 90
8  UIKit                          0x32d40ff7 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 30
9  UIKit                          0x32d40fd1 -[UIControl sendAction:to:forEvent:] + 44
10 UIKit                          0x32d2c737 -[UIControl _sendActionsForEvents:withEvent:] + 374
11 UIKit                          0x32d40a4f -[UIControl touchesEnded:withEvent:] + 590
12 UIKit                          0x32d40721 -[UIWindow _sendTouchesForEvent:] + 528
13 UIKit                          0x32d3b6eb -[UIWindow sendEvent:] + 758
14 UIKit                          0x32d108ed -[UIApplication sendEvent:] + 196
15 UIKit                          0x32d0ef97 _UIApplicationHandleEventQueue + 7102
16 CoreFoundation                 0x304bb25b __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
17 CoreFoundation                 0x304ba72b __CFRunLoopDoSources0 + 206
18 CoreFoundation                 0x304b8f1f __CFRunLoopRun + 622
19 CoreFoundation                 0x30423f4f CFRunLoopRunSpecific + 522
20 CoreFoundation                 0x30423d33 CFRunLoopRunInMode + 106
21 GraphicsServices               0x35349663 GSEventRunModal + 138
22 UIKit                          0x32d6f16d UIApplicationMain + 1136
23 starlesson                     0x00072dcf main (main.m:14)

1 个答案:

答案 0 :(得分:2)

您的应用中存在内存问题。

您应用中的某个位置会显示UIActionSheet。现在,用户按下按钮(dismissWithClickedButtonIndex),操作表应滑出(_slideSheetOut)。

当滑出一个块时,试图将方法发送到不再存在的对象:objc_msgSend。这可能是操作表的delegate

因此,您应该检查项目中使用操作表的位置以及与之交互的代理或任何其他对象。