dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.91k stars 4.63k forks source link

WASM test failing with OOM #100111

Open jkoritzinsky opened 5 months ago

jkoritzinsky commented 5 months ago

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=612582 Build error leg or test failing: WasmTestOnBrowser-System.Buffers.Tests.WorkItemExecution Pull request: https://github.com/dotnet/runtime/pull/99970

Error Message

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

{
  "ErrorMessage": "MONO_WASM: Out of memory",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=612582 Error message validated: [MONO_WASM: Out of memory] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 3/22/2024 12:51:34 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
dotnet-policy-service[bot] commented 5 months ago

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

pavelsavara commented 5 months ago

related https://github.com/dotnet/runtime/issues/98578

lewing commented 4 months ago

also https://github.com/dotnet/runtime/issues/59678

lewing commented 4 months ago

and https://github.com/dotnet/runtime/issues/101016

pavelsavara commented 4 months ago

Interesting one from Firefox Log

[12:40:19] info: [STRT] System.Text.Json.Tests.Utf8JsonWriterTests.WriteCustomStrings(options: System.Text.Json.JsonWriterOptions)
[12:40:19] fail: [MONO] * Assertion at /__w/1/s/src/mono/mono/utils/lock-free-alloc.c:145, condition `sb_header' not met, function:alloc_sb, Failed to allocate memory for the lock free allocator

                 ol<@mono_background_exec (http://127.0.0.1:46789/_framework/dotnet.runtime.js:3:171998
                 @http://127.0.0.1:46789/_framework/dotnet.native.wasm:wasm-function[164]:0xb14a
                 @http://127.0.0.1:46789/_framework/dotnet.native.wasm:wasm-function[649]:0x437bd
                 @http://127.0.0.1:46789/_framework/dotnet.native.wasm:wasm-function[572]:0x4171c
pavelsavara commented 3 months ago

Possibly related https://github.com/dotnet/runtime/pull/102323