The profiler returned an error code: 3221226505 (0xc0000409)

I am using nsight-compute 2025.1 and cuda 12.8 on Windows 11. And it failed with

I have tried to reinstall nsight-compute several times. I have also tried different executables, different metric sets(including basic and custom, and even no metric sets) and all the different replay modes but they all give the same error like this. What might be the cause and how to solve/bypass this problem?

Hi, @user156941

Sorry for the issue you met. Can you please run “ncu.exe $sample” to check what happens?

Make sure $sample can run well separately.

Nothing happened and it returned False on Windows. But this program is expected to pop a window and output messages in the terminal.

I didn’t see this behavior before. Normally there should be some output.