Wait to complete the test before releasing the agile reference.#112387
Merged
Conversation
Otherwise we can end up with a use-after-free
jkotas
approved these changes
Feb 11, 2025
AaronRobinsonMSFT
approved these changes
Feb 11, 2025
grendello
added a commit
to grendello/runtime
that referenced
this pull request
Feb 12, 2025
* main: [Android] Run CoreCLR functional tests on Android (dotnet#112283) [LoongArch64] Fix some assertion failures for Debug ILC building Debug NativeAOT testcases. (dotnet#112229) Fix suspicious code fragments (dotnet#112384) `__ComObject` doesn't support dynamic interface map (dotnet#112375) Native DLLs: only load imported DLLs from System32 (dotnet#112359) [main] Update dependencies from dotnet/roslyn (dotnet#112314) Update SVE instructions that writes to GC regs (dotnet#112389) Bring up android+coreclr windows build. (dotnet#112256) Never use heap for return buffers (dotnet#112060) Wait to complete the test before releasing the agile reference. (dotnet#112387) Prevent returning disposed HTTP/1.1 connections to the pool (dotnet#112383) Fingerprint dotnet.js if writing import map to html is enabled (dotnet#112407) Remove duplicate definition of CORECLR_HOSTING_API_LINKAGE (dotnet#112096) Update the exception message to reflect current behavior. (dotnet#112355) Use enum for frametype not v table (dotnet#112166) Enable AltJits build for LoongArch64 and RiscV64 (dotnet#110282) Guard members of MonoType union & fix related bugs (dotnet#111645) Add optional hooks for debugging OpenSSL memory allocations (dotnet#111539) JIT: Optimize struct parameter register accesses in the backend (dotnet#110819) NativeAOT: Cover more opcodes in type preinitializer (dotnet#112073)
Member
|
/backport to release/9.0 |
Contributor
|
Started backporting to |
Member
|
/backport to release/9.0-staging |
Contributor
|
Started backporting to |
Merged
4 tasks
AaronRobinsonMSFT
pushed a commit
that referenced
this pull request
Jun 16, 2026
…agile reference. (#129430) Backport of #112387 to release/9.0-staging /cc @AaronRobinsonMSFT @jkoritzinsky Closes #129421 ## Customer Impact - [ ] Customer reported - [x] Found internally This is flaky test issue that is impacting the 9.0 branch. It was fixed in 10, but missed 11. ## Regression - [ ] Yes - [x] No Flaky test. ## Testing This fix has been in 10 and 11 with no further issues. ## Risk Zero as it has no impact to the product. Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Otherwise we can end up with a use-after-free of the agile reference if the cleanup runs before the MTA thread calls Resolve.
I believe this fixes #112305 and fixes #112386