I got SIGABRT and SIGSEGV erros

sudo nsys profile -o test -t cuda,cudnn,osrt,nvtx -f true ./app

Then I got
image

or

image

But there is nothing wrong without profiling.

What should I do?

What version of Nsight System are you using?

I’m using CUDA 10.2 and NVIDIA Nsight Systems version 2021.1.1.66-6c5c5cb

Would you mind updating to 2021.3 and trying again?

I succeeded by removing cudnn from trace( -t ).
I don’t know the reason.