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

[wasi] Native crash in System.Collections.Tests - out of bounds memory access #82043

Closed
Tracked by #82561
radical opened this issue Feb 13, 2023 · 3 comments
Closed
Tracked by #82561
Labels
arch-wasm WebAssembly architecture area-Codegen-Interpreter-mono os-wasi Related to WASI variant of arch-wasm test-failure
Milestone

Comments

@radical
Copy link
Member

radical commented Feb 13, 2023

Rolling build, and
log:

[21:07:27] info: Using random seed for test cases: 1458992135
[21:07:27] info: Using random seed for collections: 1458992135
[21:07:27] info: Starting:    managed/System.Collections.Tests.dll
[21:08:38] info: Error: failed to run main module `dotnet.wasm`
[21:08:38] info: 
[21:08:38] info: Caused by:
[21:08:38] info:     0: failed to invoke command default
[21:08:38] info:     1: error while executing at wasm backtrace:
[21:08:38] info:            0: 0x9f74d - <unknown>!inflated_signature_equal
[21:08:38] info:            1: 0x12bd0d - <unknown>!monoeg_g_hash_table_lookup_extended
[21:08:38] info:            2: 0x12bd71 - <unknown>!monoeg_g_hash_table_lookup
[21:08:38] info:            3: 0x9f60f - <unknown>!mono_metadata_get_inflated_signature
[21:08:38] info:            4: 0x8caf8 - <unknown>!mono_inflate_generic_signature
[21:08:38] info:            5: 0x268b7 - <unknown>!interp_transform_call
[21:08:38] info:            6: 0x1ec3b - <unknown>!generate_code
[21:08:38] info:            7: 0x30c22 - <unknown>!interp_inline_method
[21:08:38] info:            8: 0x2713e - <unknown>!interp_transform_call
[21:08:38] info:            9: 0x1ec3b - <unknown>!generate_code
[21:08:38] info:           10: 0x2a54e - <unknown>!generate
[21:08:38] info:           11: 0x2a06b - <unknown>!mono_interp_transform_method
[21:08:38] info:           12: 0x31b7c - <unknown>!tier_up_method
[21:08:38] info:           13: 0x31c65 - <unknown>!mono_interp_tier_up_frame_patchpoint
[21:08:38] info:           14: 0x10d98 - <unknown>!mono_interp_exec_method
[21:08:38] info:           15: 0x4c45 - <unknown>!interp_runtime_invoke
[21:08:38] info:           16: 0x10674c - <unknown>!mono_jit_runtime_invoke
[21:08:38] info:           17: 0xa91fd - <unknown>!do_runtime_invoke
[21:08:38] info:           18: 0xa91b4 - <unknown>!mono_runtime_invoke_checked
[21:08:38] info:           19: 0xaf44c - <unknown>!mono_runtime_try_invoke_byrefs
[21:08:38] info:           20: 0x78c78 - <unknown>!ves_icall_InternalInvoke
[21:08:38] info:           21: 0x81296 - <unknown>!ves_icall_InternalInvoke_raw
[21:08:38] info:           22: 0x1604d - <unknown>!do_icall
[21:08:38] info:           23: 0x14cf8 - <unknown>!do_icall_wrapper
[21:08:38] info:           24: 0x5f1c - <unknown>!mono_interp_exec_method
[21:08:38] info:           25: 0x4c45 - <unknown>!interp_runtime_invoke
[21:08:38] info:           26: 0x10674c - <unknown>!mono_jit_runtime_invoke
[21:08:38] info:           27: 0xa91fd - <unknown>!do_runtime_invoke
[21:08:38] info:           28: 0xa9b1b - <unknown>!mono_runtime_try_invoke
[21:08:38] info:           29: 0xadec8 - <unknown>!do_try_exec_main
[21:08:38] info:           30: 0xada3a - <unknown>!mono_runtime_run_main
[21:08:38] info:           31: 0x2fb2 - <unknown>!main
[21:08:38] info:           32: 0x13b62b - <unknown>!__main_void
[21:08:38] info:           33: 0x2898 - <unknown>!_start
[21:08:38] info:           34: 0x14dda7 - <unknown>!_start.command_export
[21:08:38] info:        note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable to may show more debugging information
[21:08:38] info:     2: wasm trap: out of bounds memory access
[21:08:38] info: Process wasmtime.exe exited with 3

cc @vargaz @BrzVlad

@radical radical added arch-wasm WebAssembly architecture area-Codegen-Interpreter-mono os-wasi Related to WASI variant of arch-wasm labels Feb 13, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Feb 13, 2023
@ghost
Copy link

ghost commented Feb 13, 2023

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

Issue Details

Rolling build, and
log:

[21:07:27] info: Using random seed for test cases: 1458992135
[21:07:27] info: Using random seed for collections: 1458992135
[21:07:27] info: Starting:    managed/System.Collections.Tests.dll
[21:08:38] info: Error: failed to run main module `dotnet.wasm`
[21:08:38] info: 
[21:08:38] info: Caused by:
[21:08:38] info:     0: failed to invoke command default
[21:08:38] info:     1: error while executing at wasm backtrace:
[21:08:38] info:            0: 0x9f74d - <unknown>!inflated_signature_equal
[21:08:38] info:            1: 0x12bd0d - <unknown>!monoeg_g_hash_table_lookup_extended
[21:08:38] info:            2: 0x12bd71 - <unknown>!monoeg_g_hash_table_lookup
[21:08:38] info:            3: 0x9f60f - <unknown>!mono_metadata_get_inflated_signature
[21:08:38] info:            4: 0x8caf8 - <unknown>!mono_inflate_generic_signature
[21:08:38] info:            5: 0x268b7 - <unknown>!interp_transform_call
[21:08:38] info:            6: 0x1ec3b - <unknown>!generate_code
[21:08:38] info:            7: 0x30c22 - <unknown>!interp_inline_method
[21:08:38] info:            8: 0x2713e - <unknown>!interp_transform_call
[21:08:38] info:            9: 0x1ec3b - <unknown>!generate_code
[21:08:38] info:           10: 0x2a54e - <unknown>!generate
[21:08:38] info:           11: 0x2a06b - <unknown>!mono_interp_transform_method
[21:08:38] info:           12: 0x31b7c - <unknown>!tier_up_method
[21:08:38] info:           13: 0x31c65 - <unknown>!mono_interp_tier_up_frame_patchpoint
[21:08:38] info:           14: 0x10d98 - <unknown>!mono_interp_exec_method
[21:08:38] info:           15: 0x4c45 - <unknown>!interp_runtime_invoke
[21:08:38] info:           16: 0x10674c - <unknown>!mono_jit_runtime_invoke
[21:08:38] info:           17: 0xa91fd - <unknown>!do_runtime_invoke
[21:08:38] info:           18: 0xa91b4 - <unknown>!mono_runtime_invoke_checked
[21:08:38] info:           19: 0xaf44c - <unknown>!mono_runtime_try_invoke_byrefs
[21:08:38] info:           20: 0x78c78 - <unknown>!ves_icall_InternalInvoke
[21:08:38] info:           21: 0x81296 - <unknown>!ves_icall_InternalInvoke_raw
[21:08:38] info:           22: 0x1604d - <unknown>!do_icall
[21:08:38] info:           23: 0x14cf8 - <unknown>!do_icall_wrapper
[21:08:38] info:           24: 0x5f1c - <unknown>!mono_interp_exec_method
[21:08:38] info:           25: 0x4c45 - <unknown>!interp_runtime_invoke
[21:08:38] info:           26: 0x10674c - <unknown>!mono_jit_runtime_invoke
[21:08:38] info:           27: 0xa91fd - <unknown>!do_runtime_invoke
[21:08:38] info:           28: 0xa9b1b - <unknown>!mono_runtime_try_invoke
[21:08:38] info:           29: 0xadec8 - <unknown>!do_try_exec_main
[21:08:38] info:           30: 0xada3a - <unknown>!mono_runtime_run_main
[21:08:38] info:           31: 0x2fb2 - <unknown>!main
[21:08:38] info:           32: 0x13b62b - <unknown>!__main_void
[21:08:38] info:           33: 0x2898 - <unknown>!_start
[21:08:38] info:           34: 0x14dda7 - <unknown>!_start.command_export
[21:08:38] info:        note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable to may show more debugging information
[21:08:38] info:     2: wasm trap: out of bounds memory access
[21:08:38] info: Process wasmtime.exe exited with 3

cc @vargaz @BrzVlad

Author: radical
Assignees: -
Labels:

arch-wasm, area-Codegen-Interpreter-mono, os-wasi

Milestone: -

@radical radical added this to the 8.0.0 milestone Feb 13, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Feb 13, 2023
@vargaz
Copy link
Contributor

vargaz commented Feb 14, 2023

Maybe same as:
#81911

@lewing
Copy link
Member

lewing commented Nov 16, 2023

closing this, if someone sees a new failure please report it via build analysis so it can be tracked

@lewing lewing closed this as completed Nov 16, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Codegen-Interpreter-mono os-wasi Related to WASI variant of arch-wasm test-failure
Projects
None yet
Development

No branches or pull requests

3 participants