Sometimes the entire app freezes partway #23597

Open
opened 2026-01-31 08:46:49 +00:00 by claunia · 9 comments
Owner

Originally created by @grawity on GitHub (Sep 9, 2025).

Windows Terminal version

1.23.12371.0

Windows build number

10.0.26100.5074

Other Software

No response

Steps to reproduce

Upgrade to specified version. Not sure of exact reproduction steps. But a 95% similar situation seems to be always reproducible by:

  1. Open the first window.
  2. Close the first window. Note that WindowsTerminal.exe remains running.
  3. Open the app again, creating the second window.
  4. Hit Ctrl-Shift-N to create the third window.
  5. Close the second window.
  6. The third window becomes partially unresponsive - not quite the same way as I've encountered "normally", as the actual 'terminal' area still remains responsive when doing these steps, but otherwise the same symptoms apply (titlebar stops redrawing, Ctrl-Shift-N opens completely blank windows, etc).

Expected Behavior

It shouldn't do that.

Actual Behavior

At seemingly random times, the terminal window freezes. More precisely, it stops redrawing, but Windows doesn't consider it frozen (e.g. the , and it actually still reacts to input:

  • I can still drag windows by their titlebar, resize them (but the contents don't redraw), and click where the 'Close' button ought to be (and the window closes, but WindowsTerminal.exe does not exit),
  • I can tear out tabs blindly, but the torn-off window remains blank (only background color),
  • pressing e.g. Ctrl-Shift-N (the "open a new window" hotkey) indeed opens a new window (but that window only draws the background color (+ border) and nothing else, it does not fork a powershell.exe process).
Originally created by @grawity on GitHub (Sep 9, 2025). ### Windows Terminal version 1.23.12371.0 ### Windows build number 10.0.26100.5074 ### Other Software _No response_ ### Steps to reproduce Upgrade to specified version. Not sure of exact reproduction steps. But a 95% similar situation seems to be always reproducible by: 1. Open the first window. 2. Close the first window. Note that WindowsTerminal.exe remains running. 3. Open the app again, creating the second window. 4. Hit Ctrl-Shift-N to create the third window. 5. Close the _second_ window. 6. The third window becomes partially unresponsive - not quite the same way as I've encountered "normally", as the actual 'terminal' area still remains responsive when doing these steps, but otherwise the same symptoms apply (titlebar stops redrawing, Ctrl-Shift-N opens completely blank windows, etc). ### Expected Behavior It shouldn't do that. ### Actual Behavior At seemingly random times, the terminal window freezes. More precisely, it stops redrawing, but Windows doesn't consider it frozen (e.g. the , and it actually still reacts to input: - I can still drag windows by their titlebar, resize them (but the contents don't redraw), and click where the 'Close' button ought to be (and the window closes, but WindowsTerminal.exe does not exit), - I can tear out tabs blindly, but the torn-off window remains blank (only background color), - pressing e.g. Ctrl-Shift-N (the "open a new window" hotkey) indeed opens a new window (but that window only draws the background color (+ border) and nothing else, it does not fork a powershell.exe process).
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:46:49 +00:00
Author
Owner

@DHowett commented on GitHub (Sep 9, 2025):

We made a couple more changes that we think might impact--or even fix!--this after shipping 1.23; would you be able to try our Canary build/?

@DHowett commented on GitHub (Sep 9, 2025): We made a couple more changes that we think might impact--or even fix!--this after shipping 1.23; would you be able to try [our Canary build](https://github.com/microsoft/terminal/discussions/16121)/?
Author
Owner

@grawity commented on GitHub (Sep 9, 2025):

We made a couple more changes that we think might impact--or even fix!--this after shipping 1.23; would you be able to try our Canary build/?

So far it seems to be working well, can't reproduce the same hang manually. Will try using it for a bit longer

@grawity commented on GitHub (Sep 9, 2025): > We made a couple more changes that we think might impact--or even fix!--this after shipping 1.23; would you be able to try [our Canary build](https://github.com/microsoft/terminal/discussions/16121)/? So far it seems to be working well, can't reproduce the same hang manually. Will try using it for a bit longer
Author
Owner

@grawity commented on GitHub (Sep 10, 2025):

We made a couple more changes that we think might impact--or even fix!--this after shipping 1.23; would you be able to try our Canary build/?

So far it seems to be working well, can't reproduce the same hang manually. Will try using it for a bit longer

So far didn't reproduce the same hang on Canary.

On the other hand, managed to outright crash it several times by running mtr (OpenConsole.exe crashes but pwsh.exe/ssh.exe remain)

@grawity commented on GitHub (Sep 10, 2025): > > We made a couple more changes that we think might impact--or even fix!--this after shipping 1.23; would you be able to try [our Canary build](https://github.com/microsoft/terminal/discussions/16121)/? > > So far it seems to be working well, can't reproduce the same hang manually. Will try using it for a bit longer So far didn't reproduce the same hang on Canary. On the other hand, managed to outright crash it several times by running `mtr` (OpenConsole.exe crashes but pwsh.exe/ssh.exe remain)
Author
Owner

@DHowett commented on GitHub (Sep 10, 2025):

@lhecker I wonder if that's the same as #19325? mtr seems like it might use the ASB

@DHowett commented on GitHub (Sep 10, 2025): @lhecker I wonder if that's the same as #19325? `mtr` seems like it might use the ASB
Author
Owner

@mackcoding commented on GitHub (Sep 30, 2025):

Ever since an update to Windows Terminal recently, I randomly get this:

Image

I can't move the window, close it, or interact with it. I'm not sure if it's the same issue as OP. When it initially updated, I couldn't run Terminal at all - had to reinstall using powershell. But now I get this randomly. I just launched a work project from visual studio, which is a console app, and this is what I get.

This also freezes all of my open terminal windows and I have to force close them to get it to work again.

@mackcoding commented on GitHub (Sep 30, 2025): Ever since an update to Windows Terminal recently, I randomly get this: <img width="1767" height="1055" alt="Image" src="https://github.com/user-attachments/assets/3e70742a-2781-4538-a2f6-e3fb8f5d1f07" /> I can't move the window, close it, or interact with it. I'm not sure if it's the same issue as OP. When it initially updated, I couldn't run Terminal at all - had to reinstall using powershell. But now I get this randomly. I just launched a work project from visual studio, which is a console app, and this is what I get. This also freezes all of my open terminal windows and I have to force close them to get it to work again.
Author
Owner

@grawity commented on GitHub (Sep 30, 2025):

I've been using Terminal Canary until now, with no hangs or crashes so far.

@grawity commented on GitHub (Sep 30, 2025): I've been using Terminal Canary until now, with no hangs or crashes so far.
Author
Owner

@mackcoding commented on GitHub (Oct 1, 2025):

It seems it may have updated and now the issue disappeared? Not sure. It has been OK today.

@mackcoding commented on GitHub (Oct 1, 2025): It seems it may have updated and now the issue disappeared? Not sure. It has been OK today.
Author
Owner

@stijnherreman commented on GitHub (Oct 8, 2025):

Update: even after updating to 25H2 on the Beta Channel the issue remained. Fixed by manually updating to the latest NVIDIA driver version (581.80) instead of using the one offered through Windows Update.


Similar issue, since a few days. Most of the times, the terminal renders eventually (after 10 seconds or so) but each time I open the app, rendering of the entire system appears to freeze for a bit. Mouse does not respond, other windows freeze.

Sometimes the terminal shows an error about the graphics driver:
Image
Resuming does not work:
Image

When it does not show the error, it seems to work fine afterwards. Also, opening a second tab happens instantly.

Windows Terminal version: 1.23.12681.0
Windows version: 26120.6772
GPU driver: NVIDIA RTX 573.57

@stijnherreman commented on GitHub (Oct 8, 2025): Update: even after updating to 25H2 on the Beta Channel the issue remained. Fixed by manually updating to the latest NVIDIA driver version (581.80) instead of using the one offered through Windows Update. --- Similar issue, since a few days. Most of the times, the terminal renders eventually (after 10 seconds or so) but each time I open the app, rendering of the entire system appears to freeze for a bit. Mouse does not respond, other windows freeze. Sometimes the terminal shows an error about the graphics driver: <img width="1155" height="698" alt="Image" src="https://github.com/user-attachments/assets/a9ee8b54-9adb-4c9e-8312-cb7daab5daea" /> Resuming does not work: <img width="1155" height="698" alt="Image" src="https://github.com/user-attachments/assets/8ff4e465-0e0f-4f1b-adae-4e61d7783b0d" /> When it does not show the error, it seems to work fine afterwards. Also, opening a second tab happens instantly. Windows Terminal version: 1.23.12681.0 Windows version: 26120.6772 GPU driver: NVIDIA RTX 573.57
Author
Owner

@lhecker commented on GitHub (Oct 13, 2025):

There was a somewhat severe bug in Windows 11 24H2 which caused apps like Windows Terminal to freeze if another 3D application was running at the same time (e.g. a video game or similar). It was fixed recently I believe.

@lhecker commented on GitHub (Oct 13, 2025): There was a somewhat severe bug in Windows 11 24H2 which caused apps like Windows Terminal to freeze if another 3D application was running at the same time (e.g. a video game or similar). It was fixed recently I believe.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23597