關於 .crash 分析

來源:互聯網
上載者:User

標籤:

這裡只給出其中 一種方式。

1. 建議 案頭 建 個檔案夾  appxx  ,然後 將那個閃退 對應的 包  xxx.app 放入  appxx檔案夾

2. 開啟終端cd命令,進入該檔案夾

3.在命令列輸入“dwarfdump --uuid XXX.app/XXX”

4.在終端中輸入以下命令“atos -o XXX.app/XXX -arch arm64 0x00000001006544f8 ”

 

“0x00000001006544f8” 這個地址是 

查看記錄搜尋“Triggered by Thread”:得到“Triggered by Thread:  0”,我們知道是0號線程閃退,找到0號線程得到如下:
Thread 0 Crashed:
0   libsystem_kernel.dylib         0x00000001833114bc mach_msg_trap + 8
1   libsystem_kernel.dylib         0x0000000183311338 mach_msg + 72
2   CoreFoundation                 0x0000000183740ac0 __CFRunLoopServiceMachPort + 196
3   CoreFoundation                 0x000000018373e7c4 __CFRunLoopRun + 1032
4   CoreFoundation                 0x000000018366d680 CFRunLoopRunSpecific + 384
5   GraphicsServices               0x0000000184b7c088 GSEventRunModal + 180
6   UIKit                          0x00000001884e4d90 UIApplicationMain + 204
7   XXX                      0x00000001006544f8 0x10009c000 + 5997816
8   libdyld.dylib                  0x000000018320e8b8 start + 4
XXX:就是你的XXX.app的名稱,找到他的第一個地址,這個地址就是要輸入的地址,如果存在多個地址,那麼直接在後面追加。

 

關於 .crash 分析

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.