【发布时间】:2015-03-19 15:23:59
【问题描述】:
我已在我的 iOS 应用程序中集成了 Crashlytics,该应用程序目前在 App Store 上运行。在我的最新更新中,我看到很多崩溃,堆栈跟踪如下所示。
Thread : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x30f6ef46 objc_msgSend + 5
1 UIKit 0x26665f07 -[UINavigationController viewWillAppear:] + 406
2 UIKit 0x265d5b1f -[UIViewController _setViewAppearState:isAnimating:] + 438
3 CoreFoundation 0x22fcf46d __53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke + 48
4 CoreFoundation 0x22fc84c3 -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 234
5 UIKit 0x265d5c9b -[UIViewController _setViewAppearState:isAnimating:] + 818
6 UIKit 0x2688c799 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 584
7 UIKit 0x26639bd9 _applyBlockToCFArrayCopiedToStack + 308
8 UIKit 0x265b5dd7 _afterCACommitHandler + 458
9 CoreFoundation 0x23069ffd __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20
10 CoreFoundation 0x230676bb __CFRunLoopDoObservers + 278
11 CoreFoundation 0x23067ac3 __CFRunLoopRun + 914
12 CoreFoundation 0x22fb53b1 CFRunLoopRunSpecific + 476
13 CoreFoundation 0x22fb51c3 CFRunLoopRunInMode + 106
14 GraphicsServices 0x2a5a2201 GSEventRunModal + 136
15 UIKit 0x2661f43d UIApplicationMain + 1440
16 MyApp 0x00123553 main (main.m:16)
我最近在我的应用中添加了插页式广告,我认为崩溃与此有关。但是我如何从这个堆栈跟踪或 crashlytics 中获取更多信息,以了解真正出了什么问题?
【问题讨论】:
-
@rmaddy - 我已经阅读了这篇文章,但我自己无法重现崩溃,因此无法进一步调试它。此崩溃日志来自 crashlytics 门户。
-
我有同样的崩溃。它只发生在 iOS 8 中,而不是一直发生,当我这样做时:dismissViewController(animated : false...)
标签: ios debugging crash crashlytics