Skip to content

Publish symbols fails with Encountered Win32 error '203' from method 'SymEnumSourceFiles'. #16873

@PeterKristiansen

Description

@PeterKristiansen

Note

Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo

For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

If you have an issue or request for the Azure Pipelines service, use developer community instead:

https://developercommunity.visualstudio.com/spaces/21/index.html )

Required Information

Question, Bug, or Feature?
Type: Bug

Enter Task Name: PublishSymbolsV2

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

  • Azure DevOps Pipelines

    • A private project
  • Private agent

    • Host machine is running Windows Server 2019 Standard

    • Agent version 2.206.1

Issue Description

We see that the Index sources and publish symbols - v2 task, started ending in warning back in May with this:
##[warning]Library dbghelp.dll is already loaded from an unexpected path. Expected 'G:\T\a3\w\_tasks\PublishSymbols_0675668a-7bba-4ccb-901d-5ad6554ca653\2.203.0\dbghelp.dll'. Actual 'G:\T\a3\w\_tasks\PublishSymbols_0675668a-7bba-4ccb-901d-5ad6554ca653\2.203.0\dbghelp.dll'. ##[error]Encountered Win32 error '203' from method 'SymEnumSourceFiles'.
On the surface at least it looks like this issue - though we are only experiencing it now #13491.

The server is running McAfee as the virusscanner. We have verified that exempting the agent folders from virus scan had no effect on this issue. However disabling McAfee completely on the server made the issue go away.

As far as Windows updates the Servicing Stack 10.0.17763.2744 was rolled on in the period between last success and first failure.

We are unable to roll back the update and McAfee is the corporate wide chosen virus scanner on servers.

The Azure DevOps agent on its own does not appear to be the culprit. Back when the issue was detected we were running 2.200.2 - but 2.200.2 was also the agent used for the last succesful job.

Task logs

[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Please find the log attached as 13.zip

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Error logs

[Insert error from the logs here for a quick overview]
13.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions