Update to the latest Nsight Systems and retry (2021.1 currently)
Run Nsight Systems as Administrator and retry.
I suggest #2 as I hit a problem a few months back on Win10 where on older version of Nsight Systems would crash after profiling collection (with boost APIs on the stack) unless run as an elevated user. That’s been fixed in more recent versions, but you’re running an older version. See this link for details:
I tried to run it as an administrator, doesn’t work.
I updated to NVIDIA Nsight Systems, 2020.5.1.85-5ee086b Windows-x64, ran it as an administrator, still doesn’t work.
The latest version I see here is 2020.5 NVIDIA Nsight Systems | NVIDIA Developer.
Here are the error details:
Full error information:
StartAnalysisError (4105) {
RuntimeError (120) {
OriginalExceptionClass: class boost::exception_detail::clone_impl
OriginalFile: B:\Src\Default\QuadD\Host\Analysis\Clients\AnalysisHelper\AnalysisStatus.cpp
OriginalLine: 80
OriginalFunction: class Nvidia::QuadD::Analysis::Data::AnalysisStatusInfo __cdecl QuadDAnalysis::AnalysisHelper::AnalysisStatus::MakeFromErrorString(enum Nvidia::QuadD::Analysis::Data::AnalysisStatus,enum Nvidia::QuadD::Analysis::Data::AnalysisErrorType::Type,const class std::basic_string<char,struct std::char_traits,class std::allocator > &,const class boost::intrusive_ptr &)
ErrorText: Failed to start analysis.
}
}
I have the same error. I fix it by changing “Working directory” to be the directory containing the .exe file.
For example, if “Command line with arguments” is “D:\code\test.exe”, I set “Working directory” as “D:\code”.