Every one of my captures lead to Vtune being stuck during the Finalizing Result phase.
I see the 'data collection is completed successfully' message and the progress bar gets stuck. There's not specific pattern where it gets stuck, it could be while reading the trace file or a on a dll used by the program. I tried to leaving the process running for hours to see if it would eventually finish, no luck.
To get pass this I usually have to kill VTune from the task manager; re-open VTune and load the capture on which it crashed. At which point the resolution just takes a few seconds and I'm able to see navigate my capture normally.
This happens whether I use Vtune as a stand alone or withing Visual Studio (which i stopped doing since this process usually meant my instance of VS would need to be killed as well).
I'm on Windows 10 1809 (17763.1158)
and using Vtune 2020 (build 605129)
I have been plagued with this behavior for a while and on various versions of Vtune. I have to carefully pick a version from which I can apply the workaround described above, for example, I tried 2020 patch 1 and I'm not able to kill the Vtune instance and resume from it, therefore I had to revert to the version I'm currently using.
Any suggestions would be greatly appreciated.
Thank you for reporting this issue. Could you provide more details:
- VTune finalization output;
- VTune process dump and logs:
When VTune gets stuck, find PID of the vtune-backend.exe process (in Task Manager) and run the following command from directory you're allowed to write files:
<vtune_install_directory/bin64/>amplxe-feedback.exe -create-bug-report=hang -no-system-info -dump-stack=<vtune-backend.exe PID>
It should create hang.zip archive in the working directory - send us this archive. (You can explore content of the archive and remove everything you treat as sensitive data).
If you build your application with the /DEBUG:FASTLINK option, rebuilding it with /DEBUG:FULL might help.
Is it reproducible if you create a new project in VTune stand-alone GUI?
- run a stand-alone version of VTune (vtune-gui.exe);
- create a new project: Menu -> New -> Project …
- configure and run analysis from the new project.