最近开始做android底层开发,经常遇到C/C++代码报错,logcat只给出一大串堆栈信息,而无法定位到具体代码段,后来网上搜寻发现可以使用addr2line工具根据出错地址映射到出错行,例如:
11-02 20:01:53.009: A/libc(4785): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 4785 (le.audiosynergy)
11-02 20:01:53.109: I/DEBUG(3387): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-02 20:01:53.109: I/DEBUG(3387): Build fingerprint: 'Android/aosp_hammerhead/hammerhead:4.4/KRT16M/eng.vaylb.20140708.131800:userdebug/test-keys'
11-02 20:01:53.109: I/DEBUG(3387): Revision: '11'
11-02 20:01:53.109: I/DEBUG(3387): pid: 4785, tid: 4785, name: le.audiosynergy >>> com.example.audiosynergy <<<
11-02 20:01:53.109: I/DEBUG(3387): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
11-02 20:01:53.189: I/DEBUG(3387): r0 0000003a r1 893c830d r2 893c830d r3 893c830d
11-02 20:01:53.189: I/DEBUG(3387): r4 00000000 r5 41534460 r6 00000004 r7 6d49edcc
11-02 20:01:53.189: I/DEBUG(3387): r8 be9a0508 r9 6d49edc4 sl 41534470 fp be9a051c
11-02 20:01:53.189: I/DEBUG(3387): ip 00000003 sp be9a04e8 lr 74f4dffb pc 74f4dffa cpsr 600f0030
11-02 20:01:53.189: I/DEBUG(3387): d0 725f706f6f4c6461 d1 6f725074736f483e
11-02 20:01:53.189: I/DEBUG(3387): d2 6572685473736563 d3 657268743a3a6461
11-02 20:01:53.189: I/DEBUG(3387): d4 0063006900680070 d5 0066006600750042
11-02 20:01:53.189: I/DEBUG(3387): d6 0072005000720065 d7 006300750064006f
11-02 20:01:53.189: I/DEBUG(3387): d8 0000000000000000 d9 0000000000000000
11-02 20:01:53.189: I/DEBUG(3387): d10 0000000000000000 d11 0000000000000000
11-02 20:01:53.189: I/DEBUG(3387): d12 0000000000000000 d13 0000000000000000
11-02 20:01:53.189: I/DEBUG(3387): d14 0000000000000000 d15 0000000000000000
11-02 20:01:53.189: I/DEBUG(3387): d16 000000c360a3dfef d17 0100010001000100
11-02 20:01:53.189: I/DEBUG(3387): d18 ff00f000f000f000 d19 ff00f000f000f000
11-02 20:01:53.189: I/DEBUG(3387): d20 fff0f0f0fff0f0f0 d21 c064400000000000
11-02 20:01:53.189: I/DEBUG(3387): d22 fe01ef10ef10ef10 d23 fe01ef10ef10ef10
11-02 20:01:53.189: I/DEBUG(3387): d24 fff0f0f0fff0f0f0 d25 0000000000000000
11-02 20:01:53.189: I/DEBUG(3387): d26 0707070703030303 d27 0000000000000000
11-02 20:01:53.189: I/DEBUG(3387): d28 0100000001000000 d29 402e000000000000
11-02 20:01:53.189: I/DEBUG(3387): d30 0215000002130000 d31 0219000002170000
11-02 20:01:53.189: I/DEBUG(3387): scr 20000010
11-02 20:01:53.189: I/DEBUG(3387): backtrace:
11-02 20:01:53.189: I/DEBUG(3387): #00 pc 00001ffa /system/lib/libhostplay.so (android::HostPlay::HostProcessThread::threadLoop_run()+17)
11-02 20:01:53.189: I/DEBUG(3387): #01 pc 00002083 /system/lib/libhostplay.so (android::HostPlay::start_Synergy_l()+6)
11-02 20:01:53.189: I/DEBUG(3387): #02 pc 00000c0d /system/lib/libaudio_synergy.so (setstartflag_jni(_JNIEnv*, _jobject*, int)+16)
11-02 20:01:53.189: I/DEBUG(3387): #03 pc 0001dbcc /system/lib/libdvm.so (dvmPlatformInvoke+112)
11-02 20:01:53.189: I/DEBUG(3387): #04 pc 0004e123 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
11-02 20:01:53.189: I/DEBUG(3387): #05 pc 00026fe0 /system/lib/libdvm.so
11-02 20:01:53.189: I/DEBUG(3387): #06 pc 0002dfa0 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
11-02 20:01:53.189: I/DEBUG(3387): #07 pc 0002b638 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
11-02 20:01:53.189: I/DEBUG(3387): #08 pc 00060865 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
11-02 20:01:53.189: I/DEBUG(3387): #09 pc 000687c7 /system/lib/libdvm.so
11-02 20:01:53.189: I/DEBUG(3387): #10 pc 00026fe0 /system/lib/libdvm.so
11-02 20:01:53.189: I/DEBUG(3387): #11 pc 0002dfa0 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
11-02 20:01:53.189: I/DEBUG(3387): #12 pc 0002b638 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
11-02 20:01:53.189: I/DEBUG(3387): #13 pc 00060581 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
11-02 20:01:53.189: I/DEBUG(3387): #14 pc 00049d0b /system/lib/libdvm.so
11-02 20:01:53.189: I/DEBUG(3387): #15 pc 0004ce37 /system/lib/libandroid_runtime.so
11-02 20:01:53.189: I/DEBUG(3387): #16 pc 0004db5b /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354)
11-02 20:01:53.189: I/DEBUG(3387): #17 pc 0000105b /system/bin/app_process
11-02 20:01:53.189: I/DEBUG(3387): #18 pc 0000e34b /system/lib/libc.so (__libc_init+50)
11-02 20:01:53.189: I/DEBUG(3387): #19 pc 00000d7c /system/bin/app_process
11-02 20:01:53.189: I/DEBUG(3387): stack:
11-02 20:01:53.189: I/DEBUG(3387): be9a04a8 60aec7af /dev/ashmem/dalvik-heap (deleted)
11-02 20:01:53.189: I/DEBUG(3387): be9a04ac 000000c3
11-02 20:01:53.189: I/DEBUG(3387): be9a04b0 000f4240
11-02 20:01:53.189: I/DEBUG(3387): be9a04b4 60aec7af /dev/ashmem/dalvik-heap (deleted)
11-02 20:01:53.189: I/DEBUG(3387): be9a04b8 000000c3
11-02 20:01:53.189: I/DEBUG(3387): be9a04bc 000f4240
11-02 20:01:53.189: I/DEBUG(3387): be9a04c0 00000000
11-02 20:01:53.189: I/DEBUG(3387): be9a04c4 be9a0508 [stack]
11-02 20:01:53.189: I/DEBUG(3387): be9a04c8 6d49ebc8
11-02 20:01:53.189: I/DEBUG(3387): be9a04cc 893c830d
11-02 20:01:53.189: I/DEBUG(3387): be9a04d0 00000000
11-02 20:01:53.199: I/DEBUG(3387): be9a04d4 41534460 [anon:libc_malloc]
11-02 20:01:53.199: I/DEBUG(3387): be9a04d8 00000004
11-02 20:01:53.199: I/DEBUG(3387): be9a04dc 74f4dffb /system/lib/libhostplay.so (android::HostPlay::HostProcessThread::threadLoop_run()+18)
11-02 20:01:53.199: I/DEBUG(3387): be9a04e0 74f4eb6b /system/lib/libhostplay.so
11-02 20:01:53.199: I/DEBUG(3387): be9a04e4 74f4b058 /system/lib/libaudio_synergy.so
11-02 20:01:53.199: I/DEBUG(3387): #00 be9a04e8 74f4b058 /system/lib/libaudio_synergy.so
11-02 20:01:53.199: I/DEBUG(3387): be9a04ec 7140dd78 [anon:libc_malloc]
11-02 20:01:53.199: I/DEBUG(3387): be9a04f0 41534460 [anon:libc_malloc]
11-02 20:01:53.199: I/DEBUG(3387): be9a04f4 74f4e087 /system/lib/libhostplay.so (android::HostPlay::start_Synergy_l()+10)
11-02 20:01:53.199: I/DEBUG(3387): #01 be9a04f8 00000001
11-02 20:01:53.199: I/DEBUG(3387): be9a04fc 74f48c11 /system/lib/libaudio_synergy.so (setstartflag_jni(_JNIEnv*, _jobject*, int)+20)
11-02 20:01:53.199: I/DEBUG(3387): #02 be9a0500 6d7e9cd8 /dev/ashmem/dalvik-LinearAlloc (deleted)
11-02 20:01:53.199: I/DEBUG(3387): be9a0504 41552bd0 /system/lib/libdvm.so (dvmPlatformInvoke+116)
11-02 20:01:53.199: I/DEBUG(3387): memory near r1:
11-02 20:01:53.199: I/DEBUG(3387): 893c82ec ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c82fc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c830c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c831c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c832c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c833c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c834c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c835c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c836c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c837c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c838c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c839c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c83ac ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c83bc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c83cc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c83dc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): memory near r2:
11-02 20:01:53.199: I/DEBUG(3387): 893c82ec ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c82fc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.199: I/DEBUG(3387): 893c830c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c831c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c832c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c833c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c834c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c835c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c836c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c837c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c838c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c839c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c83ac ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c83bc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c83cc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c83dc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): memory near r3:
11-02 20:01:53.209: I/DEBUG(3387): 893c82ec ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c82fc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c830c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c831c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c832c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c833c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c834c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c835c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c836c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c837c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c838c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c839c ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c83ac ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c83bc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c83cc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): 893c83dc ffffffff ffffffff ffffffff ffffffff
11-02 20:01:53.209: I/DEBUG(3387): memory near r5:
11-02 20:01:53.209: I/DEBUG(3387): 41534440 00000000 00000000 00000000 00000013
11-02 20:01:53.209: I/DEBUG(3387): 41534450 00000000 00000800 6d496008 0000045b
11-02 20:01:53.209: I/DEBUG(3387): 41534460 6efa6370 6d49edc0 6d7ea4d0 74f46000
11-02 20:01:53.209: I/DEBUG(3387): 41534470 7f070003 00000000 be9a0638 00000000
11-02 20:01:53.209: I/DEBUG(3387): 41534480 be9a068c 00000001 00000000 41552d40
11-02 20:01:53.209: I/DEBUG(3387): 41534490 00000000 00000000 6c869370 6d499300
11-02 20:01:53.209: I/DEBUG(3387): 415344a0 00000000 00000000 00000001 00006000
11-02 20:01:53.209: I/DEBUG(3387): 415344b0 00000000 400f5154 41552d40 41557c00
11-02 20:01:53.209: I/DEBUG(3387): 415344c0 00000000 4155bcfc 4155bd70 4155bc20
11-02 20:01:53.209: I/DEBUG(3387): 415344d0 4155bc40 4155bc9c 00000000 00000000
11-02 20:01:53.209: I/DEBUG(3387): 415344e0 762f6308 00000028 00000000 00000000
11-02 20:01:53.209: I/DEBUG(3387): 415344f0 00000000 00000006 00002000 415e491c
11-02 20:01:53.209: I/DEBUG(3387): 41534500 416071f0 6d4eb888 00000007 713f1c88
11-02 20:01:53.209: I/DEBUG(3387): 41534510 00000001 00000080 00000200 00000000
11-02 20:01:53.209: I/DEBUG(3387): 41534520 00000001 6ed32036 6ed32036 00000002
11-02 20:01:53.209: I/DEBUG(3387): 41534530 6ed3203e 6d51ed08 85a2fbcc 4cc63132
11-02 20:01:53.209: I/DEBUG(3387): memory near r7:
11-02 20:01:53.209: I/DEBUG(3387): 6d49edac 6d49eddc 74f42276 6d7e9cd8 00000006
11-02 20:01:53.209: I/DEBUG(3387): 6d49edbc 00000000 40900019 00000001 6d49ee04
11-02 20:01:53.209: I/DEBUG(3387): 6d49edcc 74f4305c 6d7ea4d0 74f42276 00000000
11-02 20:01:53.209: I/DEBUG(3387): 6d49eddc 4260efb0 00000001 4260f6b8 426258d0
11-02 20:01:53.209: I/DEBUG(3387): 6d49edec 00000001 6d49ee28 74f42874 6d7eae38
11-02 20:01:53.209: I/DEBUG(3387): 6d49edfc 74f4305c 00000000 4260f6b8 00000001
11-02 20:01:53.209: I/DEBUG(3387): 6d49ee0c 426258d0 00000001 6d49ee48 6ed108b8
11-02 20:01:53.209: I/DEBUG(3387): 6d49ee1c 6d7ed6b8 74f42874 00000000 426258d0
11-02 20:01:53.209: I/DEBUG(3387): 6d49ee2c 00000001 4279d910 6d49ee64 6ed108d8
11-02 20:01:53.209: I/DEBUG(3387): 6d49ee3c 6d53bc30 6ed108b8 00000000 4279d910
11-02 20:01:53.209: I/DEBUG(3387): 6d49ee4c 4279d5c0 6d49ee84 6ef0b7d8 6d53bc70
11-02 20:01:53.209: I/DEBUG(3387): 6d49ee5c 6ed108d8 00000000 4279d910 426015b8
11-02 20:01:53.209: I/DEBUG(3387): 6d49ee6c 4279d5c0 6d49eec4 6ed15738 6d506b00
11-02 20:01:53.209: I/DEBUG(3387): 6d49ee7c 6ef0b7d8 00000000 000012b1 0000272a
11-02 20:01:53.209: I/DEBUG(3387): 6d49ee8c 00000000 425fb420 4279d5c0 000012b1
11-02 20:01:53.209: I/DEBUG(3387): 6d49ee9c 0000272a 425fb440 426015b8 00000000
11-02 20:01:53.209: I/DEBUG(3387): memory near r8:
11-02 20:01:53.209: I/DEBUG(3387): be9a04e8 74f4b058 7140dd78 41534460 74f4e087
11-02 20:01:53.209: I/DEBUG(3387): be9a04f8 00000001 74f48c11 6d7e9cd8 41552bd0
11-02 20:01:53.209: I/DEBUG(3387): be9a0508 6d49edc0 00000001 00000000 4260efb0
11-02 20:01:53.209: I/DEBUG(3387): be9a0518 425fa73c 41583127 6d49edc0 74f433a6
11-02 20:01:53.209: I/DEBUG(3387): be9a0528 74f48bfd 41534470 00000000 00000000
11-02 20:01:53.209: I/DEBUG(3387): be9a0538 00000000 00000000 00000000 40158384
11-02 20:01:53.209: I/DEBUG(3387): be9a0548 be9a05cc 00000000 00000002 00000002
11-02 20:01:53.209: I/DEBUG(3387): be9a0558 415e9f80 6f08d3d8 00000002 74f43cd7
11-02 20:01:53.209: I/DEBUG(3387): be9a0568 00000001 41767458 00000000 00000003
11-02 20:01:53.209: I/DEBUG(3387): be9a0578 6d726b88 74f44292 be9a05e4 00000038
11-02 20:01:53.209: I/DEBUG(3387): be9a0588 00000000 415a0e0f 74f44292 41767458
11-02 20:01:53.209: I/DEBUG(3387): be9a0598 74f41cac 41767458 74f44292 be9a05e4
11-02 20:01:53.209: I/DEBUG(3387): be9a05a8 40158384 74e2c998 425fa73c 415a11cf
11-02 20:01:53.209: I/DEBUG(3387): be9a05b8 be9a05e4 74f44292 be9a05e4 415a1239
11-02 20:01:53.209: I/DEBUG(3387): be9a05c8 41767458 74f41cac 0000002d 74f46000
11-02 20:01:53.219: I/DEBUG(3387): be9a05d8 74f44292 415a17c3 41534368 74e2c998
11-02 20:01:53.219: I/DEBUG(3387): memory near r9:
11-02 20:01:53.219: I/DEBUG(3387): 6d49eda4 6ed34d80 00000000 6d49eddc 74f42276
11-02 20:01:53.219: I/DEBUG(3387): 6d49edb4 6d7e9cd8 00000006 00000000 40900019
11-02 20:01:53.219: I/DEBUG(3387): 6d49edc4 00000001 6d49ee04 74f4305c 6d7ea4d0
11-02 20:01:53.219: I/DEBUG(3387): 6d49edd4 74f42276 00000000 4260efb0 00000001
11-02 20:01:53.219: I/DEBUG(3387): 6d49ede4 4260f6b8 426258d0 00000001 6d49ee28
11-02 20:01:53.219: I/DEBUG(3387): 6d49edf4 74f42874 6d7eae38 74f4305c 00000000
11-02 20:01:53.219: I/DEBUG(3387): 6d49ee04 4260f6b8 00000001 426258d0 00000001
11-02 20:01:53.219: I/DEBUG(3387): 6d49ee14 6d49ee48 6ed108b8 6d7ed6b8 74f42874
11-02 20:01:53.219: I/DEBUG(3387): 6d49ee24 00000000 426258d0 00000001 4279d910
11-02 20:01:53.219: I/DEBUG(3387): 6d49ee34 6d49ee64 6ed108d8 6d53bc30 6ed108b8
11-02 20:01:53.219: I/DEBUG(3387): 6d49ee44 00000000 4279d910 4279d5c0 6d49ee84
11-02 20:01:53.219: I/DEBUG(3387): 6d49ee54 6ef0b7d8 6d53bc70 6ed108d8 00000000
11-02 20:01:53.219: I/DEBUG(3387): 6d49ee64 4279d910 426015b8 4279d5c0 6d49eec4
11-02 20:01:53.219: I/DEBUG(3387): 6d49ee74 6ed15738 6d506b00 6ef0b7d8 00000000
11-02 20:01:53.219: I/DEBUG(3387): 6d49ee84 000012b1 0000272a 00000000 425fb420
11-02 20:01:53.219: I/DEBUG(3387): 6d49ee94 4279d5c0 000012b1 0000272a 425fb440
11-02 20:01:53.219: I/DEBUG(3387): memory near sl:
11-02 20:01:53.219: I/DEBUG(3387): 41534450 00000000 00000800 6d496008 0000045b
11-02 20:01:53.219: I/DEBUG(3387): 41534460 6efa6370 6d49edc0 6d7ea4d0 74f46000
11-02 20:01:53.219: I/DEBUG(3387): 41534470 7f070003 00000000 be9a0638 00000000
11-02 20:01:53.219: I/DEBUG(3387): 41534480 be9a068c 00000001 00000000 41552d40
11-02 20:01:53.219: I/DEBUG(3387): 41534490 00000000 00000000 6c869370 6d499300
11-02 20:01:53.219: I/DEBUG(3387): 415344a0 00000000 00000000 00000001 00006000
11-02 20:01:53.219: I/DEBUG(3387): 415344b0 00000000 400f5154 41552d40 41557c00
11-02 20:01:53.219: I/DEBUG(3387): 415344c0 00000000 4155bcfc 4155bd70 4155bc20
11-02 20:01:53.219: I/DEBUG(3387): 415344d0 4155bc40 4155bc9c 00000000 00000000
11-02 20:01:53.219: I/DEBUG(3387): 415344e0 762f6308 00000028 00000000 00000000
11-02 20:01:53.219: I/DEBUG(3387): 415344f0 00000000 00000006 00002000 415e491c
11-02 20:01:53.219: I/DEBUG(3387): 41534500 416071f0 6d4eb888 00000007 713f1c88
11-02 20:01:53.219: I/DEBUG(3387): 41534510 00000001 00000080 00000200 00000000
11-02 20:01:53.219: I/DEBUG(3387): 41534520 00000001 6ed32036 6ed32036 00000002
11-02 20:01:53.219: I/DEBUG(3387): 41534530 6ed3203e 6d51ed08 85a2fbcc 4cc63132
11-02 20:01:53.219: I/DEBUG(3387): 41534540 4cf031b8 7b42908f 7b42901d 74e872d2
11-02 20:01:53.219: I/DEBUG(3387): memory near fp:
11-02 20:01:53.219: I/DEBUG(3387): be9a04fc 74f48c11 6d7e9cd8 41552bd0 6d49edc0
11-02 20:01:53.219: I/DEBUG(3387): be9a050c 00000001 00000000 4260efb0 425fa73c
11-02 20:01:53.219: I/DEBUG(3387): be9a051c 41583127 6d49edc0 74f433a6 74f48bfd
11-02 20:01:53.219: I/DEBUG(3387): be9a052c 41534470 00000000 00000000 00000000
11-02 20:01:53.219: I/DEBUG(3387): be9a053c 00000000 00000000 40158384 be9a05cc
11-02 20:01:53.219: I/DEBUG(3387): be9a054c 00000000 00000002 00000002 415e9f80
11-02 20:01:53.219: I/DEBUG(3387): be9a055c 6f08d3d8 00000002 74f43cd7 00000001
11-02 20:01:53.219: I/DEBUG(3387): be9a056c 41767458 00000000 00000003 6d726b88
11-02 20:01:53.219: I/DEBUG(3387): be9a057c 74f44292 be9a05e4 00000038 00000000
11-02 20:01:53.219: I/DEBUG(3387): be9a058c 415a0e0f 74f44292 41767458 74f41cac
11-02 20:01:53.219: I/DEBUG(3387): be9a059c 41767458 74f44292 be9a05e4 40158384
11-02 20:01:53.219: I/DEBUG(3387): be9a05ac 74e2c998 425fa73c 415a11cf be9a05e4
11-02 20:01:53.219: I/DEBUG(3387): be9a05bc 74f44292 be9a05e4 415a1239 41767458
11-02 20:01:53.219: I/DEBUG(3387): be9a05cc 74f41cac 0000002d 74f46000 74f44292
11-02 20:01:53.219: I/DEBUG(3387): be9a05dc 415a17c3 41534368 74e2c998 0000002b
11-02 20:01:53.219: I/DEBUG(3387): be9a05ec 4168dcc0 6d49ee00 00000038 4279d928
11-02 20:01:53.219: I/DEBUG(3387): memory near sp:
11-02 20:01:53.219: I/DEBUG(3387): be9a04c8 6d49ebc8 893c830d 00000000 41534460
11-02 20:01:53.219: I/DEBUG(3387): be9a04d8 00000004 74f4dffb 74f4eb6b 74f4b058
11-02 20:01:53.219: I/DEBUG(3387): be9a04e8 74f4b058 7140dd78 41534460 74f4e087
11-02 20:01:53.219: I/DEBUG(3387): be9a04f8 00000001 74f48c11 6d7e9cd8 41552bd0
11-02 20:01:53.219: I/DEBUG(3387): be9a0508 6d49edc0 00000001 00000000 4260efb0
11-02 20:01:53.219: I/DEBUG(3387): be9a0518 425fa73c 41583127 6d49edc0 74f433a6
11-02 20:01:53.219: I/DEBUG(3387): be9a0528 74f48bfd 41534470 00000000 00000000
11-02 20:01:53.219: I/DEBUG(3387): be9a0538 00000000 00000000 00000000 40158384
11-02 20:01:53.219: I/DEBUG(3387): be9a0548 be9a05cc 00000000 00000002 00000002
11-02 20:01:53.219: I/DEBUG(3387): be9a0558 415e9f80 6f08d3d8 00000002 74f43cd7
11-02 20:01:53.219: I/DEBUG(3387): be9a0568 00000001 41767458 00000000 00000003
11-02 20:01:53.219: I/DEBUG(3387): be9a0578 6d726b88 74f44292 be9a05e4 00000038
11-02 20:01:53.219: I/DEBUG(3387): be9a0588 00000000 415a0e0f 74f44292 41767458
11-02 20:01:53.219: I/DEBUG(3387): be9a0598 74f41cac 41767458 74f44292 be9a05e4
11-02 20:01:53.219: I/DEBUG(3387): be9a05a8 40158384 74e2c998 425fa73c 415a11cf
11-02 20:01:53.219: I/DEBUG(3387): be9a05b8 be9a05e4 74f44292 be9a05e4 415a1239
11-02 20:01:53.219: I/DEBUG(3387): code around pc:
11-02 20:01:53.219: I/DEBUG(3387): 74f4dfd8 478810c4 bf00bd10 0000097e 00000b81
11-02 20:01:53.219: I/DEBUG(3387): 74f4dfe8 4a0a4909 4479b538 447a4604 f7ff2006
11-02 20:01:53.219: I/DEBUG(3387): 74f4dff8 6823ed50 46204906 0212f06f 4479689d
11-02 20:01:53.219: I/DEBUG(3387): 74f4e008 47a82300 bf00bd38 00000956 00000b75
11-02 20:01:53.219: I/DEBUG(3387): 74f4e018 00000b91 4a094908 447ab510 44794604
11-02 20:01:53.219: I/DEBUG(3387): 74f4e028 f7ff2006 6823ed36 68d94620 46204788
11-02 20:01:53.229: I/DEBUG(3387): 74f4e038 4010e8bd bbf8f000 0000091e 00000b87
11-02 20:01:53.229: I/DEBUG(3387): 74f4e048 4a0a4909 4479b538 447a4604 f7ff2006
11-02 20:01:53.229: I/DEBUG(3387): 74f4e058 6823ed20 46204906 0212f06f 4479689d
11-02 20:01:53.229: I/DEBUG(3387): 74f4e068 47a82300 bf00bd38 000008f6 00000b7d
11-02 20:01:53.229: I/DEBUG(3387): 74f4e078 00000b96 4604b510 f7ff6bc0 6c20ffb1
11-02 20:01:53.229: I/DEBUG(3387): 74f4e088 4010e8bd bfdcf7ff 4a094908 447ab510
11-02 20:01:53.229: I/DEBUG(3387): 74f4e098 44794604 f7ff2006 6823ecfc 68d94620
11-02 20:01:53.229: I/DEBUG(3387): 74f4e0a8 46204788 4010e8bd bbbef000 000008aa
11-02 20:01:53.229: I/DEBUG(3387): 74f4e0b8 00000b75 4a0c490b 447ab510 44794604
11-02 20:01:53.229: I/DEBUG(3387): 74f4e0c8 f7ff2006 6c20ece6 ffdef7ff f7ff6be0
11-02 20:01:53.229: I/DEBUG(3387): code around lr:
11-02 20:01:53.229: I/DEBUG(3387): 74f4dfd8 478810c4 bf00bd10 0000097e 00000b81
11-02 20:01:53.229: I/DEBUG(3387): 74f4dfe8 4a0a4909 4479b538 447a4604 f7ff2006
11-02 20:01:53.229: I/DEBUG(3387): 74f4dff8 6823ed50 46204906 0212f06f 4479689d
11-02 20:01:53.229: I/DEBUG(3387): 74f4e008 47a82300 bf00bd38 00000956 00000b75
11-02 20:01:53.229: I/DEBUG(3387): 74f4e018 00000b91 4a094908 447ab510 44794604
11-02 20:01:53.229: I/DEBUG(3387): 74f4e028 f7ff2006 6823ed36 68d94620 46204788
11-02 20:01:53.229: I/DEBUG(3387): 74f4e038 4010e8bd bbf8f000 0000091e 00000b87
11-02 20:01:53.229: I/DEBUG(3387): 74f4e048 4a0a4909 4479b538 447a4604 f7ff2006
11-02 20:01:53.229: I/DEBUG(3387): 74f4e058 6823ed20 46204906 0212f06f 4479689d
11-02 20:01:53.229: I/DEBUG(3387): 74f4e068 47a82300 bf00bd38 000008f6 00000b7d
11-02 20:01:53.229: I/DEBUG(3387): 74f4e078 00000b96 4604b510 f7ff6bc0 6c20ffb1
11-02 20:01:53.229: I/DEBUG(3387): 74f4e088 4010e8bd bfdcf7ff 4a094908 447ab510
11-02 20:01:53.229: I/DEBUG(3387): 74f4e098 44794604 f7ff2006 6823ecfc 68d94620
11-02 20:01:53.229: I/DEBUG(3387): 74f4e0a8 46204788 4010e8bd bbbef000 000008aa
11-02 20:01:53.229: I/DEBUG(3387): 74f4e0b8 00000b75 4a0c490b 447ab510 44794604
11-02 20:01:53.229: I/DEBUG(3387): 74f4e0c8 f7ff2006 6c20ece6 ffdef7ff f7ff6be0
#00 pc 00001ffa /system/lib/libhostplay.so (android::HostPlay::HostProcessThread::threadLoop_run()+17)
在使用addr2line工具定位到出错文件及位置:
终端:addr2line -e out/target/product/hammerhead/symbols/system/lib/libhostplay.so 00001ffa
就可显示出错文件及行号。