Skip to content

[wasm][CoreCLR] Failed to construct WebAssembly module for Webcil image #133255

Closed

Description

@pavelsavara

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1583242
Build error leg or test failing: Pri0 Runtime Tests Run R2R_CG2 browser wasm checked

Log

Running: node --experimental-wasm-exnref --stack-size=8192 /root/helix/work/correlation/corerun.js -c /root/helix/work/correlation -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true /root/helix/work/workitem/e/JIT/Methodical/Methodical_do/Methodical_do.dll
Failed to construct WebAssembly module for Webcil image: {
  wasmPath: '/root/helix/work/workitem/e/JIT/Methodical/Methodical_do/Methodical_do.wasm',
  errorMessage: 'WebAssembly.Module(): Compiling function #143:"Methodical_do_Test_unsafe_3_TestApp__test_150" failed: i32.le_u[0] expected type i32, found local.get of type i64 @+63398'
}
file:///root/helix/work/correlation/corerun.js:5233
    throw new Error(`Failed to construct WebAssembly module for Webcil image '${wasmPath}': ${errorMessage}`);
          ^

Error: Failed to construct WebAssembly module for Webcil image '/root/helix/work/workitem/e/JIT/Methodical/Methodical_do/Methodical_do.wasm': WebAssembly.Module(): Compiling function #143:"Methodical_do_Test_unsafe_3_TestApp__test_150" failed: i32.le_u[0] expected type i32, found local.get of type i64 @+63398
    at _BrowserHost_ExternalAssemblyProbe (file:///root/helix/work/correlation/corerun.js:5233:11)
    at wasm://wasm/01bf0f56:wasm-function[1764]:0x735cd
    at wasm://wasm/01bf0f56:wasm-function[7666]:0x30d173
    at wasm://wasm/01bf0f56:wasm-function[6706]:0x2a4830
    at wasm://wasm/01bf0f56:wasm-function[6779]:0x2b723e
    at wasm://wasm/01bf0f56:wasm-function[6220]:0x26ae08
    at wasm://wasm/01bf0f56:wasm-function[10896]:0x48ee9f
    at wasm://wasm/01bf0f56:wasm-function[1757]:0x708c7
    at file:///root/helix/work/correlation/corerun.js:498:12
    at callMain (file:///root/helix/work/correlation/corerun.js:7626:15)

Node.js v23.11.1
{
  "ErrorMessage": "Failed to construct WebAssembly module for Webcil image",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1583242
Error message validated: [Failed to construct WebAssembly module for Webcil image]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 9/4/2026 7:04:12 PM UTC

Activity

  1. added this to the 12.0.0 milestone on Sep 4, 2026
  2. added
    untriagedNew issue has not been triaged by the area owner
    on Sep 4, 2026
  3. dotnet-policy-service commented on Sep 4, 2026

    @dotnet-policy-service
    Contributor

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

  4. dotnet-policy-service commented on Sep 4, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/crossgen-contrib
    See info in area-owners.md if you want to be subscribed.

  5. lewing commented on Sep 4, 2026

    @lewing
    Member

    I think this was fixed in #133210

  6. MihuBot commented on Sep 4, 2026

    @MihuBot

    I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):

  7. locked and limited conversation to collaborators on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarch-wasmWebAssembly architecturearea-ReadyToRunos-browserBrowser variant of arch-wasm

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions