gpt4 book ai didi

ios - 如何像苹果一样从堆栈跟踪中了解崩溃发生在特定线程中?

转载 作者:行者123 更新时间:2023-12-03 17:44:10 24 4
gpt4 key购买 nike

我正在使用swift Perfect创建Crash开发人员门户,我必须将类似的Crash分组,对于每个Crash,我将分配使用symbol address = stack address - load address + slide计算的address_id,现在的问题是每个堆栈包含大约20行,是否有任何方法可以找到发生崩溃的位置即使系统库中发生崩溃,像苹果这样的堆栈中的特定行也可以用于xccrashpoint

例如:当机

Thread 0 Crashed:
0 libobjc.A.dylib 0x000000018554443c objc_msgSend + 28
1 Foundation 0x0000000186cb9610 empty + 72 (NSMapTable.m:57)
2 Foundation 0x0000000186c03b18 -[NSConcreteMapTable dealloc] + 108 (NSMapTable.m:62)
3 Foundation 0x0000000186c49610 -[NSISEngine dealloc] + 392 (NSISEngine.m:1779)
4 UIKit 0x000000018fb70138 -[UIView _layoutConstraintCleanup] + 508 (UIView.m:3870)
5 UIKit 0x000000018f89e578 -[UIView dealloc] + 184 (UIView.m:3884)
6 UIKit 0x000000018fa0c500 -[UIViewController dealloc] + 700 (UIViewController.m:2340)
7 *******Framework 0x00000001018631e4 -[ViewController dealloc] + 160 (ViewController.m:536)
8 libdispatch.dylib 0x0000000185c66a14 _dispatch_client_callout + 16 (object.m:502)
9 libdispatch.dylib 0x0000000185c73698 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1016 (inline_internal.h:2500)
10 CoreFoundation 0x0000000186292544 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12 (CFRunLoop.c:1815)
11 CoreFoundation 0x0000000186290120 __CFRunLoopRun + 2012 (CFRunLoop.c:3111)
12 CoreFoundation 0x00000001861afe58 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
13 GraphicsServices 0x000000018805cf84 GSEventRunModal + 100 (GSEvent.c:2245)
14 UIKit 0x000000018f90467c UIApplicationMain + 236 (UIApplication.m:3956)
15 ******** 0x00000001004b01b0 main + 88 (main.m:14)
16 libdyld.dylib 0x0000000185ccc56c start + 4

苹果xccrashpoint:
Apple xccrashpoint
编辑:
我能够在应用程序中发生群组崩溃。

最佳答案

尝试查看此帖子,您必须检查dSYM文件以分析崩溃信息
Symbolicating iPhone App Crash Reports

关于ios - 如何像苹果一样从堆栈跟踪中了解崩溃发生在特定线程中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48571458/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com