美文网首页
IOS 通过atos与dsym文件查看崩溃详情

IOS 通过atos与dsym文件查看崩溃详情

作者: 耗子_wo | 来源:发表于2019-12-17 16:52 被阅读0次

崩溃日志如下:

Incident Identifier: 24FCC693-D52C-45E0-A61A-132983DB1C42

CrashReporter Key:  17977724837e5e5c5d8cf3cf2c5992b06a65b524

Hardware Model:      iPhone10,3

Process:            XXX [4986]

Path:                /private/var/containers/Bundle/Application/EEC1E3DD-1A1E-4D59-A36E-455AA8D8E1CF/XXX.app/XXX

Identifier:          cn.ewhale.lhzm

Version:            1 (1.1.9)

AppStoreTools:      11C29

AppVariant:          1:iPhone10,3:13

Code Type:          ARM-64 (Native)

Role:                Foreground

Parent Process:      launchd [1]

Coalition:          cn.ewhale.lhzm [2604]

Date/Time:          2019-12-17 11:59:02.8197 +0800

Launch Time:        2019-12-17 11:57:17.2487 +0800

OS Version:          iPhone OS 13.1.3 (17A878)

Release Type:        User

Baseband Version:    5.00.01

Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note:  EXC_CORPSE_NOTIFY

Triggered by Thread:  24

Application Specific Information:

abort() called

Last Exception Backtrace:

0  CoreFoundation 0x1a5d7498c __exceptionPreprocess + 220

1  libobjc.A.dylib 0x1a5a9d0a4 objc_exception_throw + 55

2  Foundation 0x1a624ad64 _AssertAutolayoutOnAllowedThreadsOnly + 319

3  Foundation 0x1a604c2dc -[NSISEngine withBehaviors:performModifications:] + 31

4  UIKitCore 0x1aa13f78c __57-[UIView+ 14342028 (AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke + 535

5  UIKitCore 0x1aa13f540 -[UIView+ 14341440 (AdditionalLayoutSupport) _switchToLayoutEngine:] + 187

6  UIKitCore 0x1aa1f81ac __45-[UIView+ 15098284 (Hierarchy) _postMovedFromSuperview:]_block_invoke + 99

7  UIKitCore 0x1aa1f80bc -[UIView+ 15098044 (Hierarchy) _postMovedFromSuperview:] + 747

8  UIKitCore 0x1aa2069c4 -[UIView+ 15157700 (Internal) _addSubview:positioned:relativeTo:] + 1599

9  XXX 0x1028c04a8 0x1022fc000 + 6046888

10  XXX 0x102722a14 0x1022fc000 + 4352532

11  XXX 0x102304034 0x1022fc000 + 32820

12  XXX 0x102701ff4 0x1022fc000 + 4218868

13  CFNetwork 0x1a9020928 0x1a8f66000 + 764200

14  Foundation 0x1a613961c __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 15

15  Foundation 0x1a60433d8 -[NSBlockOperation main] + 99

16  Foundation 0x1a613b8a4 __NSOPERATION_IS_INVOKING_MAIN__ + 19

17  Foundation 0x1a6043070 -[NSOperation start] + 731

18  Foundation 0x1a613c29c __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 19

19  Foundation 0x1a613bd68 __NSOQSchedule_f + 179

20  libdispatch.dylib 0x1a5a259a8 _dispatch_block_async_invoke2 + 103

21  libdispatch.dylib 0x1a5a42184 _dispatch_client_callout + 15

22  libdispatch.dylib 0x1a5a1beb8 _dispatch_continuation_pop$VARIANT$armv81 + 403

23  libdispatch.dylib 0x1a5a1b62c _dispatch_async_redirect_invoke + 591

24  libdispatch.dylib 0x1a5a28110 _dispatch_root_queue_drain + 343

25  libdispatch.dylib 0x1a5a288b0 _dispatch_worker_thread2 + 115

26  libsystem_pthread.dylib 0x1a5a91f64 _pthread_wqthread + 211

27  libsystem_pthread.dylib 0x1a5a94ae0 start_wqthread + 7


查看命令:atos -arch (ARM架构) -o(App名字) -l (加载地址) (错误地址)

比如上文:atos -arch arm64 -o XXX -l 0x1022fc000 0x1028c04a8

PS:App加载地址其实没有那么复杂,网上查询了好多资料都是说得不清不楚,其实就是错误旁边的那个地址就是加载地址,或者整个文件下面应该有这句,你就知道他的加载地址以及架构是什么了

Binary Images:

0x1022fc000(就是加载地址) - 0x1034fffff XXX arm64 (就是架构)

运行结果如下:

+[MBProgressHUD showHUDAddedTo:animated:] (in XXX) (MBProgressHUD.m:64)

相关文章

网友评论

      本文标题:IOS 通过atos与dsym文件查看崩溃详情

      本文链接:https://www.haomeiwen.com/subject/obosnctx.html