"Stream-muxer:sr" received signal SIGSEGV segmentation fault

Continuing the discussion from Free(): invalid pointer while using smart record in deepstream python:

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - Jetson Nano
• DeepStream Version - 6.0.1
• JetPack Version (valid for Jetson only) - 4.6.2
• TensorRT Version - 8.2
• NVIDIA GPU Driver Version (valid for GPU only) - 10.2
• Issue Type( questions, new requirements, bugs)

I am using the deeptream-test3.py code to store clips using smart record with a period of a 5-minute interval. Every 5 minutes, the clips will be stored. However, I encountered the following error while storing the clips:
sys:1: Warning: instance with invalid (NULL) class pointer
sys:1: Warning: g_signal_emit_by_name: assertion ‘G_TYPE_CHECK_INSTANCE (instance)’ failed
Segmentation fault (core dumped)

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

When running the deeptream-test3.py code with smart recording for two RTSP streams, the clips will be stored at 5-minute intervals. The code initiates the record event using the probe function upon startup and stops after 5 minutes. The process then repeats, starting the recording event again.

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

could you help me to resolve this issue?

Could you attach your modification of the deeptream-test3.py?

deepstream_smart_record.zip (3.8 KB)

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

Could you refer to our source code and put the new thread in the main function instead of the probe function?

sources\apps\sample_apps\deepstream-testsr\deepstream_test_sr_app.c

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