Hello!
I’m experimenting with transmitting the video processed on Jetson Nano to several clients in the local network using certain GStreamer pipeline (please, see below) and have suddenly found, that it crashes quite regularly.
Here’s a minimal GStreamer pipeline (server part), which can be used to reproduce the crash:
gst-launch-1.0 nvarguscamerasrc sensor-mode=3 bufapi-version=1 ! queue ! videoconvert ! nvv4l2vp8enc bufapi-version=1 ! gdppay ! tcpserversink host=0.0.0.0 port=4455
And here’s a client pipeline:
gst-launch-1.0 tcpclientsrc host=jetson.local port=4455 ! fakesink
Note the sensor-mode parameter of nvarguscamerasrc and nvv4l2vp8enc encoding element in the server pipeline, this is the exact configuration, which the crash can be reproduced with. I usually start 2-3 of client pipelines (on other machines in the network) and in 4-5 minutes here’s the following on the Jetson Nano:
Setting pipeline to PAUSED ...
Opening in BLOCKING MODE
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
NvMMLiteOpen : Block : BlockType = 7
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 7
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21,000000 fps Duration = 47619048 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 3264 x 1848 FR = 28,000001 fps Duration = 35714284 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1920 x 1080 FR = 29,999999 fps Duration = 33333334 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1280 x 720 FR = 59,999999 fps Duration = 16666667 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1280 x 720 FR = 120,000005 fps Duration = 8333333 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 3
Output Stream W = 1280 H = 720
seconds to Run = 0
Frame Rate = 59,999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
(gst-launch-1.0:15183): GLib-GObject-WARNING **: 21:50:45.343: ../../../../gobject/gsignal.c:2641: instance '0x559cf65c40' has no handler with id '43555'
Caught SIGSEGV
#0 0x0000007f9aaeb038 in __GI___poll (fds=0x559cf82a00, nfds=548057092664, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1 0x0000007f9abf8e08 in () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#2 0x000000559ccec2e0 in ()
Spinning. Please run 'gdb gst-launch-1.0 15183' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
I’m using the latest JetPack image with all the updates. Again, neither with other sensor modes, nor with other encoders the crash can be reproduced for me, only in this exact configuration.
Would appreciate any help with this. Thanks in advance!