Custom deepstream pipeline crashes when wending line crossing event metadata to Kafka

Please provide complete information as applicable to your setup.

• Hardware Platform (GPU) A4000
• DeepStream Version 6.3 docker
• TensorRT Version 8.5.3
• NVIDIA GPU Driver Version (valid for GPU only) 560.35
• Issue Type( questions, new requirements, bugs) questions

I’m developing a deepStream pipeline that detects line crossing events using nvdsanalytics and needs to send event metadata to Kafka when objects cross a defined line. The pipeline crashes with a free(): invalid pointer error when attempting to attach NvDsEventMsgMeta to frames for Kafka .
error message :- line crossing detected for glove (ID: 0)
Sent metadata to Kafka: glove (conf: 0.935549)
Event type not implemented
Object type not implemented
Unknown event type
free(): invalid pointer
Aborted (core dumped)
when Kafka elements are removed from pipeline
What is the correct way to create and attach NvDsEventMsgMeta for custom events (line crossing) that will be sent to Kafka?

deepstream_yolo_app.txt (42.0 KB)

please refer to generate_event_msg_meta in osd_sink_pad_buffer_metadata_probe of /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test4/deepstream_test4_app.c

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.