Steps to reproduce:
jetpack 4.4
no camera connect
Test command:
gst-launch-1.0 -v v4l2src device=/dev/video0 ! xvimag
output error log:
then ctrl+c termination the gst-launch-1.0, Possible null pointer error.
Dec 8 02:26:26 EAXVA04 kernel: [17769.053800] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
Dec 8 02:26:26 EAXVA04 kernel: [17769.053935] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
Dec 8 02:26:26 EAXVA04 kernel: [17769.058192] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
Dec 8 02:26:29 EAXVA04 kernel: [17771.528879] Unable to handle kernel NULL pointer dereference at virtual address 00000000
Dec 8 02:26:29 EAXVA04 kernel: [17771.529067] Mem abort info:
Dec 8 02:26:29 EAXVA04 kernel: [17771.529120] ESR = 0x96000005
Dec 8 02:26:29 EAXVA04 kernel: [17771.529198] Exception class = DABT (current EL), IL = 32 bits
Dec 8 02:26:29 EAXVA04 kernel: [17771.529295] SET = 0, FnV = 0
Dec 8 02:26:29 EAXVA04 kernel: [17771.529347] EA = 0, S1PTW = 0
Dec 8 02:26:29 EAXVA04 kernel: [17771.529420] Data abort info:
Dec 8 02:26:29 EAXVA04 kernel: [17771.529471] ISV = 0, ISS = 0x00000005
Dec 8 02:26:29 EAXVA04 kernel: [17771.529534] CM = 0, WnR = 0
Dec 8 02:26:29 EAXVA04 kernel: [17771.529591] user pgtable: 4k pages, 39-bit VAs, pgd = ffffffc60152d000
Dec 8 02:26:29 EAXVA04 kernel: [17771.529741] [0000000000000000] *pgd=0000000000000000, *pud=0000000000000000
Dec 8 02:26:29 EAXVA04 kernel: [17771.529868] Internal error: Oops: 96000005 [#1] PREEMPT SMP
Dec 8 02:26:29 EAXVA04 kernel: [17771.529973] Modules linked in: mttcan can_dev can_raw can ppsdriver(O) bnep fuse zram overlay binfmt_misc heart_ctl spidev ar0231 nvgpu ip_tables x_tables
Dec 8 02:26:29 EAXVA04 kernel: [17771.530316] CPU: 5 PID: 23472 Comm: cameramanager Tainted: G W O 4.9.140-tegra #27
Dec 8 02:26:29 EAXVA04 kernel: [17771.530971] Hardware name: Jetson-AGX (DT)
Dec 8 02:26:29 EAXVA04 kernel: [17771.531293] task: ffffffc6bb641c00 task.stack: ffffffc6c08d0000
Dec 8 02:26:29 EAXVA04 kernel: [17771.531757] PC is at exit_creds+0x2c/0x78
Dec 8 02:26:29 EAXVA04 kernel: [17771.532079] LR is at __put_task_struct+0x4c/0x140
Dec 8 02:26:29 EAXVA04 kernel: [17771.535933] pc : [<ffffff80080deefc>] lr : [<ffffff80080b012c>] pstate: 60400045
Dec 8 02:26:29 EAXVA04 kernel: [17771.543278] sp : ffffffc6c08d3a50
Dec 8 02:26:29 EAXVA04 kernel: [17771.546691] x29: ffffffc6c08d3a50 x28: 0000000000000000
Dec 8 02:26:29 EAXVA04 kernel: [17771.552294] x27: ffffffc7ba025800 x26: 0000000000000001
Dec 8 02:26:29 EAXVA04 kernel: [17771.557892] x25: ffffff8009fd09a0 x24: 0000000000000013
Dec 8 02:26:29 EAXVA04 kernel: [17771.563484] x23: 0000000000000000 x22: ffffffc6c08d3d10
Dec 8 02:26:29 EAXVA04 kernel: [17771.568218] x21: ffffffc6fd6f0e30 x20: 0000000000000000
Dec 8 02:26:29 EAXVA04 kernel: [17771.573206] x19: ffffffc6fd6f0e00 x18: 0000007f8bf83a70
Dec 8 02:26:29 EAXVA04 kernel: [17771.578980] x17: 0000007f8bef9f90 x16: ffffff800813b3a8
Dec 8 02:26:29 EAXVA04 kernel: [17771.584668] x15: 0000000000000000 x14: 0000000000000002
Dec 8 02:26:29 EAXVA04 kernel: [17771.590356] x13: 0000000000001e6a x12: 071c71c71c71c71c
Dec 8 02:26:29 EAXVA04 kernel: [17771.596122] x11: 000000000000000b x10: 0000000000000a20
Dec 8 02:26:29 EAXVA04 kernel: [17771.601898] x9 : ffffffc6c08d38a0 x8 : ffffffc6bb642680
Dec 8 02:26:29 EAXVA04 kernel: [17771.607672] x7 : 0000000000000000 x6 : 0000008157050bcc
Dec 8 02:26:29 EAXVA04 kernel: [17771.613184] x5 : 0000000000000800
Dec 8 02:26:29 EAXVA04 kernel: [17771.613635] tegra194-vi5 15c10000.vi: no reply from camera processor
Dec 8 02:26:29 EAXVA04 kernel: [17771.613643] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
Dec 8 02:26:29 EAXVA04 kernel: [17771.613656] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
Dec 8 02:26:29 EAXVA04 kernel: [17771.618158] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
Dec 8 02:26:29 EAXVA04 kernel: [17771.644163] x4 : 0000000000000000 x3 : 00000000000000de x2 : 0000000000000000
Dec 8 02:26:29 EAXVA04 kernel: [17771.651342] x1 : 0000000000000000 x0 : 00000000ffffffff
Dec 8 02:26:29 EAXVA04 kernel: [17771.656682]
Dec 8 02:26:29 EAXVA04 kernel: [17771.658085] Process cameramanager (pid: 23472, stack limit = 0xffffffc6c08d0000)
Dec 8 02:26:29 EAXVA04 kernel: [17771.664991] Call trace:
Dec 8 02:26:29 EAXVA04 kernel: [17771.667620] [<ffffff80080deefc>] exit_creds+0x2c/0x78
Dec 8 02:26:29 EAXVA04 kernel: [17771.672689] [<ffffff80080b012c>] __put_task_struct+0x4c/0x140
Dec 8 02:26:29 EAXVA04 kernel: [17771.677768] [<ffffff80080dc9bc>] kthread_stop+0x1e4/0x1e8
Dec 8 02:26:29 EAXVA04 kernel: [17771.683367] [<ffffff8008b4b978>] vi5_channel_stop_kthreads+0x40/0x58
Dec 8 02:26:29 EAXVA04 kernel: [17771.689494] [<ffffff8008b4ba1c>] vi5_channel_stop_streaming+0x8c/0xa8
Dec 8 02:26:29 EAXVA04 kernel: [17771.695969] [<ffffff8008b3e374>] tegra_channel_stop_streaming+0x34/0x48
Dec 8 02:26:29 EAXVA04 kernel: [17771.702876] [<ffffff8008b36684>] __vb2_queue_cancel+0x34/0x188
Dec 8 02:26:29 EAXVA04 kernel: [17771.708914] [<ffffff8008b36a34>] vb2_core_streamoff+0x54/0xb8
Dec 8 02:26:29 EAXVA04 kernel: [17771.714338] [<ffffff8008b3ae3c>] vb2_streamoff+0x54/0x88
Dec 8 02:26:29 EAXVA04 kernel: [17771.719155] [<ffffff8008b3aec4>] vb2_ioctl_streamoff+0x54/0x60
Dec 8 02:26:29 EAXVA04 kernel: [17771.724845] [<ffffff8008b150dc>] v4l_streamoff+0x3c/0x50
Dec 8 02:26:29 EAXVA04 kernel: [17771.730179] [<ffffff8008b1a114>] __video_do_ioctl+0x204/0x2c8
Dec 8 02:26:29 EAXVA04 kernel: [17771.736037] [<ffffff8008b19ac0>] video_usercopy+0x2a0/0x6a0
Dec 8 02:26:29 EAXVA04 kernel: [17771.741379] [<ffffff8008b19efc>] video_ioctl2+0x3c/0x50
Dec 8 02:26:29 EAXVA04 kernel: [17771.746887] [<ffffff8008b139d8>] v4l2_ioctl+0x88/0x118
Dec 8 02:26:29 EAXVA04 kernel: [17771.751794] [<ffffff8008272e38>] do_vfs_ioctl+0xb0/0x8d8
Dec 8 02:26:29 EAXVA04 kernel: [17771.757388] [<ffffff80082736ec>] SyS_ioctl+0x8c/0xa8
Dec 8 02:26:29 EAXVA04 kernel: [17771.762032] [<ffffff8008083900>] el0_svc_naked+0x34/0x38
Dec 8 02:26:29 EAXVA04 kernel: [17771.767806] ---[ end trace 9126e289eb796667 ]---