Multithreading using nvJPEG segment error

hello,When I use multi-threaded nvJPEG, a segmentation fault occurs in nvjpegDecode(). The error code is NVJPEG_STATUS_EXECUTION_FAILED, but there is no problem with single-threaded. What is the reason?

Hi there @shoutdn and welcome to the NVIDIA developer forums!

Did you check the comments in the docs about thread safety of nvJPEG? Some functionality has to be specifically instantiated it seems to be able to use it in a multi-threaded app.

If that does not help you solve this issue, I suggest asking in the CUDA forums directly. Most of programming questions are asked and answered over there.


Thank you for your suggestion, I will go to another board to ask questions

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.