Pipeline Crash

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson)
• DeepStream Version (8.0)
• JetPack Version (7.0)
• TensorRT Version
• Issue Type( bugs)
• 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)

My gstreamer pipeline is appsrc→nvvideoconvert→nvv4l2h264enc→appsink
My pipeline xdot file

0.00.00.037606381-surround0-pipeline.zip (2.0 KB)
My program sometimes crashes,and backtrace as follow
#0 0x0000fffd1c5f3a24 in ??? () at /usr/lib/aarch64-linux-gnu/tegra-egl/libEGL_nvidia.so.0
#1 0x0000fffd1c5f3d54 in ??? () at /usr/lib/aarch64-linux-gnu/tegra-egl/libEGL_nvidia.so.0
#2 0x0000fffd1c5f3010 in ??? () at /usr/lib/aarch64-linux-gnu/tegra-egl/libEGL_nvidia.so.0
#3 0x0000fffd1c5f0910 in ??? () at /usr/lib/aarch64-linux-gnu/tegra-egl/libEGL_nvidia.so.0
#4 0x0000fffd1c59f18c in ??? () at /usr/lib/aarch64-linux-gnu/tegra-egl/libEGL_nvidia.so.0
#5 0x0000ffff6f9df738 in ??? () at /usr/lib/aarch64-linux-gnu/nvidia/libnvbufsurftransform.so.1.0.0
#6 0x0000ffff6f9e21e8 [PAC] in NvBufSurfTransformAsync () at /usr/lib/aarch64-linux-gnu/nvidia/libnvbufsurftransform.so.1.0.0
#7 0x0000ffff71616cd0 [PAC] in ??? () at /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so
#8 0x0000ffffab0aefb8 [PAC] in ??? () at /lib/aarch64-linux-gnu/libgstbase-1.0.so.0
#9 0x0000ffffab0ae3dc [PAC] in ??? () at /lib/aarch64-linux-gnu/libgstbase-1.0.so.0
#10 0x0000ffffb02dcb68 [PAC] in ??? () at /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0
#11 0x0000ffffb02dfcfc [PAC] in ??? () at /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0
#12 0x0000ffffb02e02b0 [PAC] in gst_pad_push () at /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0
#13 0x0000ffffab0b22ec [PAC] in ??? () at /lib/aarch64-linux-gnu/libgstbase-1.0.so.0
#14 0x0000ffffb030df60 [PAC] in ??? () at /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0
#15 0x0000ffffb00c7940 [PAC] in ??? () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#16 0x0000ffffb00c1388 [PAC] in ??? () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#17 0x0000ffffb31c595c [PAC] in start_thread (arg=0xffff64fbe780) at ./nptl/pthread_create.c:447
#18 0x0000ffffb322bb0c in thread_start () at
**

How should I further analyze the problem and resolve this crash?**

  1. What is the Jetson device model? Please refer to the compatibility table. DS8.0 only supports Thor.
  2. Noticing the source format is UYVY, can the following cmd work well?
    gst-launch-1.0 -v videotestsrc ! video/x-raw,format=UYVY,width=2592,height=1944,framerate=25/1 ! nvvideoconvert ! video/x-raw\(memory:NVMM\),format=NV12 ! nvv4l2h264enc ! fakesink
    if crash, could you share the complete running log? and use gdb to get a complete crash stack trace? Thanks!

1.My Thor is 120W mode.

2.gst-launch-1.0 -v videotestsrc ! video/x-raw,format=UYVY,width=2592,height=1944,framerate=30/1 ! nvvideoconvert ! nvv4l2h264enc ! fakesink works well.

And my program crashes somewhat randomly.Sometimes it runs normally for 12 hours. Sometimes it crashes after a quarter of the run.

  1. When the issue happens, could you share the complete running log? wondering if there is any abnormal information, and please share the system log generated with “sudo nvidia-bug-report-tegra.sh”. Thanks!
  2. How long did you run the cmd in your comment? what did you do in appsrc and appsink? To rule out the custom code’s issue, you can run the cmd for a long time to check if the issue persists.