使用/dev/video0造成系统崩溃
-
open("/dev/video0", O_RDWR, 0)之后,线程退出,就会造成系统崩溃,直接cat /dev/video0也会崩溃,发生崩溃的都是一个位置vin_close+0x51/0x130,请问这是VIN驱动问题吗?
使用的是V536 tina linux。
[ 19.686005] Unable to handle kernel NULL pointer dereference at virtual address 00000040 [ 19.698177] pgd = d6b54000 [ 19.701219] [00000040] *pgd=7fc0c835 [ 19.705246] Internal error: Oops - BUG: 17 [#1] PREEMPT SMP THUMB2 [ 19.712188] Modules linked in: vin_v4l2 imx317_mipi vin_io videobuf2_v4l2 videobuf2_dma_contig videobuf2_memops videobuf2_core bcmdhd [ 19.725742] CPU: 1 PID: 857 Comm: cat Not tainted 4.9.118 #8 [ 19.732098] Hardware name: sun8iw16 [ 19.736018] task: d72b1c80 task.stack: d6a74000 [ 19.741262] PC is at vin_close+0x51/0x130 [vin_v4l2] [ 19.746933] LR is at vin_close+0x4e/0x130 [vin_v4l2] [ 19.752516] pc : [<bf8d76ea>] lr : [<bf8d76e7>] psr: 60000033 [ 19.752516] sp : d6a75f30 ip : 00000000 fp : d6940f08 [ 19.765418] r10: d697b108 r9 : d71f1a10 r8 : 00000000 [ 19.771288] r7 : d6940f00 r6 : d68fa100 r5 : 00000001 r4 : d73f6000 [ 19.778625] r3 : d72b1c80 r2 : 00000000 r1 : 00000000 r0 : d68faf60 [ 19.785962] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none [ 19.794176] Control: 50c5387d Table: 56b5406a DAC: 00000051 [ 19.800631] [ 19.800631] SP: 0xd6a75eb0:
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号