jameszhu688 发表于 2015-10-29 10:43:45

CC-A80安卓解码出错

日志如下:

10-29 10:37:41.892: E/ion_alloc(5191): ion_alloc_phy2vir failed, do not find physical address: 0x7fdd4000
10-29 10:37:41.892: A/libc(5191): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 5472 (Binder_2)
10-29 10:37:41.992: I/DEBUG(1530): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-29 10:37:41.992: I/DEBUG(1530): Build fingerprint: 'Cubietech/kylin_optimus/kylin-optimus:4.4.2/KVT49L/20150314:eng/test-keys'
10-29 10:37:41.992: I/DEBUG(1530): Revision: '0'
10-29 10:37:41.992: I/DEBUG(1530): pid: 5191, tid: 5472, name: Binder_2>>> /system/bin/mediaserver <<<
10-29 10:37:41.992: I/DEBUG(1530): AM write failure (32 / Broken pipe)
10-29 10:37:41.992: I/DEBUG(1530): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
10-29 10:37:41.992: W/NativeCrashListener(1995): Couldn't find ProcessRecord for pid 5191
10-29 10:37:42.122: I/DEBUG(1530):   r0 a9d0c000r1 00000000r2 00000740r3 00000000
10-29 10:37:42.122: I/DEBUG(1530):   r4 00000780r5 a9d0c780r6 ab77ece8r7 00000001
10-29 10:37:42.122: I/DEBUG(1530):   r8 00000780r9 00000440sl 00000000fp b44e2fbc
10-29 10:37:42.122: I/DEBUG(1530):   ip b44e5f60sp ab77ebc0lr b44e2db5pc b6e6a040cpsr 200b0010
10-29 10:37:42.122: I/DEBUG(1530):   d03030303464646637d16f64202c64656c73
10-29 10:37:42.122: I/DEBUG(1530):   d26e696620746f6e3ad36369737968702020
10-29 10:37:42.122: I/DEBUG(1530):   d4e4ce85db7bd3c7dbd524c8409d194ddcca
10-29 10:37:42.122: I/DEBUG(1530):   d6a1f3c6aa60f139c7d76ca452dd5171c3d8
10-29 10:37:42.122: I/DEBUG(1530):   d80000000000000000d90000000000000000
10-29 10:37:42.122: I/DEBUG(1530):   d10 0000000000000000d11 0000000000000000
10-29 10:37:42.122: I/DEBUG(1530):   d12 0000000000000000d13 0000000000000000
10-29 10:37:42.122: I/DEBUG(1530):   d14 0000000000000000d15 0000000000000000
10-29 10:37:42.122: I/DEBUG(1530):   d16 0000000000000001d17 0000000000000000
10-29 10:37:42.122: I/DEBUG(1530):   d18 0000000000000000d19 3fbb387dee000000
10-29 10:37:42.122: I/DEBUG(1530):   d20 3fc5544df334d059d21 3e66376972bea4d0
10-29 10:37:42.122: I/DEBUG(1530):   d22 3fbabd0562fead5fd23 3fd0000000000000
10-29 10:37:42.122: I/DEBUG(1530):   d24 3ffe542fa9d0152ad25 3f77ff86776369e9
10-29 10:37:42.122: I/DEBUG(1530):   d26 0000000000000000d27 4000000000000000
10-29 10:37:42.122: I/DEBUG(1530):   d28 bf77ff86919d591ed29 bfbcb8765719d592
10-29 10:37:42.122: I/DEBUG(1530):   d30 3ff0000000000000d31 3fd1cb8765719d59
10-29 10:37:42.122: I/DEBUG(1530):   scr 60000010
10-29 10:37:42.122: I/DEBUG(1530): backtrace:
10-29 10:37:42.122: I/DEBUG(1530):   #00pc 00022040/system/lib/libc.so (__memcpy_base+88)
10-29 10:37:42.122: I/DEBUG(1530):   #01pc 00004db1/system/lib/libOmxVdec.so (TransformToGPUBuffer+42)
10-29 10:37:42.122: I/DEBUG(1530):   #02pc 000046ab/system/lib/libOmxVdec.so
10-29 10:37:42.122: I/DEBUG(1530):   #03pc 0000d240/system/lib/libc.so (__thread_entry+72)
10-29 10:37:42.122: I/DEBUG(1530):   #04pc 0000d3d8/system/lib/libc.so (pthread_create+240)
10-29 10:37:42.122: I/DEBUG(1530): stack:
10-29 10:37:42.122: I/DEBUG(1530):          ab77eb8000000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77eb8400000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77eb8800000780
10-29 10:37:42.122: I/DEBUG(1530):          ab77eb8c00000438
10-29 10:37:42.122: I/DEBUG(1530):          ab77eb9000000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77eb94b6d2f455/system/lib/libui.so
10-29 10:37:42.122: I/DEBUG(1530):          ab77eb9800000780
10-29 10:37:42.122: I/DEBUG(1530):          ab77eb9cab77ec50
10-29 10:37:42.122: I/DEBUG(1530):          ab77eba000000030
10-29 10:37:42.122: I/DEBUG(1530):          ab77eba400000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77eba800000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebac00000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebb000000780
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebb4b6d2f5e9/system/lib/libui.so (android::GraphicBufferMapper::lock(native_handle const*, int, android::Rect const&, void**)+100)
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebb800000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebbc00000780
10-29 10:37:42.122: I/DEBUG(1530):   #00ab77ebc0a9d0c000/dev/pvrsrvkm
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebc4b44e2db5/system/lib/libOmxVdec.so (TransformToGPUBuffer+46)
10-29 10:37:42.122: I/DEBUG(1530):   #01ab77ebc800000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebccb7114678
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebd0b70f7a48
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebd4b71122c0
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebd8b6d3302c/system/lib/libui.so
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebdc00000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebe0b6d33028/system/lib/libui.so
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebe400000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebe8b44e2fbc/system/lib/libOmxVdec.so
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebecb44e26af/system/lib/libOmxVdec.so
10-29 10:37:42.122: I/DEBUG(1530):   #02ab77ebf0ab77ec44
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebf4ab77ec44
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebf800000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ebfc00000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec0000000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec0400000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec0800111700
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec0c00000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec1000000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec14b44e3c46/system/lib/libOmxVdec.so
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec1800000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec1cb44e5f34/system/lib/libOmxVdec.so
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec20b44e2fcc/system/lib/libOmxVdec.so
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec24b44e2fcc/system/lib/libOmxVdec.so
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec2800000000
10-29 10:37:42.122: I/DEBUG(1530):          ab77ec2cb7114678
10-29 10:37:42.122: I/DEBUG(1530):          ................

看起来是ion_alloc_phy2vir出错导致memcpy异常,查看了相关的源码,貌似这部分就只有so库,怎么破?

sunbeyond 发表于 2015-10-30 09:50:33




请问你是什么应用场景。使用Mdediacodec 自己写的demo?

jameszhu688 发表于 2015-10-30 10:52:20

自己写的Demo,多路的高清解码,这个第三路的时候
页: [1]
查看完整版本: CC-A80安卓解码出错