INVALID_POINTER_READ_c0000005_WindowsTerminal.exe!AppHost::_WindowInitializedHandler$_ResumeCoro$1 #20578

Closed
opened 2026-01-31 07:18:16 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (Sep 29, 2023).

Originally assigned to: @zadjii-msft on GitHub.

MSFT:46763065.

Failure ID 8ab19ec3-2532-a209-0ca4-5e6b9aa9133b

8.70% of our crashes in 1.19 so far.

Bug is here, on L1396.

4382a17352/src/cascadia/WindowsTerminal/AppHost.cpp (L1390-L1402)

Undoubtably, this is us not using a "weak ref". The app host got dtored during a Refrigerate, and so this is invalid on the other side of the co_await. Yikes.

Originally created by @zadjii-msft on GitHub (Sep 29, 2023). Originally assigned to: @zadjii-msft on GitHub. MSFT:46763065. Failure ID `8ab19ec3-2532-a209-0ca4-5e6b9aa9133b` 8.70% of our crashes in 1.19 so far. Bug is here, on L1396. https://github.com/microsoft/terminal/blob/4382a17352869bb1f33e020ac281d04aa15a8e8f/src/cascadia/WindowsTerminal/AppHost.cpp#L1390-L1402 Undoubtably, this is us not using a "weak ref". The app host got dtored during a `Refrigerate`, and so `this` is invalid on the other side of the `co_await`. Yikes.
claunia added the Issue-BugIn-PRNeeds-Tag-FixProduct-TerminalArea-Windowing labels 2026-01-31 07:18:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20578