Skip to content

[Wasm] Out of bounds memory access in System.IO.MemoryMappedFiles tests #83214

@steveisok

Description

@steveisok

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=199088
Build error leg or test failing: WasmTestOnBrowser-System.IO.MemoryMappedFiles.Tests.WorkItemExecution

Error Message

During one of the test runs on browser, it'll fail with:

[14:52:48] fail: RuntimeError: memory access out of bounds
                     at dlfree (dlfree (http://127.0.0.1:45211/dotnet.wasm:wasm-function[9283]:0x1ec08a))
                     at __munmap (__munmap (http://127.0.0.1:45211/dotnet.wasm:wasm-function[9186]:0x1e2863))
                     at SystemNative_MUnmap (SystemNative_MUnmap (http://127.0.0.1:45211/dotnet.wasm:wasm-function[8992]:0x1d6743))
                     at wasm_invoke_iil (wasm_invoke_iil (http://127.0.0.1:45211/dotnet.wasm:wasm-function[179]:0xedb7))
                     at mono_interp_exec_method (mono_interp_exec_method (http://127.0.0.1:45211/dotnet.wasm:wasm-function[235]:0x1177b))
                     at interp_runtime_invoke (interp_runtime_invoke (http://127.0.0.1:45211/dotnet.wasm:wasm-function[283]:0x1e32a))
                     at mono_jit_runtime_invoke (mono_jit_runtime_invoke (http://127.0.0.1:45211/dotnet.wasm:wasm-function[8462]:0x1b87cb))
                     at do_runtime_invoke (do_runtime_invoke (http://127.0.0.1:45211/dotnet.wasm:wasm-function[2806]:0xae609))
                     at mono_runtime_invoke_checked (mono_runtime_invoke_checked (http://127.0.0.1:45211/dotnet.wasm:wasm-function[2804]:0xae57f))
                     at ves_icall_InternalInvoke_raw (ves_icall_InternalInvoke_raw (http://127.0.0.1:45211/dotnet.wasm:wasm-function[2146]:0x90a5a))
{
  "ErrorMessage": "fail: RuntimeError: memory access out of bounds",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
199088 dotnet/runtime WasmTestOnBrowser-System.IO.MemoryMappedFiles.Tests.WorkItemExecution #83182

Summary

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions