gstreamer v4l2 kernel Oops

Nicolas Dufresne nicolas at ndufresne.ca
Wed Jul 10 23:08:47 UTC 2019


Le mercredi 10 juillet 2019 à 03:46 -0500, Andrea a écrit :
> I've done some other tests and I get always the same result, the call to
> streamon causes the error.

Have you considered looking that which kernel object/structure is NULL
and adding some trace to figure-out why with your driver it crashes ?

There is very little we can do now from GStreamer stand point, I hope
you'll find the kernel issue soon.

Nicolas

> 
> /VIDIOC_QUERYCAP
> VIDIOC_G_PARM
> VIDIOC_S_PARM
> VIDIOC_ENUM_FMT
> VIDIOC_ENUM_FRAMESIZES
> VIDIOC_ENUM_FRAMEINTERVALS
> VIDIOC_ENUMINPUT
> VIDIOC_TRY_FMT
> VIDIOC_S_FMT
> VIDIOC_G_FMT
> VIDIOC_STREAMON
> [  167.621772] Unable to handle kernel NULL pointer dereference at virtual
> address 00000000000001d4
> [  167.633354] Mem abort info:
> [  167.636140]   ESR = 0x96000005
> [  167.639185]   Exception class = DABT (current EL), IL = 32 bits
> [  167.645105]   SET = 0, FnV = 0
> [  167.648151]   EA = 0, S1PTW = 0
> [  167.651285] Data abort info:
> [  167.654157]   ISV = 0, ISS = 0x00000005
> [  167.657987]   CM = 0, WnR = 0
> [  167.660943] user pgtable: 4k pages, 39-bit VAs, pgdp = (____ptrval____)
> [  167.667546] [00000000000001d4] pgd=0000000000000000, pud=0000000000000000
> [  167.674334] Internal error: Oops: 96000005 [#4] SMP
> [  167.679197] Modules linked in: video(O) mali(O) uio_pdrv_genirq
> [  167.685112] CPU: 2 PID: 2465 Comm: test Tainted: G      D    O     
> 4.19.0-xilinx-v2019.1 #1
> [  167.693537] Hardware name: ZynqMP ZCU106 RevA (DT)
> [  167.698314] pstate: a0000005 (NzCv daif -PAN -UAO)
> [  167.703094] pc : __video_do_ioctl+0x108/0x498
> [  167.707437] lr : __video_do_ioctl+0x40/0x498
> [  167.711689] sp : ffffff800938bbc0
> [  167.714988] x29: ffffff800938bbc0 x28: ffffffc87b04a900
> [  167.720292] x27: ffffff800876c638 x26: ffffff8000b8d228
> [  167.725596] x25: 0000007fd64860c4 x24: 0000000040045612
> [  167.730899] x23: 0000000000000000 x22: ffffff8009138648
> [  167.736195] x21: 0000000000000012 x20: 0000000040045612
> [  167.741490] x19: ffffffc879775000 x18: 0000000000000000
> [  167.746794] x17: 0000000000000000 x16: 0000000000000000
> [  167.752089] x15: 0000000000000000 x14: 0000000000000000
> [  167.757385] x13: 0000000000000000 x12: 0000000000000000
> [  167.762680] x11: 0000000000000000 x10: 0000000000000000
> [  167.767976] x9 : 0000000000000000 x8 : 0000000000000000
> [  167.773271] x7 : 0000000000000000 x6 : ffffffc87a52e980
> [  167.778566] x5 : 00000000ffffffff x4 : ffffff80087703c0
> [  167.783862] x3 : ffffffc87a52e980 x2 : 00000000000001a4
> [  167.789157] x1 : 0000000000000000 x0 : 00000000000001b4
> [  167.794453] Process test (pid: 2465, stack limit = 0x(____ptrval____))
> [  167.800963] Call trace:
> [  167.803396]  __video_do_ioctl+0x108/0x498
> [  167.807389]  video_usercopy+0x144/0x518
> [  167.811208]  video_ioctl2+0x14/0x1c
> [  167.814680]  v4l2_ioctl+0x3c/0x58
> [  167.817980]  do_vfs_ioctl+0xb8/0x8a0
> [  167.821538]  ksys_ioctl+0x44/0x90
> [  167.824837]  __arm64_sys_ioctl+0x1c/0x28
> [  167.828746]  el0_svc_common+0x84/0xd8
> [  167.832398]  el0_svc_handler+0x68/0x80
> [  167.836131]  el0_svc+0x8/0xc
> [  167.838997] Code: 1a9f87e1 2a010000 340017e0 9109c040 (f9401018)
> [  167.845081] ---[ end trace 55b5ba79ddfa8b38 ]---
> Segmentation fault
> /
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list