-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Collectible AssemblyLoadContexts are not supported by MonoVM #34072
Labels
Milestone
Comments
Dotnet-GitSync-Bot
added
area-System.Runtime
untriaged
New issue has not been triaged by the area owner
labels
Mar 25, 2020
CoffeeFlux
added
area-AssemblyLoader-mono
and removed
area-System.Runtime
untriaged
New issue has not been triaged by the area owner
labels
Mar 25, 2020
This was referenced Jan 28, 2021
Using this as the new tracking issue for both the runtime and libraries tests. |
This is not going to fit in for .NET6. Moving to 7.0.0 - Opportunistically might get to some cleanup work earlier. |
hope, you can keep the focus on it. |
11 tasks
jkotas
changed the title
CoreCLR tests on Mono runtime : Collectible AssemblyLoadContexts are not yet supported by MonoVM
Collectible AssemblyLoadContexts are not supported by MonoVM
Sep 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Tests failing with this issue :
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"
The text was updated successfully, but these errors were encountered: