-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
dotnet/sdk
#52733Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-hot-reloadThis issue is related to the Hot Reload feaatureThis issue is related to the Hot Reload feaature
Milestone
Description
REGRESSION INFO: Works well on 11.0/9.0/8.0
INSTALL STEPS:
-
Clean Win11 x64 25h2 ENU
-
Install VS 18.4 Insiders 1
- Web workload
-
Install the .NET 11.0 Preview 1 SDK: https://aka.ms/dotnet/11.0.1xx-preview1/daily/dotnet-sdk-win-x64.exe
-
Add feed
Platform
- Windows
- macOS
- Linux
Repro Steps
- Open a normal Command Prompt
- Create a blazor webAssembly project
dotnet new blazor -int WebAssembly -o WASM -f net10.0 - Open this project with VS
- Ctrl + F5 to run the project
Actual Result
The project can't be load with error "Failed to start platform. Reason: RuntimeError: memory access out of bounds"
Note
-
This issue does not reproduce on
dotnet run -
This issue also reproduces on 10.0 Blazor Web (webassembly/Auto) app and wasm browser app with same error:
-
This issue also repro on 10.0 Blazor wasm Standalone project after installing 11.0 SDK

-
When F5 to run the project , will pop up an exception in VS:

Error: Failed to start platform. Reason: RuntimeError: memory access out of bounds StackTrace: at qt (https://localhost:7118/_framework/blazor.webassembly.66stpp682q.js:1:58420) -
The same issue #65034 but fixed on
11.0 Preview 1-26071.101
Error Log
dotnet.93hwfb1cdg.js:4 MONO_WASM: Failed to invoke 'onRuntimeReady' on library initializer '../_content/Microsoft.DotNet.HotReload.WebAssembly.Browser/Microsoft.DotNet.HotReload.WebAssembly.Browser.99zm1jdh75.lib.module.js': RuntimeError: memory access out of bounds
E @ dotnet.93hwfb1cdg.js:4
ye @ dotnet.93hwfb1cdg.js:4
await in ye
be @ dotnet.93hwfb1cdg.js:4
(anonymous) @ dotnet.93hwfb1cdg.js:4
await in (anonymous)
ct @ dotnet.93hwfb1cdg.js:4
await in ct
(anonymous) @ dotnet.93hwfb1cdg.js:4
create @ dotnet.93hwfb1cdg.js:4
(anonymous) @ blazor.web.2i0r6wwb69.js:1
await in (anonymous)
load @ blazor.web.2i0r6wwb69.js:1
(anonymous) @ blazor.web.2i0r6wwb69.js:1
await in (anonymous)
Kr @ blazor.web.2i0r6wwb69.js:1
startLoadingWebAssemblyIfNotStarted @ blazor.web.2i0r6wwb69.js:1
registerComponent @ blazor.web.2i0r6wwb69.js:1
li @ blazor.web.2i0r6wwb69.js:1
si @ blazor.web.2i0r6wwb69.js:1
ai @ blazor.web.2i0r6wwb69.js:1
si @ blazor.web.2i0r6wwb69.js:1
ai @ blazor.web.2i0r6wwb69.js:1
si @ blazor.web.2i0r6wwb69.js:1
ai @ blazor.web.2i0r6wwb69.js:1
si @ blazor.web.2i0r6wwb69.js:1
ai @ blazor.web.2i0r6wwb69.js:1
si @ blazor.web.2i0r6wwb69.js:1
ii @ blazor.web.2i0r6wwb69.js:1
(anonymous) @ blazor.web.2i0r6wwb69.js:1
write @ blazor.web.2i0r6wwb69.js:1
dotnet.93hwfb1cdg.js:4 MONO_WASM: memory access out of bounds
RuntimeError: memory access out of bounds
at dotnet.native.befq3iek54.wasm:0x10c971
at dotnet.native.befq3iek54.wasm:0x6307c
at dotnet.native.befq3iek54.wasm:0x62826
at dotnet.native.befq3iek54.wasm:0x66e26
at dotnet.native.befq3iek54.wasm:0x7315
at dotnet.native.befq3iek54.wasm:0x1f774
at dotnet.native.befq3iek54.wasm:0x1ca99
at dotnet.native.befq3iek54.wasm:0xebe8
at dotnet.native.befq3iek54.wasm:0x1d975
at dotnet.native.befq3iek54.wasm:0xf17d1
_ @ dotnet.93hwfb1cdg.js:4
(anonymous) @ dotnet.93hwfb1cdg.js:4
Xe @ dotnet.93hwfb1cdg.js:4
ye @ dotnet.93hwfb1cdg.js:4
await in ye
be @ dotnet.93hwfb1cdg.js:4
(anonymous) @ dotnet.93hwfb1cdg.js:4
await in (anonymous)
ct @ dotnet.93hwfb1cdg.js:4
await in ct
(anonymous) @ dotnet.93hwfb1cdg.js:4
create @ dotnet.93hwfb1cdg.js:4
(anonymous) @ blazor.web.2i0r6wwb69.js:1
await in (anonymous)
load @ blazor.web.2i0r6wwb69.js:1
(anonymous) @ blazor.web.2i0r6wwb69.js:1
await in (anonymous)
Kr @ blazor.web.2i0r6wwb69.js:1
startLoadingWebAssemblyIfNotStarted @ blazor.web.2i0r6wwb69.js:1
registerComponent @ blazor.web.2i0r6wwb69.js:1
li @ blazor.web.2i0r6wwb69.js:1
si @ blazor.web.2i0r6wwb69.js:1
ai @ blazor.web.2i0r6wwb69.js:1
si @ blazor.web.2i0r6wwb69.js:1
ai @ blazor.web.2i0r6wwb69.js:1
si @ blazor.web.2i0r6wwb69.js:1
ai @ blazor.web.2i0r6wwb69.js:1
si @ blazor.web.2i0r6wwb69.js:1
ai @ blazor.web.2i0r6wwb69.js:1
si @ blazor.web.2i0r6wwb69.js:1
ii @ blazor.web.2i0r6wwb69.js:1
(anonymous) @ blazor.web.2i0r6wwb69.js:1
write @ blazor.web.2i0r6wwb69.js:1
blazor.web.2i0r6wwb69.js:1 Uncaught (in promise) Error: Failed to start platform. Reason: RuntimeError: memory access out of bounds
at Vr (blazor.web.2i0r6wwb69.js:1:176136)
Vr @ blazor.web.2i0r6wwb69.js:1
await in Vr
Jr @ blazor.web.2i0r6wwb69.js:1
startWebAssemblyIfNotStarted @ blazor.web.2i0r6wwb69.js:1
resolveRendererIdForDescriptor @ blazor.web.2i0r6wwb69.js:1
determinePendingOperation @ blazor.web.2i0r6wwb69.js:1
refreshRootComponents @ blazor.web.2i0r6wwb69.js:1
(anonymous) @ blazor.web.2i0r6wwb69.js:1
blazor.web.2i0r6wwb69.js:1 Uncaught (in promise) RuntimeError: memory access out of boundsReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-hot-reloadThis issue is related to the Hot Reload feaatureThis issue is related to the Hot Reload feaature