Segmentation fault when extracting the frame using a probe

the versions are as follows

Driver Version: 525.105.17 CUDA Version: 12.0
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0

the sample code worked fine