microsoft / vcperf

A build analysis tool for the MSVC toolchain.
MIT License
296 stars 35 forks source link

/Analyze timetrace fails with error code 57005. #39

Open ChanceyC opened 1 year ago

ChanceyC commented 1 year ago

We are running a build in CI on this image: https://github.com/actions/runner-images/blob/win22/20230730.1/images/win/Windows2022-Readme.md

And get the following error. vcperf /analyze raw_primary_build.etl /timetrace primary_build.json Microsoft (R) Visual C++ (R) Performance Analyzer 2.2.22080401 Analyzing... ##[error]Cmd.exe exited with code '57005'.

'57005' Is hex for dead, maybe pointer related?

The unprocessed etl artifact was able to downloaded and analyzed locally on using vcperf at https://github.com/microsoft/vcperf/commit/f5c2a0c8d9876110a169add5044451b69e434bbf. The unprocessed etl was able to be /analyzed with the etl output succesfully in CI.

I do not see a github tag for 2.2.22080401 to try and reproduce locally.

This is a large build and had to take the advice from https://github.com/microsoft/vcperf/issues/15#issuecomment-705613136 about setting the temp directories to get this far. The unprocessed ETL was 5_270 mb, and when done locally the processed etl ~1000 mb and the timetrace ~300 mb.