ion android 内核,android - Amlogic Video Crash (Kernel Oops) - Exoplayer - Stack Overflow

本文记录了在 Amlogic S912 SoC 上使用 ExoPlayer 播放 H264 视频时偶尔出现的内核崩溃问题,包括详细的崩溃日志及初步分析。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I'm trying to investigate where playing video on Amlogic S912 SoC can occasionally crash the kernel with a memory allocation error. Our manufacturer is having trouble locating the issue, and I thought I'd drop it here for some feedback.

[29200.584083@2] H264 sysinfo: 1920x1080 duration=3200, pts_outside=1, sync_outside=0, use_idr_framerate=0

[29200.596557@2] vh264_init, vaddr=ffffffc0531a9000 phy_addr=00000000531a9000

[29200.600392@2] codec:vfm map vdec-map-0 created

[29200.604622@2] ionvid: info: reg:ionvideo

[29200.608576@2] codec:vdec_init, vf_provider_name = vdec.h264.00

[29200.614810@2] ionvid: info: ionvideo open

[29200.618430@2] ionvid: info: ionvideo: set freerun mode

[29200.657498@7] 0: AV_SCRATCH_1 = 841fe078, AV_SCRATCH_2 18063

[29200.657747@7] 0: frame_mbs_only_flag 1, crop_bottom 4, frame_height 1080, 0: mb_height 68,crop_right 0, frame_width 1920, mb_width 120

[29200.669930@7] 0: mb height/widht/total: 44/78/1fe0 level_idc 28 max_ref_num 4

[29200.677095@7] 0: vh264_set_params active_buf_spec_num 11 reorder_pic_num 5 collocate_buf_num 8

[29200.685629@0] 0: num_ref_frames change from 0 to 4

[29200.799343@4] alloc_fd: slot 140 not NULL!

[29200.799591@5] alloc_fd: slot 142 not NULL!

[29200.799813@6] Unable to handle kernel paging request at virtual address ffffffbe23876f28

[29200.799816@6] pgd = ffffffc084730000

[29200.799827@6] [ffffffbe23876f28] *pgd=0000000000000000

[29200.799839@6] Internal error: Oops: 96000005 [#1] PREEMPT SMP

We're simply playing full screen videos in a loop using ExoPlayer on Android, and usually get a full kernel panic regarding what appears to be the h264 decoder.

Would appreciate anyone knowledgeable with kernels to confirm our understanding of the issue and hopefully determine where we should be looking to resolve the issue.

Android 7.1

Kernel 3.24.29

Amlogic S912 SoC

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值