Freeze & crash Windows Terminal Preview 1.21.1272.0 with these few simple steps, you'll never guess what the 3rd one is! #21634

Open
opened 2026-01-31 07:50:21 +00:00 by claunia · 0 comments
Owner

Originally created by @PhMajerus on GitHub (May 7, 2024).

Windows Terminal version

1.21.1272.0

Windows build number

10.0.22631.3527 x64

Other Software

Just Terminal Preview, crashes with any shell (tested cmd.exe, bash in Ubuntu in WSL2).

Steps to reproduce

  1. Open Windows Terminal Preview with your default shell
  2. Click the [v] menu, and select Settings to display the settings page
  3. Tear-off the Settings panel into its own window, making both settings and your shell visible
  4. Select any shell profile, click [Appearance >]
  5. Close the Settings tab, which closes its individual window.
  6. Wait ~30 seconds (could be longer apparently if focus is changed)
  7. Give the focus to some other app, then click on your shell panel to give it the focus again
  8. ?
  9. Profit!

I've crashed it 10 times using these steps, it works every single time.

Edit: I'm still trying to reduce the steps to the minimum required.

Expected Behavior

Windows Terminal should keep running

Actual Behavior

Windows Terminal freezes, its client area gets ghosty transparent, it receives the dreaded (Not Responding) suffix, and Dr. Watson comes along to put it out if its misery.

Originally created by @PhMajerus on GitHub (May 7, 2024). ### Windows Terminal version 1.21.1272.0 ### Windows build number 10.0.22631.3527 x64 ### Other Software Just Terminal Preview, crashes with any shell (tested cmd.exe, bash in Ubuntu in WSL2). ### Steps to reproduce 1. Open Windows Terminal Preview with your default shell 2. Click the `[v]` menu, and select Settings to display the settings page 3. Tear-off the Settings panel into its own window, making both settings and your shell visible 4. Select any shell profile, click `[Appearance >]` 5. Close the Settings tab, which closes its individual window. 6. Wait ~30 seconds (could be longer apparently if focus is changed) 7. Give the focus to some other app, then click on your shell panel to give it the focus again 8. ? 9. Profit! I've crashed it 10 times using these steps, it works every single time. Edit: I'm still trying to reduce the steps to the minimum required. ### Expected Behavior Windows Terminal should keep running ### Actual Behavior Windows Terminal freezes, its client area gets ghosty transparent, it receives the dreaded `(Not Responding)` suffix, and Dr. Watson comes along to put it out if its misery.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21634