Skip to content

CoreShutdownTests: cover a focused TextBox alive at core shutdown - #11680

Open
Abhijeet Jha (iamAbhi-916) wants to merge 2 commits into
mainfrom
user/abhijeetjha/coreshutdown-focused-textbox
Open

CoreShutdownTests: cover a focused TextBox alive at core shutdown#11680
Abhijeet Jha (iamAbhi-916) wants to merge 2 commits into
mainfrom
user/abhijeetjha/coreshutdown-focused-textbox

Conversation

@iamAbhi-916

Copy link
Copy Markdown
Contributor

Description:
Adds a regression test for the shutdown access violation in CInputServices::GetPrimaryRegisteredIslandInputSite reported in #11653 / #11654, which is already fixed at the root cause in main by 691c6a7 but is still live on the 1.7, 1.8 and 2.x release branches because the fix has not been serviced there yet.

CoreShutdownTests::FocusedTextBoxAtCoreShutdown leaves a focused TextBox in the tree across shutdown so the text core drops the final reference during CCoreServices::~CCoreServices, and faults with 0xC0000005 if m_inputServices is reset before the text core teardown.

…utdown

Covers the access violation in CInputServices::GetPrimaryRegisteredIslandInputSite
when a focused TextBox is still alive as CCoreServices::~CCoreServices deletes the
text core. Fixed in main by 691c6a7.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the needs-triage Issue needs to be triaged by the area owners label Aug 28, 2026
@iamAbhi-916
Abhijeet Jha (iamAbhi-916) marked this pull request as ready for review August 28, 2026 05:42
@iamAbhi-916
Abhijeet Jha (iamAbhi-916) requested a review from a team as a code owner August 28, 2026 05:42
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@iamAbhi-916

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-triage Issue needs to be triaged by the area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants