12-12 04:46:29.041 29622 29622 I AEE_AED : pid: 29618, tid: 29618, name: dex2oat >>> /system/bin/dex2oat <<<
12-12 04:46:29.041 29622 29622 I AEE_AED : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
12-12 04:46:29.046 28604 28675 I CamAp_Storage: no Sd
12-12 04:46:29.046 29622 29622 I AEE_AED : Abort message: 'FORTIFY: read: prevented write past end of buffer'
12-12 04:46:29.046 28604 28675 I StorageManagerEx: current system default path = /storage/emulated/0
12-12 04:46:29.046 28604 28675 I CamAp_Storage: updatesMountPoint(),sMountPoint:/storage/emulated/0
12-12 04:46:29.046 29622 29622 I AEE_AED : r0 00000000 r1 000073b2 r2 00000006 r3 00000008
12-12 04:46:29.046 28604 28675 I CamAp_Storage: getFileDirectory(),sMountPoint1:/storage/emulated/0
12-12 04:46:29.046 29622 29622 I AEE_AED : r4 a865958c r5 00000006 r6 a8659534 r7 0000010c
12-12 04:46:29.046 29622 29622 I AEE_AED : r8 00000001 r9 004ee310 sl a78c2899 fp ffffffff
12-12 04:46:29.046 29622 29622 I AEE_AED : ip 00000000 sp bebf3718 lr a78ba4d7 pc a78bcd34 cpsr 200e0010
12-12 04:46:29.070 29622 29622 I AEE_AED :
12-12 04:46:29.070 29622 29622 I AEE_AED : backtrace:
12-12 04:46:29.071 29622 29622 I AEE_AED : #00 pc 0004ad34 /system/lib/libc.so (tgkill+12)
12-12 04:46:29.071 29622 29622 I AEE_AED : #01 pc 000484d3 /system/lib/libc.so (pthread_kill+34)
12-12 04:46:29.071 29622 29622 I AEE_AED : #02 pc 0001d485 /system/lib/libc.so (raise+10)
12-12 04:46:29.071 29622 29622 I AEE_AED : #03 pc 00018fc1 /system/lib/libc.so (__libc_android_abort+34)
12-12 04:46:29.071 29622 29622 I AEE_AED : #04 pc 00017024 /system/lib/libc.so (abort+4)
12-12 04:46:29.071 29622 29622 I AEE_AED : #05 pc 0001b47f /system/lib/libc.so (__libc_fatal+22)
12-12 04:46:29.071 29622 29622 I AEE_AED : #06 pc 0001b45f /system/lib/libc.so (__fortify_chk_fail+26)
12-12 04:46:29.071 29622 29622 I AEE_AED : #07 pc 000508bd /system/lib/libc.so (__read_chk+36)
12-12 04:46:29.071 29622 29622 I AEE_AED : #08 pc 0003c923 <anonymous:a75f8000>
12-12 04:46:29.124 1131 1356 W NativeCrashListener: Couldn't find ProcessRecord for pid 29618
12-12 04:46:29.125 29622 29622 I AEE_AED : request.action: 0
12-12 04:46:29.041 29622 29622 I AEE_AED : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
12-12 04:46:29.046 28604 28675 I CamAp_Storage: no Sd
12-12 04:46:29.046 29622 29622 I AEE_AED : Abort message: 'FORTIFY: read: prevented write past end of buffer'
12-12 04:46:29.046 28604 28675 I StorageManagerEx: current system default path = /storage/emulated/0
12-12 04:46:29.046 28604 28675 I CamAp_Storage: updatesMountPoint(),sMountPoint:/storage/emulated/0
12-12 04:46:29.046 29622 29622 I AEE_AED : r0 00000000 r1 000073b2 r2 00000006 r3 00000008
12-12 04:46:29.046 28604 28675 I CamAp_Storage: getFileDirectory(),sMountPoint1:/storage/emulated/0
12-12 04:46:29.046 29622 29622 I AEE_AED : r4 a865958c r5 00000006 r6 a8659534 r7 0000010c
12-12 04:46:29.046 29622 29622 I AEE_AED : r8 00000001 r9 004ee310 sl a78c2899 fp ffffffff
12-12 04:46:29.046 29622 29622 I AEE_AED : ip 00000000 sp bebf3718 lr a78ba4d7 pc a78bcd34 cpsr 200e0010
12-12 04:46:29.070 29622 29622 I AEE_AED :
12-12 04:46:29.070 29622 29622 I AEE_AED : backtrace:
12-12 04:46:29.071 29622 29622 I AEE_AED : #00 pc 0004ad34 /system/lib/libc.so (tgkill+12)
12-12 04:46:29.071 29622 29622 I AEE_AED : #01 pc 000484d3 /system/lib/libc.so (pthread_kill+34)
12-12 04:46:29.071 29622 29622 I AEE_AED : #02 pc 0001d485 /system/lib/libc.so (raise+10)
12-12 04:46:29.071 29622 29622 I AEE_AED : #03 pc 00018fc1 /system/lib/libc.so (__libc_android_abort+34)
12-12 04:46:29.071 29622 29622 I AEE_AED : #04 pc 00017024 /system/lib/libc.so (abort+4)
12-12 04:46:29.071 29622 29622 I AEE_AED : #05 pc 0001b47f /system/lib/libc.so (__libc_fatal+22)
12-12 04:46:29.071 29622 29622 I AEE_AED : #06 pc 0001b45f /system/lib/libc.so (__fortify_chk_fail+26)
12-12 04:46:29.071 29622 29622 I AEE_AED : #07 pc 000508bd /system/lib/libc.so (__read_chk+36)
12-12 04:46:29.071 29622 29622 I AEE_AED : #08 pc 0003c923 <anonymous:a75f8000>
12-12 04:46:29.124 1131 1356 W NativeCrashListener: Couldn't find ProcessRecord for pid 29618
12-12 04:46:29.125 29622 29622 I AEE_AED : request.action: 0
12-12 04:46:29.125 29622 29622 V AEE_AED : dashboard_record_update() : rec->module = /system/bin/dex2oat
'FORTIFY: read: prevented write past end of buffer'
说明read 函数读入buffer 的字符长度超多了buffer 大小。
“少定义,动态分”方法曾经是一种比较常用的编程技巧,但这个技术确实与Fortify机制有了冲突。
D_FORTIFY_SOURCE
http://www.kuqin.com/shuoit/20150914/348038.html