这个问题困扰我很长时间,查了很多资料,但是还是不尽如意,友盟提示我
Application received signal SIGSEGV
(null)
(
0 CoreFoundation 0x30f95f23 + 154
1 libobjc.A.dylib 0x3b728ce7 objc_exception_throw + 38
2 CoreFoundation 0x30f95e4d + 0
3 INSI 0x4b58d1 _ZN12CAXExceptionC2EPKcl + 83936
4 libsystem_platform.dylib 0x3bd4071b _sigtramp + 34
5 libobjc.A.dylib 0x3b7380d3 + 358
6 CoreFoundation 0x30ec94c1 _CFAutoreleasePoolPop + 16
7 Foundation 0x318c28e3 + 122
8 Foundation 0x318d519b + 222
9 Foundation 0x318d50a5 + 60
10 CFNetwork 0x30bfb297 + 74
11 CFNetwork 0x30bf9e9b + 54
12 CoreFoundation 0x30ec9199 CFArrayApplyFunction + 36
13 CFNetwork 0x30b9199b + 182
14 CFNetwork 0x30b91859 + 220
15 CFNetwork 0x30b916e9 + 48
16 CoreFoundation 0x30f60fef + 14
17 CoreFoundation 0x30f6053d + 340
18 CoreFoundation 0x30f5eca7 + 630
19 CoreFoundation 0x30ec9769 CFRunLoopRunSpecific + 524
20 CoreFoundation 0x30ec954b CFRunLoopRunInMode + 106
21 GraphicsServices 0x35e266d3 GSEventRunModal + 138
22 UIKit 0x33828891 UIApplicationMain + 1136
23 INSI 0x719cb INSI + 448971
24 libdyld.dylib 0x3bc26ab7 + 2
)
dSYM UUID: 4D9E0CF2-FD7C-3DA4-B423-765CA3EA2809
CPU Type: armv7
Slide Address: 0x00004000
Binary Image: INSI
Base Address: 0x00004000
然后我找到我的xxx.app.dSYM 在终端哪里输入cd xxx.app.dSYM 然后一层层的进入到文件夹 <pre name="code" class="html">Mac-mini:Desktop guo$ cd INSI.app.dSYM
Mac-mini:INSI.app.dSYM guo$
Mac-mini:INSI.app.dSYM guo$ LS
Contents
Mac-mini:INSI.app.dSYM guo$ ls
Contents
Mac-mini:INSI.app.dSYM guo$ cd Contents
Mac-mini:Contents guo$ ls
Info.plist Resources
Mac-mini:Contents guo$ Resources
-bash: Resources: command not found
Mac-mini:Contents guo$ cd Resources
Mac-mini:Resources guo$ ls
DWARF
Mac-mini:Resources guo$ cd DWARF
Mac-mini:DWARF guo$ LS
INSI
Mac-mini:DWARF guo$ ls
INSI
</pre><pre name="code" class="html">
<pre name="code" class="html">我看到了我的程序,我按照网上的方法执行<pre name="code" class="html">atos -arch armv7 -o INSI 0x4b58d1
但是得到的结果还是友盟提供给我的那几句,不像网上说的可以定位到哪一行。。。
<pre name="code" class="html">Mac-mini:DWARF guo$ atos -arch armv7 -o INSI 0x719cb
main (in INSI) (main.m:20)
Mac-mini:DWARF guo$ atos -arch armv7 -o INSI 0x4b58d1
UmengSignalHandler (in INSI) + 137