【发布时间】:2014-06-19 14:14:54
【问题描述】:
我在 5 天前搜索有关此崩溃的信息,但我可以找到我的应用程序有时会崩溃的原因。 我正在使用 Crittercism 库来记录我的崩溃。 dSYM 文件已正确上传到 Crittercism 网站。这里是 Crittercism 的崩溃日志:
0 libobjc.A.dylib 0x38540626 objc_msgSend + 6
1 UIKit 0x307baaf7 -[_UIModalItemsCoordinator _notifyDelegateModalItem:tappedButtonAtIndex:] + 95
2 UIKit 0x307ba96d -[_UIModalItemAlertContentView tableView:didSelectRowAtIndexPath:] + 749
3 UIKit 0x306c205f -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1079
4 UIKit 0x30774377 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 215
5 UIKit 0x306236f5 _applyBlockToCFArrayCopiedToStack + 317
6 UIKit 0x3059c55b _afterCACommitHandler + 431
7 CoreFoundation 0x2dd532a5 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 21
8 CoreFoundation 0x2dd50c49 __CFRunLoopDoObservers + 285
9 CoreFoundation 0x2dd50f8b __CFRunLoopRun + 731
10 CoreFoundation 0x2dcbbf0f CFRunLoopRunSpecific + 523
11 CoreFoundation 0x2dcbbcf3 CFRunLoopRunInMode + 107
12 GraphicsServices 0x32bc0663 GSEventRunModal + 139
13 UIKit 0x3060716d UIApplicationMain + 1137
14 myApp 0x000c3357 main (main.m:16)
15 libdyld.dylib 0x38a43ab7 start + 3
问题是:我的应用中有很多 UITableView。但我找不到它是哪一个。 我必须如何处理才能调试此崩溃?我没有在 Apple Developer Center 上找到一些有用的信息。我尝试使用 atos 命令来符号化文件,但没有有用的信息。这与 Crittercism 网站上的信息完全相同。
这里我使用的命令:atos -arch armv7 -o myApp(进入interactif模式,然后,输入每个内存地址,如:0x307baaf7)
我只有 myApp.app.dSYM 存档,并且要使用此命令(上图),我使用了位于以下路径的存档文件:Contents/Resources/DWARF/myApp
我真的迷路了。任何的想法 ?建议?非常感谢您的帮助。
编辑 1:
我检查了我所有的 UIAletView 和 UIAlertView 的委托:一切正常。
我在 Crittercism 上看到了崩溃日志(仅在 iOS 7、iPhone 和 iPad 上,63 位用户发生了大约 120 次崩溃)。 我无法复制它!我真的不明白。
【问题讨论】:
-
也许是的。事实上,我有一个带有委托 = self 的 UIAlertView,并且没有实现委托方法。我将检查此崩溃是否持续存在并继续关注您。
-
好吧。又是我。在 set delegate = nil 因为我没有使用任何委托方法后,崩溃仍然存在。我无法重现它,但我在批评中看到一些用户发生了这种崩溃,我不知道它在我的代码中的什么位置。真的很痛苦,我不明白。
标签: ios crash crash-reports symbolicatecrash crittercism