Skip to content

EmccCompile task fails with This object is no longer valid because the MetadataLoadContext that created it has been disposed. #119337

Closed

Description

@jkotas

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1138483
Build error leg or test failing: WasmTestOnChrome-ST-System.Runtime.Tests.WorkItemExecution
Pull request: #119218

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "",
  "ErrorPattern": "EmccCompile.*This object is no longer valid because the MetadataLoadContext that created it has been disposed.",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1138483
Error message validated: [EmccCompile.*This object is no longer valid because the MetadataLoadContext that created it has been disposed.]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 9/3/2025 10:01:39 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Sep 3, 2025
  2. added
    untriaged
    on Sep 3, 2025
  3. added
    needs-area-label
    on Sep 3, 2025
  4. added
    arch-wasm
    and removed
    needs-area-label
    on Sep 3, 2025
  5. dotnet-policy-service commented on Sep 3, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing
    See info in area-owners.md if you want to be subscribed.

  6. jkotas commented on Sep 3, 2025

    @jkotas
    MemberAuthor

    Log fragment:

      [51/74] System.Runtime.Serialization.Formatters.dll.bc -> System.Runtime.Serialization.Formatters.dll.o [took 3.18s]
    C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(816,5): error MSB4217: Task host node exited prematurely. Diagnostic information may be found in files in the temporary files directory named MSBuild_*.failure.txt.  [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
    C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(824,7): error MSB4027: The "EmccCompile" task generated invalid items from the "OutputFiles" output parameter. This object is no longer valid because the MetadataLoadContext that created it has been disposed. [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
    
  7. added this to the 11.0.0 milestone on Sep 8, 2025
  8. removed
    untriaged
    on Sep 8, 2025
  9. removed
    blocking-clean-ci
    on Sep 16, 2025
  10. maraf commented on Apr 23, 2026

    @maraf
    Member

    Summary

    24-Hour Hit Count 7-Day Hit Count 1-Month Count
    0 0 0
  11. locked and limited conversation to collaborators on May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Known Build Errorarch-wasmarea-Build-mono

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions