Skip to content

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

Open

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

Summary

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

Activity

  1. added
    arch-wasmWebAssembly architecture
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    runtime-monospecific to the Mono runtime
    on Jan 13, 2025
  2. ghost added
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Jan 13, 2025
  3. dotnet-policy-service commented on Jan 13, 2025

    @dotnet-policy-service
    Contributor

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

  4. dotnet-policy-service commented on Jan 14, 2025

    @dotnet-policy-service
    Contributor

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

  5. removed
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Jan 17, 2025
  6. added this to the Future milestone on Feb 3, 2025
  7. added and removed
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    untriagedNew issue has not been triaged by the area owner
    on Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions