使用的代码是 cuda-samples 中的代码 代码 在解码这张 图片 的时候,在解码 phaseOne 直接 crash,而没有返回错误码.
GPU Device 0: "GeForce GTX 1060 6GB" with compute capability 6.1
Using GPU 0 (GeForce GTX 1060 6GB, 10 SMs, 2048 th/SM max, CC 6.1, ECC off)
Decoding images in directory: /data/workspace/nvjpeg/bad_jpg.txt, total 1, batchsize 1
Processing: /data/images/crash.jpg
Image is 3 channels.
Channel #0 size: 640 x 640
Channel #1 size: 640 x 640
Channel #2 size: 640 x 640
YUV 4:4:4 chroma subsampling
[1] 5161 segmentation fault (core dumped) ./nvJPEG -i /data/workspace/nvjpeg/bad_jpg.txt