This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: linux Gsteamer vxe_enc driver Oops

Part Number: TDA4VM
Other Parts Discussed in Thread: PCM3168A

Hello  

SDK:ti-processor-sdk-linux-j7-evm-08_04_00_11

Record 3-way DVR(Digital Video Recorder), and the recording time is set to 1 minute. Generally, the following error will occur about 20-50 minutes.

Log:

[18:42:59] 1992.442014 s: Dvr output file:[/run/media/mmcblk1p1/DVR/20220830_093941_2.mp4], hdr file:[/run/media/mmcblk1p1/DVR/20220830_093941_2.hdr]
[18:42:59]capture_encode: running frame 0 !
[18:43:00][ 1989.596602] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000004
[18:43:00][ 1989.605416] Mem abort info:
[18:43:00][ 1989.608221] ESR = 0x96000046
[18:43:00][ 1989.611274] EC = 0x25: DABT (current EL), IL = 32 bits
[18:43:00][ 1989.616580] SET = 0, FnV = 0
[18:43:00][ 1989.619630] EA = 0, S1PTW = 0
[18:43:00][ 1989.622769] Data abort info:
[18:43:00][ 1989.625638] ISV = 0, ISS = 0x00000046
[18:43:00][ 1989.629470] CM = 0, WnR = 1
[18:43:00][ 1989.632441] user pgtable: 4k pages, 48-bit VAs, pgdp=00000008ae530000
[18:43:00][ 1989.638890] [0000000000000004] pgd=00000008ad86f003, p4d=00000008ad86f003, pud=00000008ab974003, pmd=0000000000000000
[18:43:00][ 1989.649511] Internal error: Oops: 96000046 [#1] PREEMPT SMP
[18:43:00][ 1989.655069] Modules linked in: xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc overlay xfrm_user xfrm_algo md5 ecb aes_neon_bs aes_neon_blk des_generic libdes cbc bluetooth ecdh_generic ecc rfkill xhci_plat_hcd xhci_hcd ti_am335x_adc kfifo_buf rpmsg_char omap_rng rng_core pru_rproc irq_pruss_intc cdns3 udc_core roles usbcore usb_common crct10dif_ce ti_k3_r5_remoteproc ti_am335x_tscadc pvrsrvkm(O) pruss sa2ul vxd_dec ti_k3_dsp_remoteproc virtio_rpmsg_bus sha512_generic authenc cdns_dphy snd_soc_pcm3168a_i2c videobuf2_dma_contig snd_soc_pcm3168a vxe_enc videobuf2_dma_sg v4l2_mem2mem videobuf2_memops videobuf2_v4l2 videobuf2_common cdns3_ti rti_wdt sch_fq_codel rpmsg_kdrv_switch cryptodev(O) ipv6
[18:43:00][ 1989.727301] CPU: 1 PID: 1630 Comm: queue2:src Tainted: G W O 5.10.120 #5
[18:43:00][ 1989.735109] Hardware name: Texas Instruments K3 J721E SoC (DT)
[18:43:00][ 1989.740926] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
[18:43:00][ 1989.746929] pc : prepare_mv_estimates+0xcc/0x160 [vxe_enc]
[18:43:00][ 1989.752402] lr : prepare_mv_estimates+0x80/0x160 [vxe_enc]
[18:43:00][ 1989.757870] sp : ffff8000144c3a40
[18:43:00][ 1989.761169] x29: ffff8000144c3a40 x28: ffff00085cc05e70
[18:43:00][ 1989.766466] x27: ffff00085cc05f38 x26: ffff800008bb1000
[18:43:00][ 1989.771763] x25: ffff00084e427930 x24: 0000000000000002
[18:43:00][ 1989.777059] x23: 0000000000000000 x22: 0000000000000000
[18:43:00][ 1989.782355] x21: 0000000000000000 x20: 0000000000000000
[18:43:00][ 1989.787652] x19: 0000000010840303 x18: 0000000000100100
[18:43:00][ 1989.792947] x17: 0000000000000000 x16: 00000000000017e0
[18:43:00][ 1989.798243] x15: 0000000001000100 x14: 0000000000000002
[18:43:00][ 1989.803540] x13: 0000000000000002 x12: ffff00082d1095b0
[18:43:00][ 1989.808836] x11: ffff00082d109488 x10: ffff00082c876788
[18:43:00][ 1989.814132] x9 : 0000000000001f38 x8 : 0000000000100000
[18:43:00][ 1989.819428] x7 : 0000000000000004 x6 : 0000000000000000
[18:43:00][ 1989.824724] x5 : ffff00085cc05d88 x4 : 0000000000000000
[18:43:00][ 1989.830020] x3 : 0000000001000100 x2 : 0000000063830d07
[18:43:00][ 1989.835316] x1 : 0000000000000000 x0 : 0000000000000001
[18:43:00][ 1989.840612] Call trace:
[18:43:00][ 1989.843054] prepare_mv_estimates+0xcc/0x160 [vxe_enc]
[18:43:00][ 1989.848179] topaz_stream_create+0x1ec8/0x22b8 [vxe_enc]
[18:43:00][ 1989.853479] vxe_s_fmt+0x5a8/0x738 [vxe_enc]
[18:43:00][ 1989.857740] v4l_s_fmt+0x3e8/0x568
[18:43:00][ 1989.861128] __video_do_ioctl+0x184/0x3e8
[18:43:00][ 1989.865123] video_usercopy+0x18c/0x580
[18:43:00][ 1989.868944] video_ioctl2+0x18/0x58
[18:43:00][ 1989.872421] v4l2_ioctl+0x40/0x60
[18:43:00][ 1989.875724] __arm64_sys_ioctl+0xa8/0xf0
[18:43:00][ 1989.879635] el0_svc_common.constprop.0+0x78/0x1c8
[18:43:00][ 1989.884409] do_el0_svc+0x24/0x90
[18:43:00][ 1989.887713] el0_svc+0x14/0x20
[18:43:00][ 1989.890755] el0_sync_handler+0xb0/0xb8
[18:43:00][ 1989.894576] el0_sync+0x180/0x1c0
[18:43:00][ 1989.897881] Code: 5280002d aa0403e6 2a0d03e0 110005ad (2900cc92)
[18:43:00][ 1989.903958] ---[ end trace dc95df541b393f3c ]---
[14:32:07]