http://stackoverflow.com/questions/7675863/atos-cannot-get-symbols-from-dsym-of-archived-application

http://stackoverflow.com/questions/7675863/atos-cannot-get-symbols-from-dsym-of-archived-application

http://stackoverflow.com/questions/13574933/ios-crash-reports-atos-not-working-as-expected/13576028

A simpler alternative: you can use the atos -l flag to make it do the maths for you.

Say you've got the following line in your crash log that you want to symbolicate:

5   MyApp                   0x0044e89a 0x29000 + 4348058

The first hex number is the stack address, and the second hex number is the load address. You can ignore the last number. You don't need to worry about slide addresses either.

To symbolicate, do the following:

atos -o MyApp.app/MyApp -arch armv7 -l 0x29000 0x0044e89a

If you can't find your MyApp.app/MyApp file, rename your '.ipa' file to a '.zip', unzip it, and it'll be in the Payload folder.

And if you're not sure which architecture to use (for example, armv7 or armv7s), scroll to the 'Binary Images' part of the crash file and you can find it in there.

Cheers

http://www.cocoachina.com/bbs/read.php?tid=129732

被拒两次了,还是没搞定一个CRASH LOG,求助

 
 
  • 技术问题发到问答:我知道,我仍旧要在论坛继续发布问题
 

最终解决方案(感谢numbbuaa):
还是需要手工。先从Archive包中解出.dSYM文件,再从dSYM文件/Contents/Resources/DWARF下找到最终文件(假设为MyAPP)。
然后在cmd窗口运行
atos -o MyAPP 0Xxxxxxxx -arch armv7 -l XXXXX
-l 后面跟的是动态加载的初始地址
这样就可以了。希望对其他人也有帮助。

/*********************************************************************************************************************************/
一个中文的数据库应用,提交了两次,两次都说因为Crash被拒。测试的硬件设备据说是iPAD3, iOS 6.0.1。可是我自己的iPAD3,也是6.0.1,运行起来一点问题没有。
再看发给我的Crash Log也不得要领---全是偏移量。
在网上学习了一阵子,试验了两个办法:
1、在Xcode Organizer的Devices > Library > Device Log里面Import这个Crash Log(Archive里面有当时上传的Binary和dYSM文件)
结果显示的跟Crash文件一样,还是没有行信息;
2、干脆手工运行。在命令行方式,运行cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources ,然后手工运行./symbolicatecrash /Users/Sue/Downloads/大眼睛图书馆_2012-12-12-140343_AQ-an.crash /Users/Sue/Downloads/大眼睛图书馆.app.dSYM,这里的crash文件是苹果发给我的,dSYM是当时上传时的Archive文件中解开的。
不幸,结果跟Crash Log还是没有什么不同。
这下完全没方向了。还请各位不吝赐教,为啥会出现这个情况,有什么办法可以知道是哪行出错了?谢谢!

附:部分Crash Log
Incident Identifier: 83238367-AC70-404B-89C6-7AC9E20C6BB0
CrashReporter Key:   360bc129d2f79a48e291eb5ca38b24e822ed5b6b
Hardware Model:      xxx
Process:         大眼睛图书馆 [9424]
Path:            /var/mobile/Applications/1D524195-0340-43A1-AECA-4F2503B78428/大眼睛图书馆.app/大眼睛图书馆
Identifier:      大眼睛图书馆
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2012-12-12 14:03:43.673 -0800
OS Version:      iOS 6.0.1 (10A523)
Report Version:  104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib            0x31bb9350 __pthread_kill + 8
1   libsystem_c.dylib                 0x3991011e pthread_kill + 54
2   libsystem_c.dylib                 0x3994c9f2 __abort + 90
3   libsystem_c.dylib                 0x3994d03e __stack_chk_fail + 194
4   大眼睛图书馆                            0x000427d6 0x3f000 + 14294
5   大眼睛图书馆                            0x00042172 0x3f000 + 12658
6   UIKit                             0x389be588 -[UIViewController loadViewIfRequired] + 360
7   UIKit                             0x389fed6c -[UIWindow addRootViewControllerViewIfPossible] + 60
8   UIKit                             0x389faae0 -[UIWindow _setHidden:forced:] + 360
9   UIKit                             0x38a3c1c4 -[UIWindow makeKeyAndVisible] + 56
10  大眼睛图书馆                            0x00041cd8 0x3f000 + 11480
11  UIKit                             0x389ffacc -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248
12  UIKit                             0x389ff656 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1186
13  UIKit                             0x389f783e -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694
14  UIKit                             0x3899fc34 -[UIApplication handleEvent:withNewEvent:] + 1000
15  UIKit                             0x3899f6c8 -[UIApplication sendEvent:] + 68
16  UIKit                             0x3899f116 _UIApplicationHandleEvent + 6150
17  GraphicsServices                  0x3611b5a0 _PurpleEventCallback + 588
18  CoreFoundation                    0x32c64680 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
19  CoreFoundation                    0x32c63ee4 __CFRunLoopDoSources0 + 208
20  CoreFoundation                    0x32c62cb2 __CFRunLoopRun + 642
21  CoreFoundation                    0x32bd5eb8 CFRunLoopRunSpecific + 352
22  CoreFoundation                    0x32bd5d44 CFRunLoopRunInMode + 100
23  UIKit                             0x389f6478 -[UIApplication _run] + 664
24  UIKit                             0x389f32f4 UIApplicationMain + 1116
25  大眼睛图书馆                            0x00041b1a 0x3f000 + 11034
26  大眼睛图书馆                            0x00041adc 0x3f000 + 10972

[ 此帖被richardsxie在2012-12-13 16:49重新编辑 ]

Atos cannot get symbols from dSYM of archived application的更多相关文章

  1. Understanding and Analyzing Application Crash Reports

    Introduction When an application crashes, a crash report is created and stored on the device. Crash ...

  2. Application received signal SIGABRT

    Application received signal SIGABRT (null) (( 0 CoreFoundation 0x0000000182bbadc8 <redacted> + ...

  3. <转>iOS性能优化:Instruments使用实战

    最近采用Instruments 来分析整个应用程序的性能.发现很多有意思的点,以及性能优化和一些分析性能消耗的技巧,小结如下. Instruments使用技巧 关于Instruments官方有一个很有 ...

  4. iOS系类教程之用instruments来检验你的app

    比较了好多关于instruments 还是发现老外写的比较牛逼.于是果断翻译过来.有能力的的可以去看英文原版,鼓励大家看原版资料远离二手教程.这里是原文   入门 为了节省大家的时间,提供一个演示的D ...

  5. iOS性能优化:Instruments使用实战

    iOS性能优化:Instruments使用实战   最近采用Instruments 来分析整个应用程序的性能.发现很多有意思的点,以及性能优化和一些分析性能消耗的技巧,小结如下. Instrument ...

  6. iOS---性能优化

    最近采用Instruments 来分析整个应用程序的性能.发现很多有意思的点,以及性能优化和一些分析性能消耗的技巧.小结如下. Instruments使用技巧 关于Instruments官方有一个很有 ...

  7. [xcode]instruments来检验你的app

      原文网址:http://www.cocoachina.com/industry/20140114/7696.html     比较了好多关于instruments 还是发现老外写的比较牛逼.于是果 ...

  8. 最近采用Instruments

    最近采用Instruments 来分析整个应用程序的性能.发现很多有意思的点,以及性能优化和一些分析性能消耗的技巧,小结如下. Instruments使用技巧 关于Instruments官方有一个很有 ...

  9. iOS性能优化

    最近采用Instruments 来分析整个应用程序的性能.发现很多有意思的点,以及性能优化和一些分析性能消耗的技巧,小结如下. Instruments使用技巧 关于Instruments官方有一个很有 ...

随机推荐

  1. Freemarker 的 Shiro 标签使用详解

    一.引入依赖(已解决版本冲突) <!-- shiro-freemarker-tags start --> <dependency> <groupId>net.min ...

  2. VIN码识别:助力汽车后市场转型升级

    随着中国汽车市场的成熟,汽车后市场发展迅速,呈“井喷”式增长.据最新数据统计,2015年,中国汽车后市场产值突破8000亿规模,到2018年有望突破万亿. 所谓汽车后市场是指汽车销售以后,围绕汽车使用 ...

  3. mysql 5.7.18 源码安装笔记

    之所以贴出这样一篇笔记呢?主要是因为很久之前,源码安装MySQL的时候,碰到了太多太多的坎坷. 如果你有兴趣进行源码安装,那么请不要以这篇文章为标准,因为每个人的及其环境等其他因素还是差距比较大的. ...

  4. CCF-NOIP-2018 提高组(复赛) 模拟试题(九)(2018 CSYZ长沙一中)

    T1 Circle [问题描述] 小 w 的男朋友送给小 w 一个 n 个点 m 条边的图,并且刁难小 w 要她找出点数最少的正环. 小 w 不会做,于是向你求助. [输入格式] 第一行两个整数\(n ...

  5. 【Linux运维】LNMP环境配置

    安装准备: Centos7.3 MYSQL5.6 PHP5.6 NGINX1.10.3 一.安装Mysql mysql:[root@host129 src]#cd /usr/local/src/ [r ...

  6. lintcode-64-合并排序数组 II

    64-合并排序数组 II 合并两个排序的整数数组A和B变成一个新的数组. 注意事项 你可以假设A具有足够的空间(A数组的大小大于或等于m+n)去添加B中的元素. 样例 给出 A = [1, 2, 3, ...

  7. vue2.0介绍

    1.vue.js 是什么 vue(view)是一套构建用户界面的渐进式框架 Vue (pronounced /vjuː/, like view) is a progressive framework  ...

  8. Chromium多进程资源加载

    webkit笔记,主要来自 朱永盛 <WebKit技术内幕> 学习笔记,转载就注明原著,该书是国内仅有的Webkit内核的书籍,学习的好导师,推荐有兴趣的朋友可以购买 多进程 资源的实际加 ...

  9. Hibernate关联映射之_一对一

    数据库模型 一般对一对一的关系而言,会存在一个主从关系.如 人 与 身份证,就是一个一对一关系, 人 是主,身份证 是从 Person PK:id name age Id_Card PK.FK:id ...

  10. COGS 497——奶牛派对

    奶牛派对 我们发现每头牛需要走的路程即为它到x的最短路+x到它的最短路. 转化: 于是这道题变成了一道典型的单源最短路问题,只需求出每个点到x的最短路dl,以及从x到此点的最短路d2,然后去找max( ...