Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Sep 25, 2025

Backport of #120066 to release/10.0

/cc @AaronRobinsonMSFT

Customer Impact

  • Customer reported
  • Found internally

This is a customer reported issue in collectible ALCs. The memory within the runtime itself is freed, but on Windows the associated file lock due to LoadLibrary() remains. The result is the process itself has "freed" all associated resources but the OS still believes the process is using the DLL and thus retains a lock. The OP supplied repro demostrates this by attempting to and failing to delete the file from disk after the ALC is confirmed "collected".

Regression

  • Yes
  • No

This was the result of a large rewrite in #107224.

Testing

A test was added for this issue.

Risk

Low.

@AaronRobinsonMSFT AaronRobinsonMSFT added this to the 10.0.0 milestone Sep 25, 2025
@AaronRobinsonMSFT AaronRobinsonMSFT added the Servicing-consider Issue for next servicing release review label Sep 25, 2025
@AaronRobinsonMSFT AaronRobinsonMSFT requested review from agocke, elinor-fung and jkotas and removed request for elinor-fung September 25, 2025 23:17
@steveisok steveisok added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 26, 2025
@steveisok steveisok enabled auto-merge (squash) September 26, 2025 16:07
@steveisok steveisok merged commit 4c588fe into release/10.0 Sep 26, 2025
110 of 113 checks passed
@steveisok steveisok deleted the backport/pr-120066-to-release/10.0 branch September 26, 2025 16:07
@github-actions github-actions bot locked and limited conversation to collaborators Oct 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants