Windows terminal randomly hangs, possibly related to RDP #20529

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

Originally created by @hb9tst on GitHub (Sep 22, 2023).

Windows Terminal version

1.17.11461.0

Windows build number

10.0.19045.3448

Other Software

No response

Steps to reproduce

The issue could not be deterministically reproduced, however, it seems do be related to RDP disconnect or connect. I generally notice it either when connecting over RDP, or when connecting back to the local console.

Expected Behavior

No response

Actual Behavior

Windows Terminal is completely unresponsive, and uses 100% of a single CPU core.

Inspection of the threads reveals that one thread of WT is stuck at WindowsTerminal.exe+0xf9d0.

procexp

Not sure if this bug relates to #14483, which might also be RDP related, but does not appear to be stuck in the same code.

Originally created by @hb9tst on GitHub (Sep 22, 2023). ### Windows Terminal version 1.17.11461.0 ### Windows build number 10.0.19045.3448 ### Other Software _No response_ ### Steps to reproduce The issue could not be deterministically reproduced, however, it seems do be related to RDP disconnect or connect. I generally notice it either when connecting over RDP, or when connecting back to the local console. ### Expected Behavior _No response_ ### Actual Behavior Windows Terminal is completely unresponsive, and uses 100% of a single CPU core. Inspection of the threads reveals that one thread of WT is stuck at WindowsTerminal.exe+0xf9d0. <img width="472" alt="procexp" src="https://github.com/microsoft/terminal/assets/30394208/dd43b7de-69b1-47b9-88e6-a9d57f66843e"> Not sure if this bug relates to #14483, which might also be RDP related, but does not appear to be stuck in the same code.
claunia added the Resolution-Fix-AvailableNeeds-TriageIssue-BugNeeds-Attention labels 2026-01-31 07:16:38 +00:00
Author
Owner

@hb9tst commented on GitHub (Sep 22, 2023):

Probably also relevant: after killing Windows Terminal, the console (or RDP session) becomes totally unresponsive, with no screen updates, no reaction to Ctrl+Alt+Delete, and after some keypresses/mouse moves, beeps at every event (keypress or mouse move), like "input buffer full". It then becomes again responsive after some time (one minute maybe).

@hb9tst commented on GitHub (Sep 22, 2023): Probably also relevant: after killing Windows Terminal, the console (or RDP session) becomes totally unresponsive, with no screen updates, no reaction to Ctrl+Alt+Delete, and after some keypresses/mouse moves, beeps at every event (keypress or mouse move), like "input buffer full". It then becomes again responsive after some time (one minute maybe).
Author
Owner

@zadjii-msft commented on GitHub (Sep 22, 2023):

Does this repro in Terminal Preview v1.18/? There's a hang that I'm thinking of that I believe was related to the renderer, and that should be fixed in 1.18's version of the Atlas engine.

If it isn't, when the Terminal is frozen like this, could you grab a dump with Task Manager and send it to us?

image

For more details, see: https://github.com/microsoft/terminal/wiki/Toubleshooting-Tips#capturing-and-sending-dumps

@zadjii-msft commented on GitHub (Sep 22, 2023): Does this repro in [Terminal Preview v1.18](https://aka.ms/terminal-preview)/? There's a hang that I'm thinking of that I believe was related to the renderer, and that should be fixed in 1.18's version of the Atlas engine. If it isn't, when the Terminal is frozen like this, could you grab a dump with Task Manager and send it to us? ![image](https://user-images.githubusercontent.com/18356694/135876584-e48514d6-26c0-49da-ae28-b8c5d66dc2a3.png) For more details, see: https://github.com/microsoft/terminal/wiki/Toubleshooting-Tips#capturing-and-sending-dumps
Author
Owner

@hb9tst commented on GitHub (Sep 26, 2023):

Trying v1.18 preview since 4 days, to date it never froze. I'll follow up with a dump if anything happens.

@hb9tst commented on GitHub (Sep 26, 2023): Trying v1.18 preview since 4 days, to date it never froze. I'll follow up with a dump if anything happens.
Author
Owner

@hb9tst commented on GitHub (Oct 2, 2023):

Updated to 1.18.2681.0 release, with AtlasEngine enabled, and I didn't observe any issues since. Not sure what would happen if I disable the AtlasEngine renderer, would this be a test to do?

@hb9tst commented on GitHub (Oct 2, 2023): Updated to 1.18.2681.0 release, with AtlasEngine enabled, and I didn't observe any issues since. Not sure what would happen if I disable the AtlasEngine renderer, would this be a test to do?
Author
Owner

@zadjii-msft commented on GitHub (Oct 2, 2023):

Honestly probably not. We are probably going to deprecate the old renderer at some point, so if it works in Atlas, then I'm just gonna call this one fixed. Thanks for following up!

@zadjii-msft commented on GitHub (Oct 2, 2023): Honestly probably not. We are probably going to deprecate the old renderer at some point, so if it works in Atlas, then I'm just gonna call this one fixed. Thanks for following up!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20529