During the decoding process, the program will crash irregularly. After debugging, I found that the cause of the crash was an exception in the cuGraphicsEGLRegisterImage function.
However, I found that the cuGraphicsEGLRegisterImage function is abnormal irregularly. When calling the cuGraphicsEGLRegisterImage function, the parameters passed are the same. I don’t know why this happens.
Please check if you can apply a patch to the sample and reproduce the issue. If you can successfully reproduce it, please share us the patch and steps so that we can set up and try.