Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
steveisok opened this issue Mar 9, 2023 · 3 comments
Closed
Labels
arch-wasm WebAssembly architecture area-System.IO Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@steveisok
Copy link
Member

steveisok commented Mar 9, 2023

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
@steveisok steveisok added arch-wasm WebAssembly architecture area-System.IO Known Build Error Use this to report build issues in the .NET Helix tab labels Mar 9, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Mar 9, 2023
@ghost
Copy link

ghost commented Mar 9, 2023

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

Issue Details

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
}
Author: steveisok
Assignees: -
Labels:

arch-wasm, area-System.IO, Known Build Error

Milestone: -

@radical radical added this to the 8.0.0 milestone Mar 9, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Mar 9, 2023
@lewing
Copy link
Member

lewing commented Mar 24, 2023

@steveisok are we good to close this?

@steveisok
Copy link
Member Author

It's good to know I'm the only one to hit this 😂

@ghost ghost locked as resolved and limited conversation to collaborators Apr 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.IO Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

3 participants