Error on DeepStream-app Demo

I used DeepStream 4.0.1 on AGX with model 0 to run the DeetStream-app demo with 5 channel RTSP real-time video. Program error is reported after 15 hours, such as:

14:54:32.237888683 19009   0x55bac98ad0 ERROR                nvinfer gstnvinfer.cpp:511:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:queueInputBatch(): Failed to add cudaStream callback for returning input buffers (cudaErrorUnknown)
14:54:32.238042544 19009   0x55bac98ad0 WARN                 nvinfer gstnvinfer.cpp:1102:gst_nvinfer_input_queue_loop:<primary_gie_classifier> error: Failed to queue input batch for inferencing
ERROR from primary_gie_classifier: Failed to queue input batch for inferencing
Debug info: gstnvinfer.cpp(1102): gst_nvinfer_input_queue_loop (): /GstPipeline:pipeline/GstBin:primary_gie_bin/GstNvInfer:primary_gie_classifier
14:54:32.246407589 19009   0x55bac98ad0 ERROR                nvinfer gstnvinfer.cpp:511:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:queueInputBatch(): Failed to make stream wait on event(cudaErrorUnknown)
14:54:32.247022137 19009   0x55bac98ad0 WARN                 nvinfer gstnvinfer.cpp:1102:gst_nvinfer_input_queue_loop:<primary_gie_classifier> error: Failed to queue input batch for inferencing
ERROR from primary_gie_classifier: Failed to queue input batch for inferencing
Debug info: gstnvinfer.cpp(1102): gst_nvinfer_input_queue_loop (): /GstPipeline:pipeline/GstBin:primary_gie_bin/GstNvInfer:primary_gie_classifier
14:54:32.251257350 19009   0x55bac98ad0 ERROR                nvinfer gstnvinfer.cpp:511:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:queueInputBatch(): Failed to make stream wait on event(cudaErrorUnknown)
14:54:32.251343433 19009   0x55bac98ad0 WARN                 nvinfer gstnvinfer.cpp:1102:gst_nvinfer_input_queue_loop:<primary_gie_classifier> error: Failed to queue input batch for inferencing
ERROR from primary_gie_classifier: Failed to queue input batch for inferencing
Debug info: gstnvinfer.cpp(1102): gst_nvinfer_input_queue_loop (): /GstPipeline:pipeline/GstBin:primary_gie_bin/GstNvInfer:primary_gie_classifier

Hi,

We would like to reproduce this issue on our environment.
Could you help us narrow down the cause as well.

1. Could you repeat the experiment several time and share the failure rate with us?
2. Could you try if this issue can also be produced with camera rather than RTSP stream?

Thanks.

Hi,

I am also getting this issue with an RTSP stream with the deepstream app. It hits this failure after about a minute of streaming.

Hi,

We have a Deepstream 4.0.2 release recently.
Would you mind to check if your issue can be reproduced with v4.0.2 first?

Thanks.