Skip to content

Bug: IObjectReference crashes GC collection on 25H2 ARM64 #2211

@dongle-the-gadget

Description

@dongle-the-gadget

Description

IObjectReference.Release causes a SEHException/ExecutionEngineException/access violation on 25H2 ARM64 during GC collection, on both CoreCLR and NativeAOT. The bug does not reproduce on Windows 10 ARM64, nor does Windows 11 25H2 x64.

Steps To Reproduce

Not a minimal repo, but the app is at https://github.com/ahmed605/MrmTool

  1. Clone the repo and run the MrmTool project
  2. Open a PRI file (i.e. the resources.pri file from MrmTool's build output) from MrmTool
  3. Open a file from the tree view
  4. Click on a candidate at the top right
  5. Repeat step 3 and 4 until the app crashes

TTD run file: https://dongleave.blob.core.windows.net/mrmtool01-run/MrmTool01.zip

Expected Behavior

The application should not crash.

Version Info

CsWinRT 2.3.0-prerelease.251115.2
.NET 10
Windows 11 25H2 (version 26300.7674, 26200.7623 also affected) ARM64

Additional Context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions