Skip to content
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

Open
SamMonoRT opened this issue Mar 25, 2020 · 3 comments
Open

Collectible AssemblyLoadContexts are not supported by MonoVM #34072

SamMonoRT opened this issue Mar 25, 2020 · 3 comments
Assignees
Labels
area-AssemblyLoader-mono runtime-mono specific to the Mono runtime
Milestone

Comments

@SamMonoRT
Copy link
Member

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 :

  1. Interop/ICustomMarshaler/ConflictingNames/MultipleALCs/MultipleALCs.sh
  2. Loader/ContextualReflection/ContextualReflection/ContextualReflection.sh

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"

@SamMonoRT SamMonoRT added the runtime-mono specific to the Mono runtime label Mar 25, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.Runtime untriaged New issue has not been triaged by the area owner labels Mar 25, 2020
@CoffeeFlux 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
@lambdageek lambdageek added this to the 5.0.0 milestone Jun 22, 2020
@CoffeeFlux CoffeeFlux modified the milestones: 5.0.0, 6.0.0 Jul 14, 2020
@CoffeeFlux
Copy link
Contributor

Using this as the new tracking issue for both the runtime and libraries tests.

@SamMonoRT
Copy link
Member Author

This is not going to fit in for .NET6. Moving to 7.0.0 - Opportunistically might get to some cleanup work earlier.

@SamMonoRT SamMonoRT modified the milestones: 6.0.0, 7.0.0 Jun 23, 2021
@srxqds
Copy link
Contributor

srxqds commented Jun 23, 2021

hope, you can keep the focus on it.

@SamMonoRT SamMonoRT modified the milestones: 8.0.0, 9.0.0 Jul 25, 2023
@jkotas 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
@SamMonoRT SamMonoRT assigned ivanpovazan and unassigned jandupej Oct 25, 2023
@ivanpovazan ivanpovazan modified the milestones: 9.0.0, Future Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-AssemblyLoader-mono runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

7 participants