mediaserver crashed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mediaserver crashed

1,241 Views
wangfei
Contributor I

Hi, I am using custom hardware based in IMX6q and Android4.2.2 is ported on it.

I play media files in the secondary screen, while playing on the main screen, frequent operation will cause mediaserver to crash.

I tried to incrase the size of fbmem and gpumem,but the test results has no changed.

Is there anyting  i can try to fix this problem.

The log like:

I/ActivityManager( 2610): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.freescale.cactusplayer/.VideoMenu} from pid 3876

D/DisplayManager( 2610): getDisplayInfo: displayId=0, info=DisplayInfo{"内置屏幕", app 800 x 600, real 800 x 600, largest app 800 x 775, smallest app 600 x 575, 56.000004 fps, rotation 0, density 160, 213.0 x 213.0 dpi, layerStack 0, type BUILT_IN, address null, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

D/Cactus ( 7328): VideoPlayer: onStart

D/Cactus ( 7328): VideoPlayer: onResume

D/TouchD ( 2352): Entering CheckVIDinlsusb()

D/TouchD ( 2352): Command busybox lsusb | grep 0eef output to /dev/null failed.

D/TouchD ( 2352): Entering CheckIniDevPID

D/Cactus ( 7328): surfaceCreated

I/OMXPlayer( 2275): Loading content: sharedfd://32:0:83869253:0

I/OMXPlayer( 2275): LEVEL: 1 FUNCTION: MediaTypeInspect LINE: 1656

I/OMXPlayer( 2275): Can't inspect media content type by subfix.

I/OMXPlayer( 2275): LEVEL: 1 FUNCTION: prepare LINE: 422

I/OMXPlayer( 2275): failed to open file: /data/system/audio_pass_through_pref.

D/Cactus ( 7328): surfaceChanged: 1280 x 720

I/OMXPlayer( 2275): Can't open library: lib_aacplusd_wrap_arm12_elinux_android.so

I/OMXPlayer( 2275): Cannot load library: load_library(linker.cpp:745): library "lib_aacplusd_wrap_arm12_elinux_android.so" not found

W/audio_hw_primary( 2275): out_set_parametersbingking88 routing=1024, ret 4, out 1074101848

I/vpu-lib ( 2275): Product Info: i.MX6Q/D/S

I/ActivityManager( 2610): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.jd.etms.selfd.client/.MainActivity} from pid 3876

D/DisplayManager( 2610): getDisplayInfo: displayId=0, info=DisplayInfo{"内置屏幕", app 800 x 600, real 800 x 600, largest app 800 x 775, smallest app 600 x 575, 56.000004 fps, rotation 0, density 160, 213.0 x 213.0 dpi, layerStack 0, type BUILT_IN, address null, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

E/BufferQueue( 2272): [com.freescale.cactusplayer/com.freescale.cactusplayer.VideoPlayer] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count

I/OMXPlayer( 2275): VideoRender role: video_render.surface

I/OMXPlayer( 2275): nPreCacheSize = 603375

I/vpu-lib ( 2275): <gpu> alloc handle: 0x4f1dbd30, paddr: 0x7817d000, vaddr: 0x46da4000

I/vpu-lib ( 2275): <gpu> alloc handle: 0x4e5ebfe0, paddr: 0x7cdf6000, vaddr: 0x4ba1d000

D/dalvikvm( 2610): GC_FOR_ALLOC freed 864K, 29% free 8082K/11248K, paused 66ms, total 66ms

D/Cactus ( 7328): VideoPlayer: onPause

E/MediaPlayer( 7328): pause called in state 4

E/MediaPlayer( 7328): error (-38, 0)

I/vpu-lib ( 2275): <gpu> alloc handle: 0x413ad1a0, paddr: 0x1de00000, vaddr: 0x50713000

W/InputMethodManagerService( 2610): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@40e3d388 (uid=1000 pid=2820)

I/vpu-lib ( 2275): <gpu> alloc handle: 0x4cd1d2c0, paddr: 0x11000000, vaddr: 0x50866000

I/vpu-lib ( 2275): <gpu> alloc handle: 0x4c5edc60, paddr: 0x790d6000, vaddr: 0x47cfd000

I/vpu-lib ( 2275): bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0

I/vpu-lib ( 2275): <gpu> free handle: 0x4f1dbd30, paddr: 0x7817d000, vaddr: 0x46da4000

I/vpu-lib ( 2275): <gpu> free handle: 0x4e5ebfe0, paddr: 0x7cdf6000, vaddr: 0x4ba1d000

E/vpu-lib ( 2275): _IOFreePhyMem: gpu allocator failed to free buffer 0x413ad1a0

I/OMXPlayer( 2275): LEVEL: 1 FUNCTION: FreeOutputBuffer LINE: 3771

I/OMXPlayer( 2275): FreeOutputBuffer: free vpu memory failure : ret=0x1

E/v_gralloc( 2275): Failed to register buffer hnd=0x4f1dbd50

W/GraphicBufferMapper( 2275): registerBuffer(0x4f1dbd50) failed -22 (Invalid argument)

E/GraphicBuffer( 2275): unflatten: registerBuffer failed: Invalid argument (-22)

E/v_gralloc( 2275): Failed to register buffer hnd=0x4e48f8e0

W/GraphicBufferMapper( 2275): registerBuffer(0x4e48f8e0) failed -22 (Invalid argument)

E/GraphicBuffer( 2275): unflatten: registerBuffer failed: Invalid argument (-22)

E/v_gralloc( 2275): Failed to register buffer hnd=0x4e48f9b8

W/GraphicBufferMapper( 2275): registerBuffer(0x4e48f9b8) failed -22 (Invalid argument)

E/GraphicBuffer( 2275): unflatten: registerBuffer failed: Invalid argument (-22)

E/v_gralloc( 2275): Failed to register buffer hnd=0x4e48faa8

W/GraphicBufferMapper( 2275): registerBuffer(0x4e48faa8) failed -22 (Invalid argument)

E/GraphicBuffer( 2275): unflatten: registerBuffer failed: Invalid argument (-22)

E/v_gralloc( 2275): Failed to register buffer hnd=0x4e48fb98

W/GraphicBufferMapper( 2275): registerBuffer(0x4e48fb98) failed -22 (Invalid argument)

E/GraphicBuffer( 2275): unflatten: registerBuffer failed: Invalid argument (-22)

E/v_gralloc( 2275): Failed to register buffer hnd=0x4e48fc88

W/GraphicBufferMapper( 2275): registerBuffer(0x4e48fc88) failed -22 (Invalid argument)

E/GraphicBuffer( 2275): unflatten: registerBuffer failed: Invalid argument (-22)

E/v_gralloc( 2275): Failed to register buffer hnd=0x40fca650

W/GraphicBufferMapper( 2275): registerBuffer(0x40fca650) failed -22 (Invalid argument)

E/GraphicBuffer( 2275): unflatten: registerBuffer failed: Invalid argument (-22)

E/v_gralloc( 2275): Failed to register buffer hnd=0x40fca7c8

W/GraphicBufferMapper( 2275): registerBuffer(0x40fca7c8) failed -22 (Invalid argument)

E/GraphicBuffer( 2275): unflatten: registerBuffer failed: Invalid argument (-22)

I/OMXPlayer( 2275): Set Player Speed to 1.000000.

I/OMXPlayer( 2275): Setting same speed scale.

D/DisplayManager( 2610): getDisplayInfo: displayId=0, info=DisplayInfo{"内置屏幕", app 800 x 600, real 800 x 600, largest app 800 x 775, smallest app 600 x 575, 56.000004 fps, rotation 0, density 160, 213.0 x 213.0 dpi, layerStack 0, type BUILT_IN, address null, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

D/DisplayManager(16132): getDisplayInfo: displayId=0, info=DisplayInfo{"内置屏幕", app 800 x 600, real 800 x 600, largest app 800 x 775, smallest app 600 x 575, 56.000004 fps, rotation 0, density 160, 213.0 x 213.0 dpi, layerStack 0, type BUILT_IN, address null, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

I/Microlog.PropertyConfiguration(16132): Configure using the simple style (aka classic style)

I/Microlog.PropertyConfiguration(16132): Root level: DEBUG

I/Microlog.PropertyConfiguration(16132): Adding appender com.google.code.microlog4android.appender.LogCatAppender

I/Microlog.PropertyConfiguration(16132): Adding appender com.google.code.microlog4android.appender.FileAppender

D/DisplayManager(16132): getDisplayInfo: displayId=0, info=DisplayInfo{"内置屏幕", app 800 x 600, real 800 x 600, largest app 800 x 775, smallest app 600 x 575, 56.000004 fps, rotation 0, density 160, 213.0 x 213.0 dpi, layerStack 0, type BUILT_IN, address null, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

I/vpu-lib ( 2275): <gpu> alloc handle: 0x41062570, paddr: 0x10e00000, vaddr: 0x50d66000

D/dalvikvm(16132): GC_FOR_ALLOC freed 165K, 13% free 2563K/2916K, paused 26ms, total 26ms

I/dalvikvm-heap(16132): Grow heap (frag case) to 4.514MB for 1920016-byte allocation

D/Cactus ( 7328): surfaceDestroyed

I/OMXPlayer( 2275): xxxxStop Player.xxxx

D/dalvikvm(16132): GC_FOR_ALLOC freed 47K, 9% free 4391K/4792K, paused 26ms, total 26ms

D/dalvikvm(16132): GC_CONCURRENT freed <1K, 9% free 4391K/4792K, paused 4ms+3ms, total 34ms

I/vpu-lib ( 2275): <gpu> free handle: 0x4c5edc60, paddr: 0x790d6000, vaddr: 0x47cfd000

I/vpu-lib ( 2275): <gpu> free handle: 0x4cd1d2c0, paddr: 0x11000000, vaddr: 0x50866000

I/vpu-lib ( 2275): <gpu> free handle: 0x41062570, paddr: 0x10e00000, vaddr: 0x50d66000

E/vpu-lib ( 2275): _IOFreePhyMem: gpu allocator failed to free buffer 0x413ad1a0

I/OMXPlayer( 2275): LEVEL: 1 FUNCTION: DeInitFilterComponent LINE: 2529

I/OMXPlayer( 2275): DeInitFilterComponent: free memory failure !!! 

F/libc ( 2275): Fatal signal 11 (SIGSEGV) at 0x4f4c8ba0 (code=1), thread 10257 (Binder_B)

D/DisplayManager( 3876): getDisplayInfo: displayId=0, info=DisplayInfo{"内置屏幕", app 800 x 600, real 800 x 600, largest app 800 x 775, smallest app 600 x 575, 56.000004 fps, rotation 0, density 160, 213.0 x 213.0 dpi, layerStack 0, type BUILT_IN, address null, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

D/DisplayManager( 3876): getDisplayInfo: displayId=0, info=DisplayInfo{"内置屏幕", app 800 x 600, real 800 x 600, largest app 800 x 775, smallest app 600 x 575, 56.000004 fps, rotation 0, density 160, 213.0 x 213.0 dpi, layerStack 0, type BUILT_IN, address null, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

D/dalvikvm(16132): GC_FOR_ALLOC freed <1K, 9% free 4391K/4792K, paused 18ms, total 18ms

I/dalvikvm-heap(16132): Grow heap (frag case) to 5.282MB for 852816-byte allocation

I/DEBUG ( 2271): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG ( 2271): Build fingerprint: 'unknown'

I/DEBUG ( 2271): Revision: '405522'

I/DEBUG ( 2271): pid: 2275, tid: 10257, name: Binder_B >>> /system/bin/mediaserver <<<

I/DEBUG ( 2271): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 4f4c8ba0

D/dalvikvm(16132): GC_FOR_ALLOC freed 0K, 8% free 5224K/5628K, paused 30ms, total 30ms

D/dalvikvm(16132): GC_CONCURRENT freed <1K, 8% free 5226K/5628K, paused 3ms+4ms, total 28ms

I/Microlog(16132): 2015-11-21 12:02:58,727 MainActivity [INFO] - MainActivity is create

I/DEBUG ( 2271): r0 4f4c8b98 r1 00000001 r2 00000004 r3 00000001

I/DEBUG ( 2271): r4 4f4c8b98 r5 00000000 r6 00000017 r7 52474347

I/DEBUG ( 2271): r8 4f308dcc r9 000003f5 sl 40188228 fp 00000000

I/DEBUG ( 2271): ip 40bc5f28 sp 4f308bd8 lr 40b667b7 pc 40b655fc cpsr 80000030

I/DEBUG ( 2271): d0 000000003e8ccccd d1 7e37e43c00000021

I/DEBUG ( 2271): d2 3fa925d9ef847320 d3 3f1150f93b6d8d46

I/DEBUG ( 2271): d4 bf97637ba8594245 d5 0000002800000000

I/DEBUG ( 2271): d6 4204000041300000 d7 3f4d1c903debc8c1

I/DEBUG ( 2271): d8 0000000000000000 d9 0000000000000000

I/DEBUG ( 2271): d10 0000000000000000 d11 0000000000000000

I/DEBUG ( 2271): d12 0000000000000000 d13 0000000000000000

I/DEBUG ( 2271): d14 0000000000000000 d15 0000000000000000

I/DEBUG ( 2271): d16 0000000000000001 d17 0000000000000000

I/DEBUG ( 2271): d18 4000000000000000 d19 bf66ba9e379c1526

I/DEBUG ( 2271): d20 3fc550de29c9d47c d21 3e66376972bea4d0

I/DEBUG ( 2271): d22 3fe9a3920542ca12 d23 0000000000000000

I/DEBUG ( 2271): d24 0000000000000000 d25 3f7599cd461969de

I/DEBUG ( 2271): d26 3f40624dd2f1a9fc d27 0000000000000000

I/DEBUG ( 2271): d28 0000000000000000 d29 0000000000000000

I/DEBUG ( 2271): d30 0000000000000000 d31 0000000000000000

I/DEBUG ( 2271): scr 68000010

I/DEBUG ( 2271):

I/DEBUG ( 2271): backtrace:

I/DEBUG ( 2271): #00 pc 000265fc /system/lib/libGAL.so

I/DEBUG ( 2271): #01 pc 000277b3 /system/lib/libGAL.so (gcoSURF_Unlock+18)

I/DEBUG ( 2271): #02 pc 00002469 /system/lib/hw/gralloc_viv.imx6.so (gc_gralloc_unregister_buffer(gralloc_module_t const*, native_handle const*)+128)

I/DEBUG ( 2271): #03 pc 000015d7 /system/lib/hw/gralloc.imx6.so (gralloc_unregister_buffer(gralloc_module_t const*, native_handle const*)+16)

I/DEBUG ( 2271): #04 pc 000074ad /system/lib/libui.so (android::GraphicBufferMapper::unregisterBuffer(native_handle const*)+36)

I/DEBUG ( 2271): #05 pc 000066b5 /system/lib/libui.so (android::GraphicBuffer::free_handle()+16)

I/DEBUG ( 2271): #06 pc 000067cb /system/lib/libui.so (android::GraphicBuffer::~GraphicBuffer()+18)

I/DEBUG ( 2271): #07 pc 000067e9 /system/lib/libui.so (android::GraphicBuffer::~GraphicBuffer()+4)

I/DEBUG ( 2271): #08 pc 0001d4c5 /system/lib/libgui.so

I/DEBUG ( 2271): #09 pc 000247d7 /system/lib/libgui.so (android::sp<android::GraphicBuffer>::~sp()+10)

I/DEBUG ( 2271): #10 pc 00024831 /system/lib/libgui.so (android::SurfaceTextureClient::~SurfaceTextureClient()+80)

I/DEBUG ( 2271): #11 pc 0002485d /system/lib/libgui.so (android::SurfaceTextureClient::~SurfaceTextureClient()+4)

I/DEBUG ( 2271): #12 pc 0000efe1 /system/lib/libutils.so (android::RefBase::decStrong(void const*) const+40)

I/DEBUG ( 2271): #13 pc 00005dcf /system/lib/lib_omx_player_arm11_elinux.so (android::OMXPlayer::~OMXPlayer()+134)

I/DEBUG ( 2271): #14 pc 00005e15 /system/lib/lib_omx_player_arm11_elinux.so (android::OMXPlayer::~OMXPlayer()+4)

I/DEBUG ( 2271): #15 pc 0000efe1 /system/lib/libutils.so (android::RefBase::decStrong(void const*) const+40)

I/DEBUG ( 2271): #16 pc 0002be3f /system/lib/libmediaplayerservice.so (android::sp<android::AHandler>::~sp()+10)

I/DEBUG ( 2271): #17 pc 0002d2fb /system/lib/libmediaplayerservice.so (android::MediaPlayerService::Client::disconnect()+122)

I/DEBUG ( 2271): #18 pc 0004a90b /system/lib/libmedia.so (android::BnMediaPlayer::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+114)

I/DEBUG ( 2271): #19 pc 00014361 /system/lib/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+60)

I/DEBUG ( 2271): #20 pc 00016f5d /system/lib/libbinder.so (android::IPCThreadState::executeCommand(int)+516)

I/DEBUG ( 2271): #21 pc 00017381 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+184)

I/DEBUG ( 2271): #22 pc 0001b15d /system/lib/libbinder.so

I/DEBUG ( 2271): #23 pc 00011267 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+114)

I/DEBUG ( 2271): #24 pc 00010dcd /system/lib/libutils.so

I/DEBUG ( 2271): #25 pc 0000e3f8 /system/lib/libc.so (__thread_entry+72)

I/DEBUG ( 2271): #26 pc 0000dae4 /system/lib/libc.so (pthread_create+160)

I/DEBUG ( 2271):

I/DEBUG ( 2271): stack:

I/DEBUG ( 2271): 4f308b98 00000004 

I/DEBUG ( 2271): 4f308b9c 00000000 

I/DEBUG ( 2271): 4f308ba0 4f308bcc 

I/DEBUG ( 2271): 4f308ba4 0000772e 

I/DEBUG ( 2271): 4f308ba8 00000000 

I/DEBUG ( 2271): 4f308bac 401fa6e7 /system/lib/libbinder.so (android::ProcessState::self()+110)

I/DEBUG ( 2271): 4f308bb0 c0000000 

I/DEBUG ( 2271): 4f308bb4 00000000 

I/DEBUG ( 2271): 4f308bb8 4f308c10 

I/DEBUG ( 2271): 4f308bbc 00000000 

I/DEBUG ( 2271): 4f308bc0 00000001 

I/DEBUG ( 2271): 4f308bc4 4014e833 /system/lib/libc.so (dlfree+34)

Labels (4)
0 Kudos
0 Replies