程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> 編程綜合問答 >> android-app 偶現 crash,求助各位有經驗的幫忙

android-app 偶現 crash,求助各位有經驗的幫忙

編輯:編程綜合問答
app 偶現 crash,求助各位有經驗的幫忙

碰到程序偶現的crash,查看日志,沒有看到有效的可以定位的信息。日志如下:

```I/DEBUG ( 318): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 318): Abort message: 'invalid address or address of corrupt block 0x760dafb8 passed to dlfree'
D/cta_dex ( 998): conn HookConnectivityService onTransact code: 4
D/cta_dex ( 998): conn pass onTransact code: 4
D/cta_dex ( 998): conn HookConnectivityService onTransact code: 4
D/cta_dex ( 998): conn pass onTransact code: 4
D/cta_dex ( 998): conn HookConnectivityService onTransact code: 6
D/cta_dex ( 998): conn pass onTransact code: 6
D/cta_dex ( 998): conn HookConnectivityService onTransact code: 4
D/cta_dex ( 998): conn pass onTransact code: 4
D/cta_dex ( 998): conn HookConnectivityService onTransact code: 6
D/cta_dex ( 998): conn pass onTransact code: 6
I/DEBUG ( 318): r0 00000000 r1 4006f172 r2 deadbaad r3 40072d5c
I/DEBUG ( 318): r4 760dafb8 r5 4007d190 r6 41945000 r7 760dafc0
I/DEBUG ( 318): r8 7a046b0c r9 76090a64 sl 765716d0 fp 7a046b24
I/DEBUG ( 318): ip 00000001 sp 7a046aa8 lr 4004088b pc 4004088c cpsr 60070030
I/DEBUG ( 318): d0 2064696c61766e69 d1 2073736572646461
I/DEBUG ( 318): d2 657264646120726f d3 6f6320666f207373
I/DEBUG ( 318): d4 00220065006b0069 d5 002200330022003a
I/DEBUG ( 318): d6 006900770022002c d7 0064005f0064006e
I/DEBUG ( 318): d8 bff0000000000000 d9 bff0000000000000
I/DEBUG ( 318): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 318): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 318): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 318): d16 0000000000000000 d17 0000000000000000
I/DEBUG ( 318): d18 0000000000000000 d19 0000000000000000
I/DEBUG ( 318): d20 003d006500670061 d21 006b0026006e0065
I/DEBUG ( 318): d22 0042003d00790065 d23 00340042004e004e
I/DEBUG ( 318): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 318): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 318): d28 0100010001000100 d29 0100010001000100
I/DEBUG ( 318): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 318): scr 60000012
I/DEBUG ( 318):
I/DEBUG ( 318): backtrace:
I/DEBUG ( 318): #00 pc 0001188c /system/lib/libc.so (dlfree+1191)
I/DEBUG ( 318): #01 pc 0000dd2b /system/lib/libc.so (free+10)
I/DEBUG ( 318): #02 pc 00083943 /system/lib/libcrypto.so (CRYPTO_free+34)
I/DEBUG ( 318): #03 pc 00027035 /system/lib/libssl.so (SSL_CTX_set_alpn_protos+16)
I/DEBUG ( 318): #04 pc 00008b7f /system/lib/libjavacrypto.so
I/DEBUG ( 318): #05 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
I/DEBUG ( 318): #06 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
I/DEBUG ( 318): #07 pc 000297e0 /system/lib/libdvm.so
I/DEBUG ( 318): #08 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
I/DEBUG ( 318): #09 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
I/DEBUG ( 318): #10 pc 00063435 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
I/DEBUG ( 318): #11 pc 00063459 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
I/DEBUG ( 318): #12 pc 00058137 /system/lib/libdvm.so
I/DEBUG ( 318): #13 pc 0000d290 /system/lib/libc.so (__thread_entry+72)
I/DEBUG ( 318): #14 pc 0000d428 /system/lib/libc.so (pthread_create+240)
I/DEBUG ( 318):
I/DEBUG ( 318): stack:
I/DEBUG ( 318): 7a046a68 00000002

I/DEBUG ( 318): 7a046a6c 72981fd5 /system/lib/libjavacrypto.so
I/DEBUG ( 318): 7a046a70 409d1f6c /system/lib/libcrypto.so
I/DEBUG ( 318): 7a046a74 6445c19f /dev/ashmem/dalvik-mark-stack (deleted)
I/DEBUG ( 318): 7a046a78 760dafb8

I/DEBUG ( 318): 7a046a7c 4007d190

I/DEBUG ( 318): 7a046a80 41945000

I/DEBUG ( 318): 7a046a84 40041c01 /system/lib/libc.so
I/DEBUG ( 318): 7a046a88 4006f172 /system/lib/libc.so
I/DEBUG ( 318): 7a046a8c 7a046a9c [stack:10622]
I/DEBUG ( 318): 7a046a90 40072d5c /system/lib/libc.so
I/DEBUG ( 318): 7a046a94 4004088b /system/lib/libc.so (dlfree+1190)
I/DEBUG ( 318): 7a046a98 4006f172 /system/lib/libc.so
I/DEBUG ( 318): 7a046a9c 760dafb8

I/DEBUG ( 318): 7a046aa0 40072d5c /system/lib/libc.so
I/DEBUG ( 318): 7a046aa4 00000000

I/DEBUG ( 318): #00 7a046aa8 40079000 /system/lib/libc.so
I/DEBUG ( 318): 7a046aac 760dafc0

I/DEBUG ( 318): 7a046ab0 0000711c

I/DEBUG ( 318): 7a046ab4 409f6e64 /system/lib/libcrypto.so
I/DEBUG ( 318): 7a046ab8 76090a70

I/DEBUG ( 318): 7a046abc 4003cd2d /system/lib/libc.so (free+12)
I/DEBUG ( 318): #01 7a046ac0 4f600005 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 318): 7a046ac4 40996945 /system/lib/libcrypto.so (CRYPTO_free+36)
I/DEBUG ( 318): #02 7a046ac8 00000018

I/DEBUG ( 318): 7a046acc 7615f6b0

I/DEBUG ( 318): 7a046ad0 470ddb20 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 318): 7a046ad4 40a26039 /system/lib/libssl.so (SSL_CTX_set_alpn_protos+20)
I/DEBUG ( 318):

 看到這日志,怎麼去定位這個問題?請各位有經驗的兄弟幫忙~~~萬分感謝

最佳回答:


已經找到問題的所在,請詳見:
https://github.com/square/okhttp/issues/2003

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved