-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build on Windows Fails sometimes with fatal error C1090: PDB API call failed #48070
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Looks like this can get caused by locks on the file caused by parallel compilation, antiviruses, and parallel builds: https://developercommunity.visualstudio.com/content/problem/552999/fatal-error-c1090-pdb-api-call-failed-error-code-3.html There was a workaround in a Jenkins forum should we see this again: https://issues.jenkins.io/browse/JENKINS-9104 |
Be careful about assuming we should workaround such issues. If they appear regularly it's more likely we have a concurrency issue in the build, or a bad practice (eg: open/re-write in place) in a build process. |
Just hit this again: https://dev.azure.com/dnceng/public/_build/results?buildId=1070066&view=logs&j=e93c566c-b6be-5acb-6fc2-de2972d01fec&t=2dc174be-b57a-56b6-9566-e621f39fb1f6&l=3009
It's at a different point in the build. |
Looks like they got more hits: https://developercommunity.visualstudio.com/t/C1090-PDB-API-call-failed-error-code-2/48897#T-ND770588 and they are starting to see this data becoming hotter in Watson. I don't know if we have the buildpool configured for heapdumps (@dnceng), but maybe setting failfast on our builds could help us get dumps if they could be useful for the MSVC team. |
I just hit this on #52236. https://dev.azure.com/dnceng/public/_build/results?buildId=1122253&view=logs&jobId=16bd8e89-36f9-5867-227e-26683d5e0a13&j=16bd8e89-36f9-5867-227e-26683d5e0a13&t=d2c0465b-73ac-55f7-de66-3542be19c102
|
Thanks @jeffhandley. I've gotten two dumps (one from your PR and one from Maoni's PR). After looking, this doesn't seem to be an issue on our infrastructure and I've routed it to the C++ team for help. |
We've started hitting this on official builds: https://dev.azure.com/dnceng/internal/_build/results?buildId=1223231&view=results |
@hoyosjs did you hear back from C++? |
Yeah, I talked to YongKang and we could only tell that it was corruption on an object's vtable. The suggestion was to use TTT to pinpoint where the corruption happened, but this isn't particularly easy to achieve on the build machines (slows things, files are large, and our builds are already quite bulky). |
Does a retry usually make things work? |
Yes |
build https://dev.azure.com/dnceng/internal/_build/results?buildId=984686&view=logs&j=128f4634-3e62-52f1-6764-cb4c2b8330d4&t=32fccdd3-9e64-5af0-1f0d-f65712c6c51a
cc @dotnet/runtime-infrastructure
Report
Summary
Known issue validation
Build: 🔎⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.
Result validation:
The text was updated successfully, but these errors were encountered: