I just upgraded from sdk 4.2 to 5.0.8 lately, but noticed the issue the grab call can occasionally hang indefinitely. I’m running on a jetson orin nx, jetpack 5.1.1, zed 2i, C++ program.
The issue happens after the SDK warns about
[ZED][Grab] Detected Connection Failure. Trying to recover the camera with sn 31371250 ...
[2025-11-05 01:28:40 UTC][ZED][INFO] [Grab] Camera module reset
[2025-11-05 01:28:46 UTC][ZED][INFO] [Grab] Automatically recover from image capture failure -> SUCCESS
......
But this didn’t recover actually, it just hang there forever. I couldn’t provide much other information, it’s hard to reproduce it myself, it can wait for a day to happen. I got similar warning message in SDK 4 previously too, but they all recovered properly without hanging.
I’m currently trying to set async_grab_camera_recovery to true so that if it’s still not recovered for a while, I’ll try to exit the program and restart. This logic already exists in my previous code but since the grab call hangs without return any status, exit would still hang, I hope the async thread in the sdk will not block exiting in my new attempt.
Not sure if you can find some issues and solve it in SDK, hard for me to provide any useful information, but is there a way to just disable this auto-recovery feature? At least, I could control the logic myself.