[mmapi] '12_camera_v4l2_cuda' appears Segmentation fault when exiting

1,Run the sample using command:

./camera_v4l2_cuda -d /dev/video0 -s 640x480 -f YUYV -n 30 -c

2,Enter Ctrl + c on the keyboard

The Segmentation fault appears in this line of code
delete ctx.conv;

Because I refer to this example to write a module, will also be the same error, so I hope you help me solve this problem.
thank you.

Hi li lin, the sample is for usb camera. which camera do you use? Does it support YUYV format?

Hi li lin,

Have you clarified and fixed this problem?
Any further information can be shared?


Hi DaneLLL, kayccc:

Sorry has not been updated.
I use the usb camera.

I found that delete the two lines of code, the program can be normal exit