Nvargus-daemon crash on disconnect of GMSL camera

Hello,

We are experiencing an issue on the Jetson AGX Orin with the stereolabs ZedX connected through GMSL. We have one camera connected. If the camera is disconnected while we are streaming frames, the camera is not recoverable until we reboot the jetson. The nvargus-daemon exits with a segmentation fault error and continues to do so on restart. I’ve attached the nvargus-daemon logs.

Here’s the /etc/nv_tegra_release

# R35 (release), REVISION: 4.1, GCID: 33958178, BOARD: t186ref, EABI: aarch64, DATE: Tue Aug  1 19:57:35 UTC 2023

We’ve seen similar behavior on Jetpack 6. Any help would be appreciated.

The steps to reproduce with the stereolabs SDK installed are as follows:

  1. python3 /usr/local/zed/samples/recording/recording/mono/python/svo_recording.py --output_svo_file out.svo
  2. Disconnect camera
  3. Reconnect camera after a few seconds
  4. Restart the above command and see that the camera does not reconnect

nvargus-daemon.txt (18.4 KB)

How about restart nvargus-daemon before restart the camera?
BTW, please provide the daemon log for restart camera if still failed.

sudo service nvargus-daemon restart
sleep 5
Restart camera

Hi @evanb1 ,

I’d like to help you with the issue you’re experiencing. We can start with some basic troubleshooting steps.

First, could you check what happens when you connect the camera? Also, you can verify if it’s configured correctly by using the following commands:

  1. To list the detected devices, run:
v4l2-ctl --list-devices
  1. To show information about a specific device, use:
v4l2-ctl -d /dev/videoX --all

Please replace videoX with the correct device number and ensure the information is accurate.
3. Next, try capturing video with a simple command:

v4l2-ctl -d /dev/video0 --stream-mmap

Please perform these basic tests and let me know the results so we can continue troubleshooting together.

Jose Morera
Embedded Software Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com

The camera may become disconnected and reconnected during normal operation so we don’t have a way to restart the nvargus-daemon before the camera is disconnected.

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

Is this still an issue to support? Any result can be shared?