Skip to content

[9.0][wasm] MONO_WASM: unaligned memory access #111369

Open
@carlossanlop

Description

@carlossanlop

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=904846
Build error leg or test failing: WasmTestOnFirefox-MT-System.IO.FileSystem.Tests.WorkItemExecution
Pull request: #110992

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "MONO_WASM: unaligned memory access",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
[06:42:14] info: [PASS] System.IO.Tests.FileInfo_OpenText.OutputIsTheSameAsForStreamWriter_Overwrite
[06:42:14] info: [STRT] System.IO.Tests.FileInfo_OpenText.OutputIsTheSameAsForStreamWriter_Overwrite(content: "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"···, encoding: UnicodeEncoding { BodyName = "utf-16", CodePage = 1200, DecoderFallback = DecoderReplacementFallback { DefaultString = "�", MaxCharCount = 1 }, EncoderFallback = EncoderReplacementFallback { DefaultString = "�", MaxCharCount = 1 }, EncodingName = "Unicode", ··· })
[06:42:14] info: [PASS] System.IO.Tests.FileInfo_OpenText.OutputIsTheSameAsForStreamWriter_Overwrite
[06:42:14] info: [STRT] System.IO.Tests.FileInfo_OpenText.OutputIsTheSameAsForStreamWriter_Overwrite(content: null, encoding: UTF8Encoding { BodyName = "utf-8", CodePage = 65001, DecoderFallback = DecoderReplacementFallback { DefaultString = "�", MaxCharCount = 1 }, EncoderFallback = EncoderReplacementFallback { DefaultString = "�", MaxCharCount = 1 }, EncodingName = "Unicode (UTF-8)", ··· })
[06:42:14] fail: [0x000fba88--UI- 06:42:14.812] MONO_WASM: Unhandled error: RuntimeError: unaligned memory access
[06:42:14] info: [0x000fba88--UI- 06:42:14.813] MONO_WASM: Dumping web worker info as seen by UI thread, it could be stale:
[06:42:14] info: 000 | 0x000fba88--UI-: isRunning: true isAttached: true isEventLoop:false reuseCount:  0 - UI Thread
[06:42:14] info: 001 | 0x01c449c0-dpty: isRunning: true isAttached: true isEventLoop:false reuseCount:  1 -
[06:42:14] info: 002 | 0x0358c598--IO-: isRunning: true isAttached: true isEventLoop:false reuseCount:  1 -
[06:42:14] info: 003 | 0x03a94850-norm: isRunning: true isAttached: true isEventLoop:false reuseCount:  1 - Finalizer
[06:42:14] info: 005 | 0x047c8030-gate: isRunning: true isAttached: true isEventLoop:false reuseCount:  1 - .NET TP Gate
[06:42:14] info: 011 | 0x041a3310-pool: isRunning: true isAttached: true isEventLoop:false reuseCount:  1 - .NET TP Worker
[06:42:14] info: 006 | 0x09d10030-pool: isRunning: true isAttached: true isEventLoop:false reuseCount:  4 - .NET TP Worker
[06:42:14] info: 008 | 0x07ce0000-pool: isRunning: true isAttached: true isEventLoop:false reuseCount:  3 - .NET TP Worker
[06:42:14] info: 004 | --041a3310-emsc: isRunning:false isAttached:false isEventLoop:false reuseCount:  2 - unregistered:(.NET TP Worker)
[06:42:14] info: 010 | --096002b0-emsc: isRunning:false isAttached:false isEventLoop:false reuseCount:  1 - unregistered:(.NET TP Worker)
[06:42:14] info: 007 | --07ace068-emsc: isRunning:false isAttached:false isEventLoop:false reuseCount:  2 - unregistered:(.NET TP Worker)
[06:42:14] info: 009 | --09d10030-emsc: isRunning:false isAttached:false isEventLoop:false reuseCount:  1 - unregistered:(.NET TP Worker)
[06:42:14] fail: [0x000fba88--UI- 06:42:14.837] MONO_WASM: unaligned memory access
                 @_emscripten_check_mailbox (http://127.0.0.1:45611/_framework/dotnet.native.wasm:wasm-function[8601]:0x2245ce
                 @http://127.0.0.1:45611/_framework/dotnet.native.wasm:wasm-function[8717]:0x2294ed
                 @http://127.0.0.1:45611/_framework/dotnet.native.wasm:wasm-function[8710]:0x228f63
                 @http://127.0.0.1:45611/_framework/dotnet.native.wasm:wasm-function[8699]:0x22830d
                 @http://127.0.0.1:45611/_framework/dotnet.native.wasm:wasm-function[8696]:0x22829f
                 @http://127.0.0.1:45611/_framework/dotnet.native.wasm:wasm-function[8681]:0x227c36
                 @http://127.0.0.1:45611/_framework/dotnet.native.wasm:wasm-function[8687]:0x227e22
                 @http://127.0.0.1:45611/_framework/dotnet.native.wasm:wasm-function[8681]:0x227c36
                 @http://127.0.0.1:45611/_framework/dotnet.native.wasm:wasm-function[8825]:0x22fc92)
                 callUserCallback@http://127.0.0.1:45611/_framework/dotnet.native.js:8:98666
                 checkMailbox@http://127.0.0.1:45611/_framework/dotnet.native.js:8:99213
                 createDotnetRuntime/loadWasmModuleToWorker/createDotnetRuntime</worker.onmessage@http://127.0.0.1:45611/_framework/dotnet.native.js:8:17067
[06:42:14] info: WASM EXIT 1
[06:42:14] info: Waiting to flush log messages with a timeout of 120 secs ..
[06:42:14] fail: Application has finished with exit code TESTS_FAILED but 0 was expected
[06:42:15] info: Closing 1 browser tabs before setting the main tab to config page and quitting.
1735713735133	Marionette	INFO	Stopped listening on port 46861
XHarness exit code: 71 (GENERAL_FAILURE)
/root/helix/work/workitem/e /root/helix/work/workitem/e
----- end Wed Jan 1 06:42:15 AM UTC 2025 ----- exit code 71 ----------------------------------------------------------

Known issue validation

Build: 🔎
Result validation: ⚠️ Provided build not found. Provide a valid build in the "Build: 🔎" line.
Validation performed at: 1/13/2025 8:02:38 PM UTC

Report

Build Definition Test Pull Request
1028775 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Tests.WorkItemExecution #114702
1027292 dotnet/runtime WasmTestOnFirefox-MT-System.IO.FileSystem.Tests.WorkItemExecution
1007899 dotnet/runtime WasmTestOnFirefox-MT-System.Text.Json.Tests.WorkItemExecution #114299
1005510 dotnet/runtime WasmTestOnFirefox-MT-System.IO.FileSystem.Tests.WorkItemExecution #114119
1004331 dotnet/runtime WasmTestOnFirefox-MT-System.IO.FileSystem.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 2 5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions