微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > mt6735 android.gra phics.cts.TypefaceTest#testInvalidCm...

mt6735 android.gra phics.cts.TypefaceTest#testInvalidCm...

时间:10-02 整理:3721RD 点击:
[CTS5.0_r4][CTS6.0_r3]android.graphics.cts.Typeface Test#test Invalid Cmap Fontfail
[DESCRIPTION]
CTS5.0_r4和CTS6.0_r3版本有新增一项
case:android.graphics.cts.TypefaceTest#testInvalidCmapFont
如果没有合入相应的Google Security Patch则会fail:
02-17 13:58:43 I/7S9LA6PF9DOVDU9H:
android.graphics.cts.TypefaceTest#testInvalidCmapFont FAIL
Test failed to run to completion. Reason: 'Instrumentation run failed due to 'Native
crash''. Check device logcat for details
检查device logcat会发现有如下native exception:
-----------------------------------------------Core LOG -------------------------------
-------------------------
02-16 20:18:18.255 3712 3712 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** ***
*** *** *** ***
02-16 20:18:18.256 3712 3712 F DEBUG : Revision: '0'
02-16 20:18:18.256 3712 3712 F DEBUG : ABI: 'ARM'
02-16 20:18:18.256 3712 3712 F DEBUG : pid: 3696, tid: 3709, name: pool-2-thread-1 >>>
com.android.cts.graphics <<<
02-16 20:18:18.256 3712 3712 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault
addr 0xb9397004
02-16 20:18:18.284 3712 3712 F DEBUG : r0 b938c2e4 r1 0000ad20 r2 00000001 r3 b938ec58
02-16 20:18:18.284 3712 3712 F DEBUG : r4 b938c2e4 r5 0000ad20 r6 00000e6c r7 80000002
02-16 20:18:18.284 3712 3712 F DEBUG : r8 00000014 r9 00000000 sl a4bc1e9c fp 00000034
02-16 20:18:18.285 3712 3712 F DEBUG : ip b6d2d59c sp a4bc1e80 lr b5c9f993 pc b5c9f6fe
cpsr 90030030
02-16 20:18:18.290 3712 3712 F DEBUG :
02-16 20:18:18.290 3712 3712 F DEBUG : backtrace:
02-16 20:18:18.290 3712 3712 F DEBUG : #00 pc 000066fe /system/lib/libminikin.so
02-16 20:18:18.291 3712 3712 F DEBUG : #01 pc 0000698f /system/lib/libminikin.so
(android::CmapCoverage::getCoverage(android::SparseBitSet&, unsigned char const*,
unsigned int)+432)
02-16 20:18:18.291 3712 3712 F DEBUG : #02 pc 00007375 /system/lib/libminikin.so
(android::FontFamily::getCoverage()+116)
02-16 20:18:18.291 3712 3712 F DEBUG : #03 pc 00006cff /system/lib/libminikin.so
(android::FontCollection::FontCollection(std::__1::vector<android::FontFamily*,
std::__1::allocator<android::FontFamily*> > const&)+150)
02-16 20:18:18.291 3712 3712 F DEBUG : #04 pc 0009b41b
/system/lib/libandroid_runtime.so (android::TypefaceImpl_createFROMFamilies(long long
const*, unsigned int)+94)
02-16 20:18:18.291 3712 3712 F DEBUG : #05 pc 0009b0fb
/system/lib/libandroid_runtime.so
02-16 20:18:18.292 3712 3712 F DEBUG : #06 pc 0264d421 /system/php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework/arm/boot.oat
(offset 0x2406000)
02-16 20:18:18.695 3712 3712 F DEBUG :
02-16 20:18:18.695 3712 3712 F DEBUG : Tombstone written to:
/data/tombstones/tombstone_00
02-16 20:49:21.201 4581 4581 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** ***
*** *** *** ***
02-16 20:49:21.201 4581 4581 F DEBUG : Build fingerprint: 'TCL/4034D/Pixi4-
4:6.0/MRA58K/v3D83-0:user/release-keys'
02-16 20:49:21.201 4581 4581 F DEBUG : Revision: '0'
02-16 20:49:21.202 4581 4581 F DEBUG : ABI: 'arm'
02-16 20:49:21.202 4581 4581 F DEBUG : pid: 4565, tid: 4578, name: pool-2-thread-1 >>>
com.android.cts.graphics <<<
02-16 20:49:21.202 4581 4581 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault
addr 0xb938d000
02-16 20:49:21.221 4581 4581 F DEBUG : r0 b9382ea4 r1 0000a15c r2 00000001 r3 b93833d0
02-16 20:49:21.221 4581 4581 F DEBUG : r4 b9382ea4 r5 0000a15c r6 00000d71 r7 80000002
02-16 20:49:21.221 4581 4581 F DEBUG : r8 00000014 r9 00000000 sl a4bc1e9c fp 00000034
02-16 20:49:21.221 4581 4581 F DEBUG : ip b6d2d59c sp a4bc1e80 lr b5c9f993 pc b5c9f6fe
cpsr 90030030
02-16 20:49:21.226 4581 4581 F DEBUG :
02-16 20:49:21.226 4581 4581 F DEBUG : backtrace:
02-16 20:49:21.227 4581 4581 F DEBUG : #00 pc 000066fe /system/lib/libminikin.so
02-16 20:49:21.227 4581 4581 F DEBUG : #01 pc 0000698f /system/lib/libminikin.so
(android::CmapCoverage::getCoverage(android::SparseBitSet&, unsigned char const*,
unsigned int)+432)
02-16 20:49:21.227 4581 4581 F DEBUG : #02 pc 00007375 /system/lib/libminikin.so
(android::FontFamily::getCoverage()+116)
02-16 20:49:21.227 4581 4581 F DEBUG : #03 pc 00006cff /system/lib/libminikin.so
(android::FontCollection::FontCollection(std::__1::vector<android::FontFamily*,
std::__1::allocator<android::FontFamily*> > const&)+150)
02-16 20:49:21.227 4581 4581 F DEBUG : #04 pc 0009b41b
/system/lib/libandroid_runtime.so (android::TypefaceImpl_createFromFamilies(long long
const*, unsigned int)+94)
02-16 20:49:21.228 4581 4581 F DEBUG : #05 pc 0009b0fb
/system/lib/libandroid_runtime.so
02-16 20:49:21.228 4581 4581 F DEBUG : #06 pc 0264d421 /system/framework/arm/boot.oat
(offset 0x2406000)
02-16 20:49:21.408 4581 4581 F DEBUG :
02-16 20:49:21.408 4581 4581 F DEBUG : Tombstone written to:
/data/tombstones/tombstone_01

[SOLUTION]
请自行到PMS申请如下Google Security Patch:
ALPS02512243 [[Google Security Patch][CVE-2016-0808]Denial of Service Vulnerability in Minikin]

路过!

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top