Skip to content

[release/7.0] Free LOADERHANDLEDispatchMemberInfo dtor - #77570

Merged
carlossanlop merged 1 commit into
release/7.0from
backport/pr-77554-to-release/7.0
Nov 3, 2022
Merged

[release/7.0] Free LOADERHANDLEDispatchMemberInfo dtor#77570
carlossanlop merged 1 commit into
release/7.0from
backport/pr-77554-to-release/7.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Oct 27, 2022

Copy link
Copy Markdown
Contributor

Backport of #77554 to release/7.0

/cc @AaronRobinsonMSFT

Customer Impact

This is a customer reported issue - #76350. The leak was introduced in .NET Core 3.1 and has gone unreported since then. This is specifically for the IReflect scenario, which is mostly related to class IDispatch COM interop scenarios.

Although this impacts previous .NET runtimes, the OP has created a workaround and is not specifically asking for fixes prior to .NET 7.

Testing

Manually validated the user scenario and made the surrounding code easier to reason about. Validation was done using the Visual Studio Diagnostic tools for memory allocations.

Risk

Limited. This is for a relatively uncommon .NET Core scenario. The issue has existed since .NET Core 3.1 without being reported and the fix is scoped to only impact that particular scenario.

This is a regression from NETFX with the introduction
of collectable assemblies in .NET Core 3.1 (dotnet/coreclr#20919).
@ghostghost added the area-VM-coreclr label Oct 27, 2022
@AaronRobinsonMSFTAaronRobinsonMSFT added the Servicing-consider Issue for next servicing release review label Oct 27, 2022
@AaronRobinsonMSFTAaronRobinsonMSFT added this to the 7.0.x milestone Oct 27, 2022

@jeffschwMSFTjeffschwMSFT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved. please get a code review and we will take for consideration in 7.0.x

@jeffschwMSFTjeffschwMSFT added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Nov 1, 2022
@jeffschwMSFTjeffschwMSFT modified the milestones: 7.0.x, 7.0.1Nov 1, 2022
@carlossanlop

Copy link
Copy Markdown
Contributor

Approved by Tactics. Signed off. No OOB package authoring changes needed.
The 4 CI failures were some JIT tests, 2 of which got dead-lettered, and 2 finished successfully, yet were reported as failed. I'm re-running the leg. Once it's done, if nothing concerning arises, I'll merge.

@carlossanlop

Copy link
Copy Markdown
Contributor

CI green.

@carlossanlop
carlossanlop merged commit 4ecef5f into release/7.0Nov 3, 2022
@carlossanlop
carlossanlop deleted the backport/pr-77554-to-release/7.0 branch November 3, 2022 21:25
@ghostghost locked as resolved and limited conversation to collaborators Dec 4, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-VM-coreclrServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@carlossanlop@jeffschwMSFT@janvorli@AaronRobinsonMSFT