Hello,
We're porting android_kk4.4.2_1.0.0-ga bsp to our i.MX6Q board.
The MX player halted with ARMv7 NEON H/W+ decoder. (detailed log was attached.)
I/ActivityManager( 2679): START u0 {act=android.intent.action.VIEW dat=file:///storage/emulated/0/Movies/Video/04.mpeg1-Ford 2.mpg cmp=com.mxtech.videoplayer.ad/.ActivityScreen (has extras)} from pid 6797
W/audio_hw_primary( 2300): card 1, port 0 device 0x2
W/audio_hw_primary( 2300): rate 44100, channel 2 period_size 0xc0
V/MX.Player.Screen( 6797): onCreate (com.mxtech.videoplayer.ad.ActivityScreen@41d54cd0) dat=file:///storage/emulated/0/Movies/Video/04.mpeg1-Ford%202.mpg
V/MX.Player.Screen( 6797): << Extra >>
V/MX.Player.Screen( 6797): 1) from_video_list=true
D/dalvikvm( 6797): GC_CONCURRENT freed 539K, 12% free 4884K/5496K, paused 2ms+6ms, total 26ms
V/MX.Player.Player( 6797): Canonicalizing URI file:///storage/emulated/0/Movies/Video/04.mpeg1-Ford%202.mpg -> file:///storage/emulated/0/Movies/Video/04.mpeg1-Ford%202.mpg
V/MX.Player.Player( 6797): Canonicalizing URI(2) file:///storage/emulated/0/Movies/Video/04.mpeg1-Ford%202.mpg -> file:///storage/emulated/0/Movies/Video/04.mpeg1-Ford%202.mpg
I/MediaFocusControl( 2679): AudioFocus requestAudioFocus() from android.media.AudioManager@41b14ac0com.mxtech.videoplayer.ActivityScreen$£½@41d914e0
I/MediaFocusControl( 2679): Remote Control registerMediaButtonIntent() for PendingIntent{42141ee0: PendingIntentRecord{422cc558 com.mxtech.videoplayer.ad broadcastIntent}}
E/BufferQueue( 2297): [com.mxtech.videoplayer.ad/com.mxtech.videoplayer.ad.ActivityScreen] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
D/MX.Player.Screen( 6797): === Enter surfaceCreated. holder=android.view.SurfaceView$4@41bd91e8 _surfaceHolderCreated=null_surfaceView=android.view.SurfaceView{41cebe90 V.E..... ......ID 0,0-1366,768 #7f0a0027 app:id/surfaceView}
V/MX.Player.Screen( 6797): HW Accel=true
D/MX.Player.Screen( 6797): === Leave surfaceCreated.
V/MX.Player.Joint( 6797): Creating a joint player. 1st=com.mxtech.media.FFPlayer@41b4f720 2nd=null mix=0
D/MX.Player.Screen( 6797): Set fullscreen = false
I/ActivityManager( 2679): Displayed com.mxtech.videoplayer.ad/.ActivityScreen: +392ms
I/MX ( 6797): 6863 | Container format='mpeg'
I/OMXClient( 6797): Using client-side OMX mux.
E/MX.Video.Decoder.System( 6797): 6863 | Can't create OMX codec for video/mpeg
F/libc ( 6797): invalid address or address of corrupt block 0x68a28938 passed to dlfree
F/libc ( 6797): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 6863 (.videoplayer.ad)
I/DEBUG ( 2296): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 2296): Build fingerprint: 'Freescale/sabresd_6dq/sabresd_6dq:4.4.2/1.0.0-rc3/20140630:user/dev-keys'
I/DEBUG ( 2296): Revision: '405522'
I/DEBUG ( 2296): pid: 6797, tid: 6863, name: .videoplayer.ad >>> com.mxtech.videoplayer.ad <<<
I/DEBUG ( 2296): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 2296): Abort message: 'invalid address or address of corrupt block 0x68a28938 passed to dlfree'
I/DEBUG ( 2296): r0 00000000 r1 4014939e r2 deadbaad r3 4014cee0
I/DEBUG ( 2296): r4 68a28938 r5 40157180 r6 40028000 r7 68a28940
I/DEBUG ( 2296): r8 00000001 r9 68dbedf0 sl 6bfa49b0 fp 6a3a13d0
I/DEBUG ( 2296): ip 00000001 sp 6bfa4910 lr 4011a7a3 pc 4011a7a4 cpsr 600f0030
I/DEBUG ( 2296): d0 0000000000000000 d1 0000000000000000
I/DEBUG ( 2296): d2 0000000000000000 d3 0000000000000000
I/DEBUG ( 2296): d4 4330000000000001 d5 3ff0000000000000
I/DEBUG ( 2296): d6 bc6a626331000000 d7 41781080003347d0
I/DEBUG ( 2296): d8 449e0000000004f0 d9 0000000043b91100
I/DEBUG ( 2296): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 2296): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 2296): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 2296): d16 685b90d8685b90d8 d17 685b90d8685b90d8
I/DEBUG ( 2296): d18 0000000001810804 d19 3ff0000000000000
I/DEBUG ( 2296): d20 3fa47ae147ae147b d21 400ff450e4920c14
I/DEBUG ( 2296): d22 4034c1163fefa31e d23 3ff0000000000000
I/DEBUG ( 2296): d24 3fe7325188001433 d25 3fd19b5cefffd79a
I/DEBUG ( 2296): d26 0000000000000000 d27 3f895d470d6e9486
I/DEBUG ( 2296): d28 3fe797c6a435ce85 d29 3e8f20d95f29baf8
I/DEBUG ( 2296): d30 bef375cbdb605373 d31 3fe7bc89cf9e1300
I/DEBUG ( 2296): scr 80000013
I/DEBUG ( 2296):
I/DEBUG ( 2296): backtrace:
I/DEBUG ( 2296): #00 pc 000117a4 /system/lib/libc.so (dlfree+1191)
I/DEBUG ( 2296): #01 pc 0000dce3 /system/lib/libc.so (free+10)
I/DEBUG ( 2296): #02 pc 00070c3f /system/lib/libstagefright.so (android::MetaData::~MetaData()+10)
I/DEBUG ( 2296): #03 pc 0000d19b /system/lib/libutils.so (android::RefBase::decStrong(void const*) const+40)
I/DEBUG ( 2296): #04 pc 0000a084 /data/app-lib/com.mxtech.videoplayer.ad-1/libmxsysdec.18.so
Original Attachment has been moved to: xmplayer-fail.log.zip
Solved! Go to Solution.
Hello Joseph,
regarding MX Player, according to their product FAQ page:
it leads me to the following page for tech-support:
http://forum.xda-developers.com/apps/mx-player
and found there is similar issue and there is test-build to fix it:
http://forum.xda-developers.com/apps/mx-player/tegra-k1-support-t2809432
could you please take it a try?
Best regards,
Jim.
Hi Joseph,
It seems that the hosting site of the gapps that you are mentioning is not a official Google server. In this case, you should talk about this issue with your local Freescale FAE, as it may involve Google licenses.
Hope this information will be useful for you. Please accept our apologies for ant inconveniences this may cause. Have a nice day.
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Carlos,
Thanks for your information.
I have reported these issues to Freescale FAE team in Taiwan but still no answer.
How about the MX player issue? It seems not related to google licenses.
Hi Joseph,
Have you ensured that your video file is supported? According with Android kk4.4.2_1.0.0-ga Release Notes, it supports MPEG-PS and MPEG-TS, which typically supports mpeg2 and mpeg4.
You could try with these kinds of video files, or also, try with the default video players (Cactus Player, Gallery).
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Carlos,
Thanks for your answering.
The default Cactus Player can play the file. It also played with default H/W decoder of MX Player. Only H/W+ function not works. (PS. The H/W+ works in android_jb4.2.2_1.1.0-ga BSP.)
Hello Joseph,
regarding MX Player, according to their product FAQ page:
it leads me to the following page for tech-support:
http://forum.xda-developers.com/apps/mx-player
and found there is similar issue and there is test-build to fix it:
http://forum.xda-developers.com/apps/mx-player/tegra-k1-support-t2809432
could you please take it a try?
Best regards,
Jim.
Hi Jim,
Thanks, The test build works.
Best regards,
Joseph.