Skip to content

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

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

Open
carlossanlop opened this issue Jan 13, 2025 · 2 comments
Open

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

carlossanlop opened this issue Jan 13, 2025 · 2 comments
Labels
arch-wasm WebAssembly architecture area-System.IO area-VM-threading-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' runtime-mono specific to the Mono runtime
Milestone

Comments

@carlossanlop
Copy link
Contributor

carlossanlop commented Jan 13, 2025

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
1040039 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Serialization.Xml.ReflectionOnly.Tests.WorkItemExecution #114218
1039973 dotnet/runtime WasmTestOnFirefox-MT-System.Private.Xml.Tests.WorkItemExecution
1039606 dotnet/runtime WasmTestOnFirefox-MT-System.Linq.Parallel.Tests.WorkItemExecution
1036218 dotnet/runtime WasmTestOnFirefox-MT-System.CodeDom.Tests.WorkItemExecution
1028775 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Tests.WorkItemExecution #114702
1027292 dotnet/runtime WasmTestOnFirefox-MT-System.IO.FileSystem.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 6
@carlossanlop carlossanlop added arch-wasm WebAssembly architecture blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab runtime-mono specific to the Mono runtime labels Jan 13, 2025
@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jan 13, 2025
Copy link
Contributor

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

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jan 13, 2025
Copy link
Contributor

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

@vcsjones vcsjones removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jan 17, 2025
@lewing lewing added this to the Future milestone Feb 3, 2025
@lewing lewing added area-VM-threading-mono and removed Known Build Error Use this to report build issues in the .NET Helix tab untriaged New issue has not been triaged by the area owner labels Feb 3, 2025
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-System.IO area-VM-threading-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

4 participants