Argus Error OverFlow

Hello @JerryChang and @ShaneCCC ,

I have tested my complete pipleine, which contains nvinfer in the 4 video sources, a later nvmultistreamtiler and an nvtracker among other elements.

The first test was finished after about 44 minutes and I could see the following error in terminal:

0:40:36.309184943 7127 0xfffeb00188c0 ERROR nvarguscamerasrc gstnvarguscamerasrc.cpp:1699:consumer_thread:<src2> NvBufSurfTransform Failed.
NvRmStream: Channel submission failed (err=196623)
NvRmStream: Flush failed (err=196623)
0:40:36.317609847 7127 0xffff854695e0 ERROR nvarguscamerasrc gstnvarguscamerasrc.cpp:1699:consumer_thread:<src0> NvBufSurfTransform Failed
NvRmStream: Channel submission failed (err=196623)
NvRmStream: Flush failed (err=196623)
0:40:36.323613259 7127 0xfffe9c013640 ERROR nvarguscamerasrc gstnvarguscamerasrc.cpp:1699:consumer_thread:<src1> NvBufSurfTransform Failed
NvRmStream: Channel submission failed (err=196623)
NvRmStream: Flush failed (err=196623)
0:40:36.327267050 7127 0xfffea8010b60 ERROR nvarguscamerasrc gstnvarguscamerasrc.cpp:1699:consumer_thread:<src3> NvBufSurfTransform Failed

In the Argus log the well known Overflow error:

nvargus-daemon[7142]: (Argus) Error OverFlow: Too many pending events, ignoring new events (in src/api/EventProviderImpl.cpp, function addEvent(), line 158)

After this I used export DBG_NVBUFSURFTRANSFORM=1 and repeated the tests. The second test died after about 44 minutes with the following logs:

/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:823: taskTrim=> Time out for cleanup
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe9c019020
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffea80293a0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe9c018c10
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffea8028770
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffea8028b80
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffea8028f90
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe94014000
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe9c014300
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe980150c0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe94016c40
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe94017050
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe980148d0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe98017420
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe94016830
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe98017830
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffe9c0153a0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:448: deleteCuResData=> Destroy tex array

To make sure that there was some correlation in the pipeline stopping at 44 minutes, I repeated a third test. This third test stopped at 4h 28 minutes:

/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:823: taskTrim=> Time out for cleanup
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:851: taskTrim=> Egl map 0 size 16
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:823: taskTrim=> Time out for cleanup
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffec0015830
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffec0015420
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffeb80148c0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffebc028510
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffeb8017cc0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffebc0278e0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffeb80174a0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffebc027cf0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffeb80178b0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffebc028100
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffeb4019e70
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffec00125f0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffeb40164e0
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffeb401a280
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffeb401a690
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:838: operator()=> Remove egl res 0xfffec000b150
/dvs/git/dirty/git-master_linux/nvutils/nvbufsurftransform/nvbufsurftransform.cpp:448: deleteCuResData=> Destroy tex array