nvarguscamera crashes around 90 minutes

Hi all !

Is there anybody have the title, the nvargus-daemon crashes around 90 minutes, which is very confusing.

Here is the syslog.

Jan 17 14:03:20 tx2-cb gst-launch-1.0[9454]: Framerate set to : 60 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4
Jan 17 14:03:20 tx2-cb gst-launch-1.0[9454]: ===== NVMEDIA: NVENC =====
Jan 17 14:03:20 tx2-cb gst-launch-1.0[9454]: NvMMLiteBlockCreate : Block : BlockType = 4
Jan 17 14:03:20 tx2-cb gst-launch-1.0[9454]: H264: Profile = 100, Level = 40
Jan 17 14:03:20 tx2-cb nvargus-daemon[5734]: === NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== gst-launch-1.0[9454]: Connection established (7FA41821D0)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
Jan 17 15:40:05 tx2-cb systemd[1]: Stopping gst-launch-1.0...
Jan 17 15:40:05 tx2-cb nvargus-daemon[5734]: CAM: serial no file already exists, skips storing again=== gst-launch-1.0[9454]: CameraProvider initialized (0x7f9cabf020)CAM: serial no file already exists, skips storing againSCF: Error InvalidState:  (propagating from src/services/gl/EGLStreamProducer.cpp, function presentBufferInternal(), line 538)
Jan 17 15:40:05 tx2-cb nvargus-daemon[5734]: === gst-launch-1.0[9454]: Connection closed (7FA41821D0)===
gst-launch-1.0[9454]: WARNING: CameraProvider was not destroyed before client connection terminated.===
gst-launch-1.0[9454]:          The client may have abnormally terminated. Destroying CameraProvider...===
gst-launch-1.0[9454]: CameraProvider destroyed (0x7f9cabf020)===
gst-launch-1.0[9454]: WARNING: Cleaning up 1 outstanding requests...===
gst-launch-1.0[9454]: WARNING: Cleaning up 1 outstanding streams...SCF: Error InvalidState: 5 buffers still pending during EGLStreamProducer destruction (propagating from src/services/gl/EGLStreamProducer.cpp, function freeBuffers(), line 305)
Jan 17 15:40:05 tx2-cb nvargus-daemon[5734]: ===
gst-launch-1.0[9454]: WARNING: Cleaning up 1 outstanding stream settings...===
gst-launch-1.0[9454]: WARNING: Cleaning up 1 outstanding sessions...(NvCameraUtils) Error InvalidState: Mutex not initialized (/dvs/git/dirty/git-master_linux/camera/core_scf/src/services/gl/EGLStreamProducer.cpp:497) (in Mutex.cpp, function lock(), line 79)
Jan 17 15:40:10 tx2-cb systemd[1]: Stopped gst-launch-1.0.
Jan 17 15:40:10 tx2-cb systemd[1]: Started gst-launch-1.0.

The gstreamer pipeline is

gst-launch-1.0 nvarguscamerasrc exposurecompensation=1 aelock=1 wbmode=off ! 'video/x-raw(memory:NVMM), width=3840, height=2160, framerate=(fraction)60/1' ! omxh264enc EnableTwopassCBR=1 control-rate=2 profile=8 insert-sps-pps=true insert-vui=true iframeinterval=600 bitrate=6000000 peak-bitrate=6000000 ! 'video/x-h264, streamformat=(string)byte-stream' ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=61234

Using the Leopard Imaging TX2 CB and its IMX274 camera.

Is there anybody got this issue ?

Thanks in advance !

Using the 32.2.1

# R32 (release), REVISION: 2.1, GCID: 16294929, BOARD: t186ref, EABI: aarch64, DATE: Tue Aug 13 04:45:36 UTC 2019

Please have a try to reduce the frame rate for debug.

framerate=(fraction)60/1

Yes ! Removed this statement then the program can run much more time. Thank you very much !

hi,zhoub
what is the root cause?
I meet the same error:
https://devtalk.nvidia.com/default/topic/1071569/jetson-tx2/argus-camera-instability-issue/
but I can not reduce the frame rate…