Hello,
I am currently using the Xavier AGX together with a custom carrier board to perform object detection over a live video stream (gstreamer + deepstream) coming from 2 CSI cameras.
The video stream works fine most of the times, however, from time to time video stream goes black and we have discovered some messages in the syslog
which may be helpful for debugging. I would greatly appreciate if someone could point me in the right direction.
syslog_blackstream.log (183.1 KB)
The error messages are located at the end of the syslog file
Jul 7 14:53:54 oscar kernel: [ 183.434025] Index = 0x0002 , format = 0x59565955, width = 1280, height = 960, frate num = 75
Jul 7 14:53:54 oscar kernel: [ 183.434438] Skipping Previous mode set ...
Jul 7 14:53:54 oscar kernel: [ 183.437701] Index = 0x0002 , format = 0x59565955, width = 1280, height = 960, frate num = 75
Jul 7 14:53:54 oscar kernel: [ 183.437707] Skipping Previous mode set ...
Jul 7 14:53:54 oscar kernel: [ 183.466059] nvmap_alloc_handle: PID 9765: python3: WARNING: All NvMap Allocations must have a tag to identify the subsystem allocating memory.Please pass the tag to the API call NvRmMemHanldeAllocAttr() or relevant.
Jul 7 14:53:54 oscar kernel: [ 183.475850] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
Jul 7 14:53:54 oscar kernel: [ 183.507580] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 32, err_data 164
Jul 7 14:53:54 oscar kernel: [ 183.507765] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
Jul 7 14:53:54 oscar kernel: [ 183.511497] Unable to handle kernel NULL pointer dereference at virtual address 00000028
Jul 7 14:53:54 oscar kernel: [ 183.511662] Mem abort info:
Jul 7 14:53:54 oscar kernel: [ 183.511713] ESR = 0x96000006
Jul 7 14:53:54 oscar kernel: [ 183.511768] Exception class = DABT (current EL), IL = 32 bits
Jul 7 14:53:54 oscar kernel: [ 183.511991] SET = 0, FnV = 0
Jul 7 14:53:54 oscar kernel: [ 183.512049] EA = 0, S1PTW = 0
Jul 7 14:53:54 oscar kernel: [ 183.512113] Data abort info:
Jul 7 14:53:54 oscar kernel: [ 183.512176] ISV = 0, ISS = 0x00000006
Jul 7 14:53:54 oscar kernel: [ 183.512244] CM = 0, WnR = 0
Jul 7 14:53:54 oscar kernel: [ 183.512306] user pgtable: 4k pages, 39-bit VAs, pgd = ffffffc788eef000
Jul 7 14:53:54 oscar kernel: [ 183.512412] [0000000000000028] *pgd=00000007c884d003, *pud=00000007c884d003, *pmd=0000000000000000
Jul 7 14:53:54 oscar kernel: [ 183.512580] Internal error: Oops: 96000006 [#1] PREEMPT SMP
Jul 7 14:53:54 oscar kernel: [ 183.512608] Modules linked in: xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack br_netfilter zram overlay uvcvideo cdc_acm bluedroid_pm userspace_alert nvgpu ip_tables x_tables
Jul 7 14:53:54 oscar kernel: [ 183.512624] CPU: 7 PID: 12581 Comm: vi-output, ar05 Tainted: G W 4.9.253-rt168-tegra #1
Jul 7 14:53:54 oscar kernel: [ 183.512625] Hardware name: Jetson-AGX (DT)
Jul 7 14:53:54 oscar kernel: [ 183.512628] task: ffffffc7cdb449c0 task.stack: ffffffc2964c4000
Jul 7 14:53:54 oscar kernel: [ 183.512639] PC is at __rt_spin_lock+0x2c/0x60
Jul 7 14:53:54 oscar kernel: [ 183.512641] LR is at 0x0
Jul 7 14:53:54 oscar kernel: [ 183.512643] pc : [<ffffff8008f6cdb4>] lr : [<0000000000000000>] pstate: 40c00045
Jul 7 14:53:54 oscar kernel: [ 183.512644] sp : ffffffc2964c7c40
Jul 7 14:53:54 oscar kernel: [ 183.512650] x29: ffffffc2964c7c40 x28: 0000000000000000
Jul 7 14:53:54 oscar kernel: [ 183.512653] x27: 0000000000000000 x26: 0000000000000000
Jul 7 14:53:54 oscar kernel: [ 183.512658] x25: 0000000000000010 x24: 00000000000000c0
Jul 7 14:53:54 oscar kernel: [ 183.512661] x23: 0000000000000040 x22: ffffff8009087658
Jul 7 14:53:54 oscar kernel: [ 183.512664] x21: 0000000000000000 x20: ffffffc2bd9e3900
Jul 7 14:53:54 oscar kernel: [ 183.512667] x19: 0000000000000010 x18: 0000007f83f53a70
Jul 7 14:53:54 oscar kernel: [ 183.512670] x17: 0000000000000002 x16: 0000000000000003
Jul 7 14:53:54 oscar kernel: [ 183.512673] x15: ffffffc7d8e50428 x14: 000a0000000bfed9
Jul 7 14:53:54 oscar kernel: [ 183.512675] x13: 000a000000000000 x12: ffffff800c000064
Jul 7 14:53:54 oscar kernel: [ 183.512678] x11: 000000000000000b x10: 0101010101010101
Jul 7 14:53:54 oscar kernel: [ 183.512682] x9 : ffffffc2964c7a70 x8 : fffffffffffffffe
Jul 7 14:53:54 oscar kernel: [ 183.512685] x7 : ffffffc51780f800 x6 : ffffffc7c8f38b01
Jul 7 14:53:54 oscar kernel: [ 183.512688] x5 : ffffff800852073c x4 : ffffffbf1f23ce10
Jul 7 14:53:54 oscar kernel: [ 183.512691] x3 : 0000000000000000 x2 : ffffffc7cdb449c0
Jul 7 14:53:54 oscar kernel: [ 183.512693] x1 : 0000000000000000 x0 : 0000000000000028
Jul 7 14:53:54 oscar kernel: [ 183.512694]
Jul 7 14:53:54 oscar kernel: [ 183.512700] Process vi-output, ar05 (pid: 12581, stack limit = 0xffffffc2964c4000)
Jul 7 14:53:54 oscar kernel: [ 183.512701] Call trace:
Jul 7 14:53:54 oscar kernel: [ 183.512707] [<ffffff8008f6cdb4>] __rt_spin_lock+0x2c/0x60
Jul 7 14:53:54 oscar kernel: [ 183.512712] [<ffffff8008f6cf50>] rt_write_lock+0x20/0x30
Jul 7 14:53:54 oscar kernel: [ 183.512718] [<ffffff8008b489f8>] destroy_buffer_table+0x40/0xd8
Jul 7 14:53:54 oscar kernel: [ 183.512723] [<ffffff8008b3ac2c>] vi_capture_shutdown+0xd4/0x130
Jul 7 14:53:54 oscar kernel: [ 183.512726] [<ffffff8008b3b284>] vi_channel_close_ex+0x34/0x88
Jul 7 14:53:54 oscar kernel: [ 183.512729] [<ffffff8008b3c800>] vi5_channel_error_recover+0x48/0x1c8
Jul 7 14:53:54 oscar kernel: [ 183.512732] [<ffffff8008b31668>] tegra_channel_error_recover+0x58/0x90
Jul 7 14:53:54 oscar kernel: [ 183.512735] [<ffffff8008b3d0c0>] tegra_channel_kthread_capture_dequeue+0xf0/0x1a0
Jul 7 14:53:54 oscar kernel: [ 183.512741] [<ffffff80080d745c>] kthread+0xec/0xf0
Jul 7 14:53:54 oscar kernel: [ 183.512745] [<ffffff80080830b0>] ret_from_fork+0x10/0x20
Jul 7 14:53:54 oscar kernel: [ 183.705552] ---[ end trace 0000000000000006 ]---
Thanks in advance!