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
Collectible AssemblyLoadContexts are not supported by WebAssembly #34072
When running the following CoreCLR tests on the Mono runtime from the dotnet\runtime repo, we get the error :
System.ExecutionEngineException: Collectible AssemblyLoadContexts are not yet supported by MonoVM
at System.Runtime.Loader.AssemblyLoadContext.InitializeAssemblyLoadContext(IntPtr thisHandlePtr, Boolean representsTPALoadContext, Boolean isCollectible) in /Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.Mono.cs:line 23
at System.Runtime.Loader.AssemblyLoadContext..ctor(Boolean representsTPALoadContext, Boolean isCollectible, String name) in /Users/samarthpatel/Documents/DotNetRunTime/runtime/src/libraries/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.cs:line 94
at System.Runtime.Loader.AssemblyLoadContext..ctor(Boolean isCollectible) in
Repro : Command to run individual tests : From the dotnet\runtime repo src\mono\netcore run this command - make run-tests-coreclr CoreClrTest="bash ../../artifacts/tests/coreclr/OSX.x64.Debug/Interop/ICustomMarshaler/ConflictingNames/MultipleALCs/MultipleALCs.sh"
changed the title [-]Collectible AssemblyLoadContexts are not supported by MonoVM [/-][+]Collectible AssemblyLoadContexts are not supported by WebAssembly[/+]on Apr 22, 2026
Activity
CoffeeFlux commentedon Jan 28, 2021
Using this as the new tracking issue for both the runtime and libraries tests.
SamMonoRT commentedon Jun 23, 2021
This is not going to fit in for .NET6. Moving to 7.0.0 - Opportunistically might get to some cleanup work earlier.
10 remaining items
Updated mono/mono#15142 to dotnet#34072
[main] Fix LoaderAllocator computation for a generic type instance (#…
srxqds commentedon Mar 8, 2025
Any progress and plan about it?
[-]Collectible AssemblyLoadContexts are not supported by MonoVM [/-][+]Collectible AssemblyLoadContexts are not supported by WebAssembly[/+]dotnet-policy-service commentedon Apr 22, 2026
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.
test(hotreload): guard collectible-ALC agent teardown
fix(hotreload): release collectible-ALC state when the owning context…
test(hotreload): guard collectible-ALC agent teardown
fix(hotreload): release collectible-ALC state when the owning context…
test(hotreload): guard collectible-ALC agent teardown