Skip to content

EF Core 8 lazy-loading proxy caused nondeterministic CLR hang, root cause and resolution #37035

@perspectmc

Description

@perspectmc

Question

This isn’t a question, it’s a documentation post describing a resolved issue encountered during a .NET 8 EF Core migration. Posting here so others can find it if they encounter similar nondeterministic hangs or CLR stalls.

clr_corruption_case_study.md

Your code

Stack traces


Verbose output


EF Core version

8.0.4

Database provider

No response

Target framework

.NET 8.0

Operating system

macOS 26.1

IDE

Visual Studio Code 1.105.1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions