ios crash report -- atos symbolicate
来源:互联网 发布:ov7670 51单片机 编辑:程序博客网 时间:2024/05/18 02:52
plcrashreporter
===============================
http://stackoverflow.com/questions/1460892/symbolicating-iphone-app-crash-reports
//------------
Steps to analyze crash report from apple:
Copy the release .app file which was pushed to the appstore, the .dSYM file that was created at the time of release and the crash report receive from APPLE into a FOLDER.
OPEN terminal application and go to the folder created above (using CD command)
atos -arch armv7 -o YOURAPP.app/YOURAPP MEMORY_LOCATION_OF_CRASH. The memory location should be the one at which the app crashed as per the report.
Ex: atos -arch armv7 -o 'app name.app'/'app name' 0x0003b508
This would show you the exact line, method name which resulted in crash.
Ex: [classname functionName:]; -510
Symbolicating IPA
if we use IPA for symbolicating - just rename the extention .ipa with .zip , extract it then we can get a Payload Folder which contain app. In this case we don't need .dSYM file.
Thanks
===============================
http://stackoverflow.com/questions/10242766/atos-and-dwarfdump-wont-symbolicate-my-address
[ http://stackoverflow.com/questions/13574933/ios-crash-reports-atos-not-working-as-expected ]
You have to calculate the address to use with atos, you can't just use the one in the stacktrace.
symbol address = slide + stack address - load address
The slide
value is the value of vmaddr
in LC_SEGMENT cmd
(Mostly this is0x1000
). Run the following to get it:
otool -arch ARCHITECTURE -l "APP_BUNDLE/APP_EXECUTABLE" | grep -B 3 -A 8 -m 2 "__TEXT"
Replace
ARCHITECTURE
with the actual architecture the crash report shows, e.g.armv7
.ReplaceAPP_BUNDLE/APP_EXECUTABLE
with the path to the actual executable.The
stack address
is the hex value from the crash report.The
load address
can be is the first address showing in theBinary Images
section at the very front of the line which contains your executable. (Usually the first entry).
Since in the past value of the slide
was equal to value of the load address
this always worked. But since Apple introduced Address space layout randomization beginning with iOS 4.3 (in different variations), the apps loading address is randomized for security reasons.
=========================
Using symbolicatecrash: (http://stackoverflow.com/questions/11682789/trying-to-get-symbols-for-an-ios-crash-file)
whereis it ?
under /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/
If error: no DEVELOPER_DIR defined?
add export DEVELOPER_DIR=`xcode-select --print-path` to ~/.bashrc
You'd better run:
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/symbolicatecrash /usr/bin/symbolicatecrash
Then:
symbolicatecrash crash.file dsym.file
- ios crash report -- atos symbolicate
- symbolicate iOS Crash Log
- IOS crash atos
- [ios]如何手动symbolicate一个crash log文件
- [ios]如何手动symbolicate一个crash log文件
- symbolicate crash log
- ios crash report
- iOS Crash Report
- iOS crash reports: get symbol by address using atos
- atos crash stack
- iOS crash log report tools
- iOS Exception caught Crash Report
- iOS Exception caught Crash Report
- atos命令符化号crash文件
- Symbolicatecrash和xcrun atos分析crash log
- 使用命令行工具atos分析crash 报告
- iOS应用崩溃日志揭秘 iOS Crash Report
- iOS平台一套完善的Crash Report解决方案
- android java内存与native内存
- openstack初步认识
- Android输入法开发
- android控件
- nyist-219
- ios crash report -- atos symbolicate
- 【IOS】IOS工程自动打包并发布脚本实现
- 检测笔记本电脑的主板,cpu,硬盘的温度
- java 总结4种线程中操作UI界面的方法
- android 基础知识 九
- 检测笔记本电脑的主板,cpu,硬盘的温度
- Android Bitmap类的常用方法
- Linux Shell编程与编辑器使用详解
- java 求和