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] RuntimeError: memory access out of bounds #40042

Closed
MaximLipnin opened this issue Jul 28, 2020 · 6 comments
Closed

[wasm] RuntimeError: memory access out of bounds #40042

MaximLipnin opened this issue Jul 28, 2020 · 6 comments
Assignees
Labels
Milestone

Comments

@MaximLipnin
Copy link
Contributor

From here: https://helix.dot.net/api/2019-06-17/jobs/319ba90b-af16-4898-852f-53242c8e9656/workitems/System.Threading.Tasks.Tests/console

[19:28:51] dbug: test[0]
      JS exception: RuntimeError: memory access out of bounds
      
[19:28:51] dbug: test[0]
      RuntimeError: memory access out of bounds
      
[19:28:51] dbug: test[0]
          at get_virtual_method_fast (<anonymous>:wasm-function[10393]:0x18629f)
      
[19:28:51] dbug: test[0]
          at interp_exec_method (<anonymous>:wasm-function[2153]:0x44a5d)
      
[19:28:51] dbug: test[0]
          at interp_runtime_invoke (<anonymous>:wasm-function[7870]:0x12e944)
      
[19:28:51] dbug: test[0]
          at mono_jit_runtime_invoke (<anonymous>:wasm-function[7352]:0x1183f7)
      
[19:28:51] dbug: test[0]
          at do_runtime_invoke (<anonymous>:wasm-function[3304]:0x78f79)
      
[19:28:51] dbug: test[0]
          at mono_runtime_invoke_checked (<anonymous>:wasm-function[526]:0x1003e)
      
[19:28:51] dbug: test[0]
          at mono_runtime_try_invoke_array (<anonymous>:wasm-function[7119]:0x10deca)
      
[19:28:51] dbug: test[0]
          at ves_icall_InternalInvoke (<anonymous>:wasm-function[6245]:0xed397)
      
[19:28:51] dbug: test[0]
          at ves_icall_InternalInvoke_raw (<anonymous>:wasm-function[6244]:0xece5b)
      
[19:28:51] dbug: test[0]
          at do_icall (<anonymous>:wasm-function[10631]:0x1953bb)
      
[19:28:51] dbug: test[0]
          at do_icall_wrapper (<anonymous>:wasm-function[3305]:0x79030)
      
[19:28:51] dbug: test[0]
          at interp_exec_method (<anonymous>:wasm-function[2153]:0x448a6)
      
[19:28:51] dbug: test[0]
          at interp_runtime_invoke (<anonymous>:wasm-function[7870]:0x12e944)
      
[19:28:51] dbug: test[0]
          at mono_jit_runtime_invoke (<anonymous>:wasm-function[7352]:0x1183f7)
      
[19:28:51] dbug: test[0]
          at do_runtime_invoke (<anonymous>:wasm-function[3304]:0x78f79)
      
[19:28:51] dbug: test[0]
          at mono_runtime_try_invoke (<anonymous>:wasm-function[667]:0x13db6)
      
[19:28:51] dbug: test[0]
          at mono_runtime_invoke (<anonymous>:wasm-function[7123]:0x10e215)
      
[19:28:51] dbug: test[0]
          at mono_wasm_invoke_method (<anonymous>:wasm-function[6929]:0x108693)
      
[19:28:51] dbug: test[0]
          at Module._mono_wasm_invoke_method (dotnet.js:1:191717)
      
[19:28:51] dbug: test[0]
          at Object.init (runtime.js:308:15)
      
[19:28:51] dbug: test[0]
          at Object.config.loaded_cb (runtime.js:175:8)
      
[19:28:51] dbug: test[0]
          at Object._finalize_startup (dotnet.js:1:128651)
      
[19:28:51] dbug: test[0]
          at onPendingRequestComplete (dotnet.js:1:129659)
      
[19:28:51] dbug: test[0]
          at processFetchResponseBuffer (dotnet.js:1:129979)
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI untriaged New issue has not been triaged by the area owner labels Jul 28, 2020
@ghost
Copy link

ghost commented Jul 28, 2020

Tagging subscribers to this area: @BrzVlad
See info in area-owners.md if you want to be subscribed.

@jkotas jkotas removed the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jul 28, 2020
@marek-safar marek-safar added arch-wasm WebAssembly architecture and removed untriaged New issue has not been triaged by the area owner labels Jul 28, 2020
@marek-safar marek-safar added this to the 5.0.0 milestone Jul 28, 2020
@SamMonoRT
Copy link
Member

cc @BrzVlad @vargaz

@BrzVlad
Copy link
Member

BrzVlad commented Jul 29, 2020

From the looks of the stacktrace, this might be a GC related failure. I would like to see this happen again in a more recent build, after zoltan's fix.

@SamMonoRT
Copy link
Member

@MaximLipnin - does this still happen on a recent build ?

@MaximLipnin
Copy link
Contributor Author

@SamMonoRT I've seen this error once in CI and I don't have a local repro for it.

@SamMonoRT
Copy link
Member

We'll close this as no additional failures since Zoltan's change was merged.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants