Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AssemblyList throws LockRecursionException #627

Copy link
Copy link
@Cronan

Description

@Cronan
Issue body actions

Environment

  • Pythonnet version: djoyce82's core_clr candidate
  • Python version: 2.7
  • Operating System: Red Hat Linux

Details

Use Nuget to obtain the System.Configuration.ConfigurationManager package:

<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.1" />

then:

    from System.Configuration import ConfigurationManager

The code then throws a LockRecursionException in AssemblyList.GetEnumerator(), caused by EnterReadLock() when another lock is already held.

This is probably caused by the fact that System.Configuration and System.Configuration.ConfigurationManager are both assemblies that need to be loaded, and there is a race condition between the AssemblyLoadHandler, the ResolveHandler, LookupType and FindLoadedAssembly.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.