Skip to content

[WASI][AOT] memory fault at wasm address 0x6c6f7314 in linear memory of size 0x3200000 #119299

@pavelsavara

Description

@pavelsavara

Log

19:58:16] info: Error: failed to run main module `dotnet.wasm`
[19:58:16] info: 
[19:58:16] info: Caused by:
[19:58:16] info:     0: failed to invoke `run` function
[19:58:16] info:     1: error while executing at wasm backtrace:
[19:58:16] info:            0: 0x1816a90 - address_of_bucket
[19:58:16] info:                            at /__w/1/s/src/native/containers/dn-simdhash-specialization.h:167:31              - dn_simdhash_string_ptr_find_value_internal
[19:58:16] info:                            at /__w/1/s/src/native/containers/dn-simdhash-specialization.h:295:2              - dn_simdhash_string_ptr_try_get_value_with_hash_raw
[19:58:16] info:                            at /__w/1/s/src/native/containers/dn-simdhash-specialization.h:497:35
[19:58:16] info:            1: 0x1816a4b - dn_simdhash_string_ptr_try_get_value_raw
[19:58:16] info:                            at /__w/1/s/src/native/containers/dn-simdhash-specialization.h:489:9
[19:58:16] info:            2: 0x1816e64 - dn_simdhash_string_ptr_try_get_value
[19:58:16] info:                            at /__w/1/s/src/native/containers/dn-simdhash-string-ptr.c:73:9
[19:58:16] info:            3: 0x17337a4 - mono_class_from_name_checked_aux
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/class.c:3420:7
[19:58:16] info:            4: 0x1732c70 - mono_class_from_name_checked
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/class.c:3535:10
[19:58:16] info:            5: 0x1732b85 - mono_class_load_from_name
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/class.c:3584:10
[19:58:16] info:            6: 0x17d83a7 - mono_class_get_assembly_load_context_class
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/assembly-load-context.c:16:1              - mono_alc_invoke_resolve_using_resolving_event
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/assembly-load-context.c:548:27              - mono_alc_invoke_resolve_using_resolving_event_nofail
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/assembly-load-context.c:569:11
[19:58:16] info:            7: 0x172f6f6 - netcore_load_reference
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/assembly.c:850:14              - mono_assembly_request_byname
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/assembly.c:2786:11
[19:58:16] info:            8: 0x17fa5bc - load_image
[19:58:16] info:                            at /__w/1/s/src/mono/mono/mini/aot-runtime.c:326:14
[19:58:16] info:            9: 0x17f93e7 - load_aot_module
[19:58:16] info:                            at /__w/1/s/src/mono/mono/mini/aot-runtime.c:2398:4
[19:58:16] info:           10: 0x173014f - mono_assembly_invoke_load_hook_internal
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/assembly.c:1080:4
[19:58:16] info:           11: 0x1730b70 - mono_assembly_request_load_from
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/assembly.c:2020:2
[19:58:16] info:           12: 0x172fea9 - mono_assembly_request_open
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/assembly.c:1625:8
[19:58:16] info:           13: 0x1731bfa - load_in_path
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/assembly.c:340:12              - mono_assembly_load_corlib
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/assembly.c:2694:13
[19:58:16] info:           14: 0x1728b29 - mono_init_internal
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/domain.c:150:20              - mono_init
[19:58:16] info:                            at /__w/1/s/src/mono/mono/metadata/domain.c:317:9
[19:58:16] info:           15: 0x17ef659 - mini_init
[19:58:16] info:                            at /__w/1/s/src/mono/mono/mini/mini-runtime.c:4841:11
[19:58:16] info:           16: 0x17f76d6 - mono_jit_init_version
[19:58:16] info:                            at /__w/1/s/src/mono/mono/mini/driver.c:2720:20
[19:58:16] info:           17: 0x4c709 - mono_wasm_load_runtime_common
[19:58:16] info:                            at /root/helix/work/correlation/build/microsoft.netcore.app.runtime.wasi-wasm/runtimes/wasi-wasm/native/src/runtime.c:342:11
[19:58:16] info:           18: 0x4bcf8 - mono_wasm_load_runtime
[19:58:16] info:                            at /root/helix/work/correlation/build/microsoft.netcore.app.runtime.wasi-wasm/runtimes/wasi-wasm/native/src/driver.c:277:16
[19:58:16] info:           19: 0x4f272 - initialize_runtime
[19:58:16] info:                            at /root/helix/work/correlation/build/microsoft.netcore.app.runtime.wasi-wasm/runtimes/wasi-wasm/native/src/main.c:56:2
[19:58:16] info:           20: 0x4f2fc - __main_argc_argv
[19:58:16] info:                            at /root/helix/work/correlation/build/microsoft.netcore.app.runtime.wasi-wasm/runtimes/wasi-wasm/native/src/main.c:74:19
[19:58:16] info:           21: 0x1827069 - dotnet.wasm!__main_void
[19:58:16] info:           22: 0x4b534 - _start
[19:58:16] info:                            at wasisdk://v25.0/build/sysroot/wasi-libc-wasm32-wasip2/libc-bottom-half/crt/crt1-command.c:43:13
[19:58:16] info:           23: 0x2cc0a83 - wit-component:adapter:wasi_snapshot_preview1!wasi:cli/[email protected]#run
[19:58:16] info:     2: memory fault at wasm address 0x7568633c in linear memory of size 0x3200000
[19:58:16] info:     3: wasm trap: out of bounds memory access
[19:58:16] info: Process wasmtime exited with 134

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1137474
Build error leg or test failing: WASI AOT

Error Message

{
  "ErrorMessage": ["memory fault at wasm address"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1137474
Error message validated: [memory fault at wasm address]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/3/2025 8:55:17 AM UTC

Report

Build Definition Test Pull Request
1137474 dotnet/runtime System.Collections.Specialized.Tests.WorkItemExecution #119253

Summary

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

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarch-wasmWebAssembly architecturearea-Codegen-AOT-monoos-wasiRelated to WASI variant of arch-wasm

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions