AGX deepstream5.0 multi udpsink output cause "*** stack smashing detected ***: <unknown> terminated" error

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson AGX 32G
• DeepStream Version 5.0
• JetPack Version (valid for Jetson only) 4.4
• TensorRT Version 7.1
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs) 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)

  1. config 16 rstp streams input
  2. config 16 udp sink rtsp stream output
  3. use gst command push these 16 output rstp to stream server.

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8555/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8556/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8557/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8558/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8559/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8560/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8561/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8562/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8563/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8564/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8565/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8566/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8567/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8568/ds-test ***
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8569/ds-test ***

cmd:
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8554/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture0’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8555/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture1’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8556/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture2’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8557/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture3’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8558/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture4’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8559/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture5’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8560/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture6’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8561/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture7’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8562/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture8’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8563/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture9’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8564/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture10’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8565/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture11’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8566/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture12’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8567/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture13’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8568/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture14’ > /dev/null 2>&1 &
nohup gst-launch-1.0 -e -v rtspsrc location=‘rtsp://localhost:8569/ds-test’ latency=1000 ! rtph264depay ! h264parse ! flvmux streamable=true ! rtmpsink async=false location=‘rtmp://localhost:1935/live/capture15’ > /dev/null 2>&1 &

when run sometime ,it will cause

***** stack smashing detected *: terminated
Aborted (core dumped)

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

but when the streams count down to 12 streams, it will works well.

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.
Thanks

Can you try to get the core dump log of the crash?

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