You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[wasm] [MONO] * Assertion at /__w/1/s/src/runtime/src/mono/mono/metadata/appdomain.c:188, condition `<disabled>' not met #121840
We have a large WASM Project, and try to activate AOT compilation.
During startup we receive at the browser console:
dotnet.runtime.o0qy896u8v.js:3 [MONO] * Assertion at /__w/1/s/src/runtime/src/mono/mono/metadata/appdomain.c:188, condition `<disabled>' not met
Error
at Mc (dotnet.runtime.o0qy896u8v.js:3:172283)
at dotnet.native.wasm.wasm_trace_logger (dotnet.native.902gcw54ur.wasm:0x2a3fe83)
at dotnet.native.wasm.eglib_log_adapter (dotnet.native.902gcw54ur.wasm:0x285cdd8)
at dotnet.native.wasm.monoeg_g_logv_nofree (dotnet.native.902gcw54ur.wasm:0x285af0a)
at dotnet.native.wasm.monoeg_assertion_message (dotnet.native.902gcw54ur.wasm:0x285b03d)
at dotnet.native.wasm.mono_assertion_message (dotnet.native.902gcw54ur.wasm:0x285b084)
at dotnet.native.wasm.mono_assertion_message_disabled (dotnet.native.902gcw54ur.wasm:0x285b055)
at dotnet.native.wasm.mono_runtime_init_checked (dotnet.native.902gcw54ur.wasm:0x287ecf2)
at dotnet.native.wasm.mini_init (dotnet.native.902gcw54ur.wasm:0x28fae99)
at dotnet.native.wasm.mono_jit_init_version (dotnet.native.902gcw54ur.wasm:0x29015d0)
Mc @ dotnet.runtime.o0qy896u8v.js:3
dotnet.runtime.o0qy896u8v.js:3 MONO_WASM: mono_wasm_load_runtime () failed [object Object]
dotnet.js:4 Uncaught (in promise)
ExitStatus
dotnet.runtime.o0qy896u8v.js:3 Uncaught (in promise)
ExitStatus
dotnet.runtime.o0qy896u8v.js:3 Uncaught (in promise)
ExitStatus
blazor.webassembly.j…cb39c8d391f6d4623:1 Uncaught (in promise) Error: Failed to start platform. Reason: [object Object]
at qt (blazor.webassembly.j…d391f6d4623:1:58420)
We tried several properties in the csproj but the error is always the same:
Can you provide more information about your project (e.g., framework version, build configuration)? Ideally, can you reproduce the problem in a minimal project that you can share on GitHub?
@softwaretirol If you look at the assertion in the source code, you can see you are hitting an "out of memory" error. However, without more information we cannot diagnose your problem further.
I have been struggling with what seems to be the same, or at least a related, issue. I have now spent 3 days trying different combinations of settings in the .csproj and I always end up with one of the following errors. I created a new ticket for my issue, in case they are not actually related: #121849
This issue has been automatically marked no-recent-activity because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove no-recent-activity.
This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.
Activity
dotnet-policy-service commentedon Nov 20, 2025
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Nov 20, 2025
Tagging subscribers to this area: @steveisok, @vitek-karas
See info in area-owners.md if you want to be subscribed.
oroztocil commentedon Nov 20, 2025
@softwaretirol Thank you for contacting us.
Can you provide more information about your project (e.g., framework version, build configuration)? Ideally, can you reproduce the problem in a minimal project that you can share on GitHub?
dotnet-policy-service commentedon Nov 20, 2025
This issue has been marked
needs-author-actionand may be missing some important information.oroztocil commentedon Nov 20, 2025
@softwaretirol If you look at the assertion in the source code, you can see you are hitting an "out of memory" error. However, without more information we cannot diagnose your problem further.
rodolfograve commentedon Nov 20, 2025
I have been struggling with what seems to be the same, or at least a related, issue. I have now spent 3 days trying different combinations of settings in the .csproj and I always end up with one of the following errors. I created a new ticket for my issue, in case they are not actually related: #121849
dotnet-policy-service commentedon Dec 5, 2025
This issue has been automatically marked
no-recent-activitybecause it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will removeno-recent-activity.dotnet-policy-service commentedon Dec 19, 2025
This issue will now be closed since it had been marked
no-recent-activitybut received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.