Setup:
- Windows 11
- SDK: 5.3.1 - 5.5.0 C++
- CUDA 12, TensorRT 10
- ZED 2i
- NVIDIA Quadro RTX 5000, Driver 597.16
Description:
I’ve noticed a crash in nvinfer_10.dll with an “access violation reading location” error when calling Camera::open in my application. It happens consistently with SDK 5.4-5.5 and I’ve had it crash once in 5.3.1. Previous SDK versions work fine for me.
Rough steps to reproduce:
- Set depth mode to NEURAL in sl::InitParameters. I am also setting the cuda context and gpu index.
- Call sl::checkAIModelStatus with the respective neural AI mode. If the model isn’t downloaded or optimized, also call sl::optimizeAIModel.
- Call Camera::open
If I don’t call sl::checkAIModelStatus and sl::optimizeAIModel, Camera::open doesn’t crash for me. The depth mode should also be one of the neural modes. Performance, quality, and ultra don’t cause problems.
Other things I’ve tested:
- ZED Depth Viewer 5.5.0 seems to work fine for me. I tried setting to neural and neural plus and was able to get the viewer working.
- ZED SDK 5.5.0 depth sensing C++ sample code. I tried to reproduce with the same InitParameters but was not able to. Although, I didn’t set the cuda context in the sample code since the context is attached to our application.
I would appreciate any help. Thank you.