Deepstream Segmentation faults and memory corruption with nvv4l2decoder

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - dGPU
• DeepStream Version - 6.0.0
• JetPack Version (valid for Jetson only)-N/A
• TensorRT Version-N/A
• Issue Type( questions, new requirements, bugs)- Bug

Deepstream python app crashes with following error

(python3:2224851): GStreamer-CRITICAL **: 14:28:35.295: gst_buffer_get_sizes_range: assertion ‘GST_IS_BUFFER (buffer)’ failed

Running stack trace with gdb output the following

Thread 137 “nvv4l2decoder3:” received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff997cb700 (LWP 2225001)]
0x00007ffff77b4259 in gst_buffer_copy_into () from /usr/lib/x86_64-linux-gnu/
(gdb) bt
#0 0x00007ffff77b4259 in gst_buffer_copy_into () at /usr/lib/x86_64-linux-gnu/
#1 0x00007fffbec9beab in gst_v4l2_video_dec_loop ()
at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/
#2 0x00007ffff7824107 in () at /usr/lib/x86_64-linux-gnu/
#3 0x00007ffff7663374 in () at /usr/lib/x86_64-linux-gnu/
#4 0x00007ffff7662ad1 in () at /usr/lib/x86_64-linux-gnu/
#5 0x00007ffff7b97609 in start_thread () at /usr/lib/x86_64-linux-gnu/
#6 0x00007ffff7cd3293 in clone () at /usr/lib/x86_64-linux-gnu/

The error occurs appears after 4 hours of running the code and occurs repeatedly. Attached gstreamer log here
gst.log (17.8 MB)

Thank for your sharing, what is you GPU model? what is the media pipeline? which sample are your testing? can you provide simplified code to reproduce this issue?

I’m curious what is your NVIDIA driver version.
I’ve faced something very similar and it was fixed when I updated my driver version.
In my case the pipeline crashed randomly, sometimes after a day or sometimes in just few hours.

Sample python code (31.5 KB)

need more information, thanks!

  1. what is you GPU model?
  2. how did you start your application? from the gstreamer logs, there are 11 nvv4l2decoders.
  3. can you simplify the code to narrow down this issue? can you use deepstream sample to reproduce this issue?
  4. did you monitor CPU and memory usage?

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

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