Please provide complete information as applicable to your setup.
• Hardware Platform GPU
• DeepStream Version 6.1
• TensorRT Version 8.2.5
• NVIDIA GPU Driver Version (valid for GPU only) 560.35.03
• Issue Type( questions, bugs)
**• I have built a custom Python DeepStream Kafka pipeline that works successfully with three RTSP sources. However, when any of the RTSP streams go down or disconnect, the DeepStream pipeline restarts, and I encounter a segmentation fault, causing the program to stop.
i am trying to debug this issue, I found that commenting out the following lines in my code prevents the segmentation fault and pipeline restart, but also causes the Kafka consumer to stop receiving messages:
python code
user_event_meta.user_meta_data = msg_meta
user_event_meta.base_meta.meta_type = pyds.NvDsMetaType.NVDS_EVENT_MSG_META
pyds.user_copyfunc(user_event_meta, meta_copy_func)
pyds.user_releasefunc(user_event_meta, meta_free_func)
pyds.nvds_add_user_meta_to_frame(frame_meta, user_event_meta)
pyds.register_user_releasefunc(meta_free_func)
With these lines commented , the pipeline runs fine, but no messages are being received by the Kafka consumer.
i dont know why this is happening and how to fix the issue so that the Kafka consumer receives messages without causing the segmentation fault?