Skip to content

PGO Instrumented SDK fails to bind to CoreCLR on Windows #47079

Description

@caaavik-msft

Describe the bug

We are unable to run the dotnet-optimization pipeline against the latest PGO instrumented SDK version as it gives the following error on running dotnet --info:

Failed to load [D:\a\_work\1\s\artifacts\out\sdk\x64\shared\Microsoft.NETCore.App\10.0.0-preview.2.25119.7\coreclr.dll], HRESULT: 0x8007007E
Failed to bind to CoreCLR at 'D:\a\_work\1\s\artifacts\out\sdk\x64\shared\Microsoft.NETCore.App\10.0.0-preview.2.25119.7\'
Failed to create CoreCLR, HRESULT: 0x80008088

To Reproduce

  1. Download the latest PGO instrumented SDK (e.g. https://ci.dot.net/public/Sdk/10.0.100-preview.3.25124.13/dotnet-sdk-pgo-10.0.100-preview.3.25124.13-win-x86.zip)
  2. Unpack the zip
  3. Run dotnet.exe --info

Further technical details

This is reproducing for Windows x86, x64, and arm64 pipelines, but is not reproducing on Linux.

The last known working version of the SDK which doesn't reproduce this error is 10.0.100-alpha.1.24619.16. Unfortunately I don't have a better SDK version range to share at the moment to isolate what caused this issue as we had a separate unrelated issue on the dotnet-optimization pipeline that meant we don't have pipeline runs on SDK versions in between that range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    untriagedRequest triage from a team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions