平台:MT55 F3700
现象:压测发现部分死机问题,遥控器无法待机,但主页、上下左右OK等按键仍起作用,无法播放视频,各信源下黑屏无法播放图像
关键log:
2014-06-28 14:50:45┇01-01 08:56:56.605 853 1005 F libc : Fatal signal 11 (SIGSEGV) at 0x00000558 (code=1)
2014-06-28 14:50:45┇01-01 08:56:56.672 985 1266 I ActivityManager: Process com.tcl.appmarket2 (pid 10283) has died.
2014-06-28 14:50:45┇01-01 08:56:56.672 985 1266 W ActivityManager: Scheduling restart of crashed service com.tcl.appmarket2/.component.downLoad.DownLoadService in 5000ms
2014-06-28 14:50:45┇01-01 08:56:56.674 985 996 I ActivityManager: Process com.tcl.appmarket2:remote (pid 10300) has died.
2014-06-28 14:50:45┇01-01 08:56:56.675 985 996 W ActivityManager: Scheduling restart of crashed service com.tcl.appmarket2/.component.localApp.aidl.AppMarketService in 59992ms
2014-06-28 14:50:45┇01-01 08:56:57.030 1246 1354 D dalvikvm: GC_FOR_ALLOC freed 1401K, 17% free 11615K/13831K, paused 27ms
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : Build fingerprint: ‘Android/generic_mt5880/mt5880:4.0.4/IMM76L/eng.mt55-022.20140627.113843:eng/test-keys‘
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : pid: 853, tid: 1005 >>> /system/bin/dtv_svc <<<
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000558
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : r0 00000000 r1 00d87794 r2 00000000 r3 00000000
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : r4 00db0918 r5 00e10000 r6 00000000 r7 003db7dc
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : r8 002d0788 r9 00dafa40 10 00db0928 fp 00000001
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : ip 801bc884 sp 43c0fe00 lr afe113d8 pc 00196630 cpsr 60000010
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : d0 0000000000000000 d1 0000000000000000
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : d2 0000000000000000 d3 0000000000000000
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : d4 0000000000000000 d5 41c31320de000000
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : d6 3f50624dd2f1a9fc d7 3ede5bd800190669
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : d8 0000000000000000 d9 0000000000000000
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : d10 0000000000000000 d11 0000000000000000
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : d12 0000000000000000 d13 0000000000000000
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : d14 0000000000000000 d15 0000000000000000
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG : scr 00000010
2014-06-28 14:50:45┇01-01 08:56:57.033 9919 9919 I DEBUG :
2014-06-28 14:50:45┇01-01 08:56:57.063 985 1052 W ActivityManager: Activity pause timeout for ActivityRecord{40c9d3a0 com.tcl.a71s.launcher/.MainActivity}
2014-06-28 14:50:45┇01-01 08:56:57.069 985 1052 I Process : Sending signal. PID: 1239 SIG: 3
2014-06-28 14:50:45┇01-01 08:56:57.069 1239 1254 I dalvikvm: threadid=3: reacting to signal 3
2014-06-28 14:50:45┇01-01 08:56:57.114 1239 1254 I dalvikvm: Wrote stack traces to ‘/data/anr/traces.txt‘
2014-06-28 14:50:45┇01-01 08:56:57.123 1246 1246 D TVActivity: onNewIntent===============Intent { flg=0x10400000 cmp=com.tcl.tv/.TVActivity }
2014-06-28 14:50:45┇01-01 08:56:57.123 1246 1246 I TVActivity: startTvToSystemDemo
2014-06-28 14:50:45┇01-01 08:56:57.123 1246 1246 I TVActivity: startTvToSystemDemo:false
2014-06-28 14:50:45┇01-01 08:56:57.124 1246 1246 I TVActivity: =======onStart()
2014-06-28 14:50:45┇01-01 08:56:57.233 9919 9919 I DEBUG : #00 pc 00196630 /system/bin/dtv_svc
2014-06-28 14:50:45┇01-01 08:56:57.234 9919 9919 I DEBUG : #01 pc 000113d4 /system/lib/libc.so (pthread_mutex_unlock)
2014-06-28 14:50:45┇01-01 08:56:57.234 9919 9919 I DEBUG :
2014-06-28 14:50:45┇01-01 08:56:57.234 9919 9919 I DEBUG : code around pc:
2014-06-28 14:50:45┇01-01 08:56:57.234 9919 9919 I DEBUG : 00196610 e3530000 0a0000ec e3a01e49 e3a00001 ..S.....I.......
2014-06-28 14:50:45┇01-01 08:56:57.234 9919 9919 I DEBUG : 00196620 e19310b1 e5c3055f e3510000 1a000071 ...._.....Q.q...
2014-06-28 14:50:45┇01-01 08:56:57.234 9919 9919 I DEBUG : 00196630 e5d23558 e3530000 0a00002a e5923428 X5....S.*...(4..
2014-06-28 14:50:45┇01-01 08:56:57.234 9919 9919 I DEBUG : 00196640 e3530000 1a000027 e5d434b8 e3530000 ..S.‘....4....S.
2014-06-28 14:50:45┇01-01 08:56:57.234 9919 9919 I DEBUG : 00196650 1a000081 e59f2394 e28d3020 e08f2002 .....#.. 0... ..
2014-06-28 14:50:45┇01-01 08:56:57.234 9919 9919 I DEBUG :
2014-06-28 14:50:45┇01-01 08:56:57.234 9919 9919 I DEBUG : code around lr:
2014-06-28 14:50:45┇01-01 08:56:57.234 9919 9919 I DEBUG : afe113b8 e2506000 02800016 08bd81f0 e5964000 .`[email protected]
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : afe113c8 e2144903 1a00000b f57ff05f ebffed3e .I......_...>...
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : afe113d8 e3500001 0a000005 e5864000 e1a00006 [email protected]
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : afe113e8 e3a01001 ebffed61 e1a00004 e8bd81f0 ....a...........
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : afe113f8 e3a00000 e8bd81f0 ebfffcf8 e5963000 .............0..
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG :
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : stack:
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : 43c0fdc0 00dafa80 [heap]
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : 43c0fdc4 003db7dc
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : 43c0fdc8 002d0788 /system/bin/dtv_svc
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : 43c0fdcc 80081d20 /system/lib/libdtv_common.so
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : 43c0fdd0 00d87780 [heap]
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : 43c0fdd4 00820000
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : 43c0fdd8 00000000
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : 43c0fddc 01091429
2014-06-28 14:50:45┇01-01 08:56:57.235 9919 9919 I DEBUG : 43c0fde0 00000000
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fde4 0004c510 /system/bin/dtv_svc
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fde8 00000000
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fdec 00048e18 /system/bin/dtv_svc
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fdf0 00db0918 [heap]
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fdf4 00e10000 [heap]
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fdf8 df0027ad
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fdfc 00000000
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : #01 43c0fe00 002ad3c4 /system/bin/dtv_svc
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe04 00004433
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe08 00e53a18 [heap]
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe0c 01050000
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe10 00000000
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe14 00000000
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe18 01091510
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe1c 43c0feae
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe20 00db0918 [heap]
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe24 001b2164 /system/bin/dtv_svc
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe28 00000000
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe2c 00000007
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe30 00000008
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe34 00000000
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe38 00000001
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe3c 00db0918 [heap]
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe40 00000001
2014-06-28 14:50:45┇01-01 08:56:57.236 9919 9919 I DEBUG : 43c0fe44 00000000
原因分析:/system/bin/dtv_svc 因为内存段错误,被打挂了。出问题的是在/system/lib/libdtv_common.so里面。
解决方法:
主要在dtv_linux里面,所以需要拿到出现问题软件编译出来的带symbol版本的libdtv_common.so进行addr2line提示具体定位到哪个地方出现的问题。
后面为什么待机待不了,因为待机的流程从android层发送到我们MW层,dtv_svc都挂了,当然就传不到下面Drv层。自然没有能响应到。
系统崩溃分析