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

Test failure: WasmTestOnBrowser-System.IO.MemoryMappedFiles - Memory access out of bounds #75465

Closed
karelz opened this issue Sep 12, 2022 · 5 comments
Labels
arch-wasm WebAssembly architecture area-System.IO
Milestone

Comments

@karelz
Copy link
Member

karelz commented Sep 12, 2022

Frequency last 30 days in Runfo as 9/12:

Day Run Details
9/11 Rolling run 12016 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open
8/25 PR 1966882 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open
8/25-26 2x PR 1966436 Different error - specific to the PR
8/25 PR 1965131 Different error
8/22 PR 1958433 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open

Error example (from Console log):

[21:25:30] info: Starting:    System.IO.MemoryMappedFiles.Tests.dll
[21:25:30] fail: RuntimeError: memory access out of bounds
                     at dlfree (dlfree (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9152]:0x1e0b6c))
                     at __munmap (__munmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9054]:0x1d7166))
                     at SystemNative_MUnmap (SystemNative_MUnmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8863]:0x1cb132))
                     at wasm_invoke_iil (wasm_invoke_iil (http://127.0.0.1:37767/dotnet.wasm:wasm-function[176]:0xc2a3))
                     at interp_exec_method (interp_exec_method (http://127.0.0.1:37767/dotnet.wasm:wasm-function[222]:0xe776))
                     at interp_runtime_invoke (interp_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[221]:0xceb8))
                     at mono_jit_runtime_invoke (mono_jit_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8113]:0x1a1f59))
                     at do_runtime_invoke (do_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2054]:0x85989))
                     at mono_runtime_invoke_checked (mono_runtime_invoke_checked (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2052]:0x858ff))
                     at ves_icall_InternalInvoke_raw (ves_icall_InternalInvoke_raw (http://127.0.0.1:37767/dotnet.wasm:wasm-function[1395]:0x68457))
[21:25:30] fail: RuntimeError: memory access out of bounds
                     at dlfree (dlfree (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9152]:0x1e0b6c))
                     at __munmap (__munmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9054]:0x1d7166))
                     at SystemNative_MUnmap (SystemNative_MUnmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8863]:0x1cb132))
                     at wasm_invoke_iil (wasm_invoke_iil (http://127.0.0.1:37767/dotnet.wasm:wasm-function[176]:0xc2a3))
                     at interp_exec_method (interp_exec_method (http://127.0.0.1:37767/dotnet.wasm:wasm-function[222]:0xe776))
                     at interp_runtime_invoke (interp_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[221]:0xceb8))
                     at mono_jit_runtime_invoke (mono_jit_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8113]:0x1a1f59))
                     at do_runtime_invoke (do_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2054]:0x85989))
                     at mono_runtime_invoke_checked (mono_runtime_invoke_checked (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2052]:0x858ff))
                     at ves_icall_InternalInvoke_raw (ves_icall_InternalInvoke_raw (http://127.0.0.1:37767/dotnet.wasm:wasm-function[1395]:0x68457))
[21:25:30] fail: RuntimeError: memory access out of bounds
                     at dlfree (dlfree (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9152]:0x1e0b6c))
                     at __munmap (__munmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9054]:0x1d7166))
                     at SystemNative_MUnmap (SystemNative_MUnmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8863]:0x1cb132))
                     at wasm_invoke_iil (wasm_invoke_iil (http://127.0.0.1:37767/dotnet.wasm:wasm-function[176]:0xc2a3))
                     at interp_exec_method (interp_exec_method (http://127.0.0.1:37767/dotnet.wasm:wasm-function[222]:0xe776))
                     at interp_runtime_invoke (interp_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[221]:0xceb8))
                     at mono_jit_runtime_invoke (mono_jit_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8113]:0x1a1f59))
                     at do_runtime_invoke (do_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2054]:0x85989))
                     at mono_runtime_invoke_checked (mono_runtime_invoke_checked (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2052]:0x858ff))
                     at ves_icall_InternalInvoke_raw (ves_icall_InternalInvoke_raw (http://127.0.0.1:37767/dotnet.wasm:wasm-function[1395]:0x68457))
[21:25:30] info: WASM EXIT 1
@karelz karelz added arch-wasm WebAssembly architecture area-System.IO labels Sep 12, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 12, 2022
@ghost
Copy link

ghost commented Sep 12, 2022

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

Issue Details

Frequency last 30 days in Runfo as 9/12:

Day Run Details
9/11 Rolling run 12016 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open
8/25 PR 1966882 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open
8/25-26 2x PR 1966436 Different error - specific to the PR
8/25 PR 1965131 Different error
8/22 PR 1958433 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open

Error example (from Console log):

[21:25:30] info: Starting:    System.IO.MemoryMappedFiles.Tests.dll
[21:25:30] fail: RuntimeError: memory access out of bounds
                     at dlfree (dlfree (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9152]:0x1e0b6c))
                     at __munmap (__munmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9054]:0x1d7166))
                     at SystemNative_MUnmap (SystemNative_MUnmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8863]:0x1cb132))
                     at wasm_invoke_iil (wasm_invoke_iil (http://127.0.0.1:37767/dotnet.wasm:wasm-function[176]:0xc2a3))
                     at interp_exec_method (interp_exec_method (http://127.0.0.1:37767/dotnet.wasm:wasm-function[222]:0xe776))
                     at interp_runtime_invoke (interp_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[221]:0xceb8))
                     at mono_jit_runtime_invoke (mono_jit_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8113]:0x1a1f59))
                     at do_runtime_invoke (do_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2054]:0x85989))
                     at mono_runtime_invoke_checked (mono_runtime_invoke_checked (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2052]:0x858ff))
                     at ves_icall_InternalInvoke_raw (ves_icall_InternalInvoke_raw (http://127.0.0.1:37767/dotnet.wasm:wasm-function[1395]:0x68457))
[21:25:30] fail: RuntimeError: memory access out of bounds
                     at dlfree (dlfree (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9152]:0x1e0b6c))
                     at __munmap (__munmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9054]:0x1d7166))
                     at SystemNative_MUnmap (SystemNative_MUnmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8863]:0x1cb132))
                     at wasm_invoke_iil (wasm_invoke_iil (http://127.0.0.1:37767/dotnet.wasm:wasm-function[176]:0xc2a3))
                     at interp_exec_method (interp_exec_method (http://127.0.0.1:37767/dotnet.wasm:wasm-function[222]:0xe776))
                     at interp_runtime_invoke (interp_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[221]:0xceb8))
                     at mono_jit_runtime_invoke (mono_jit_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8113]:0x1a1f59))
                     at do_runtime_invoke (do_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2054]:0x85989))
                     at mono_runtime_invoke_checked (mono_runtime_invoke_checked (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2052]:0x858ff))
                     at ves_icall_InternalInvoke_raw (ves_icall_InternalInvoke_raw (http://127.0.0.1:37767/dotnet.wasm:wasm-function[1395]:0x68457))
[21:25:30] fail: RuntimeError: memory access out of bounds
                     at dlfree (dlfree (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9152]:0x1e0b6c))
                     at __munmap (__munmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[9054]:0x1d7166))
                     at SystemNative_MUnmap (SystemNative_MUnmap (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8863]:0x1cb132))
                     at wasm_invoke_iil (wasm_invoke_iil (http://127.0.0.1:37767/dotnet.wasm:wasm-function[176]:0xc2a3))
                     at interp_exec_method (interp_exec_method (http://127.0.0.1:37767/dotnet.wasm:wasm-function[222]:0xe776))
                     at interp_runtime_invoke (interp_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[221]:0xceb8))
                     at mono_jit_runtime_invoke (mono_jit_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[8113]:0x1a1f59))
                     at do_runtime_invoke (do_runtime_invoke (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2054]:0x85989))
                     at mono_runtime_invoke_checked (mono_runtime_invoke_checked (http://127.0.0.1:37767/dotnet.wasm:wasm-function[2052]:0x858ff))
                     at ves_icall_InternalInvoke_raw (ves_icall_InternalInvoke_raw (http://127.0.0.1:37767/dotnet.wasm:wasm-function[1395]:0x68457))
[21:25:30] info: WASM EXIT 1
Author: karelz
Assignees: -
Labels:

arch-wasm, area-System.IO

Milestone: -

@karelz
Copy link
Member Author

karelz commented Sep 12, 2022

@lewing @steveisok can you please help route it to the right folks? Not blocking CI yet, but close ...

@lewing
Copy link
Member

lewing commented Sep 14, 2022

cc @vargaz

@lewing lewing added this to the 8.0.0 milestone Sep 14, 2022
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Sep 14, 2022
@vargaz
Copy link
Contributor

vargaz commented Sep 14, 2022

Same as:
#74723

@adamsitnik
Copy link
Member

Closing since it's a duplicate of #74723

@adamsitnik adamsitnik closed this as not planned Won't fix, can't repro, duplicate, stale Sep 15, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Oct 15, 2022
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
Projects
None yet
Development

No branches or pull requests

4 participants