[1.21.1094 Canary] Terminal hangs and crashes when closed. #21568

Closed
opened 2026-01-31 07:48:22 +00:00 by claunia · 8 comments
Owner

Originally created by @AvogatoWizardWhisker on GitHub (Apr 23, 2024).

Windows Terminal version

1.21.1094

Windows build number

10.0.26200.5001

Other Software

No response

Steps to reproduce

  • Open Terminal.
  • Do so work with the command linen with multiple tabs open.
  • Close window.

https://github.com/microsoft/terminal/assets/89489853/a87d0331-e845-483d-b36c-9f5c86b5b5b8

Expected Behavior

Terminal with multiple or single tabs should close normally.

Actual Behavior

At a rare circumstance, Terminal hangs for a moment then crashes. The following files are my current for Terminal Canary. I hope that helps.

state.json

settings.json

Originally created by @AvogatoWizardWhisker on GitHub (Apr 23, 2024). ### Windows Terminal version 1.21.1094 ### Windows build number 10.0.26200.5001 ### Other Software _No response_ ### Steps to reproduce - Open Terminal. - Do so work with the command linen with multiple tabs open. - Close window. https://github.com/microsoft/terminal/assets/89489853/a87d0331-e845-483d-b36c-9f5c86b5b5b8 ### Expected Behavior Terminal with multiple or single tabs should close normally. ### Actual Behavior At a rare circumstance, Terminal hangs for a moment then crashes. The following files are my current for Terminal Canary. I hope that helps. [state.json](https://github.com/microsoft/terminal/files/15081395/state.json) [settings.json](https://github.com/microsoft/terminal/files/15081394/settings.json)
Author
Owner

@github-actions[bot] commented on GitHub (Apr 23, 2024):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (Apr 23, 2024): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Closed similar issues: - [Terminal crashes when tabs are closed (#5869)](https://github.com/microsoft/terminal/issues/5869), similarity score: 0.77 - [Terminal Crash/Hangs when closing second-last tab quickly (#4132)](https://github.com/microsoft/terminal/issues/4132), similarity score: 0.76 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@carlos-zamora commented on GitHub (Apr 25, 2024):

Thanks for filing! Even if you can't reproduce it on demand, can you file feedback via feedback hub for us just to get it in the system /?

@carlos-zamora commented on GitHub (Apr 25, 2024): Thanks for filing! Even if you can't reproduce it on demand, can you file feedback via feedback hub for us just to get it in the system /?
Author
Owner

@AvogatoWizardWhisker commented on GitHub (Apr 25, 2024):

Certainly. Although the build has now been updated to version 1.21.1153.0, it's unclear if the issue still exists. I'll go ahead and report this in the Feedback Hub regardless.

@AvogatoWizardWhisker commented on GitHub (Apr 25, 2024): Certainly. Although the build has now been updated to version `1.21.1153.0`, it's unclear if the issue still exists. I'll go ahead and report this in the Feedback Hub regardless.
Author
Owner

@carlos-zamora commented on GitHub (May 1, 2024):

Cool! Sorry to do this a week late, but when you do, can you share that feedback hub link with us? Thanks!

@carlos-zamora commented on GitHub (May 1, 2024): Cool! Sorry to do this a week late, but when you do, can you share that feedback hub link with us? Thanks!
Author
Owner

@AvogatoWizardWhisker commented on GitHub (May 3, 2024):

Sure thing
https://aka.ms/AAq9yye

image

@AvogatoWizardWhisker commented on GitHub (May 3, 2024): Sure thing https://aka.ms/AAq9yye ![image](https://github.com/microsoft/terminal/assets/89489853/a2022738-8940-4eaf-b8db-91b456bb45ef)
Author
Owner

@lhecker commented on GitHub (May 3, 2024):

Do you remember when the crash happened last time? Also, how did you recognize it as a crash? Unless I'm mistaken, there aren't any Windows Terminal crash reports for your device, nor anything related inside your feedback data that indicates a Windows Terminal crashed in recent times.
(If anyone else on the team got time, it'd be nice if you could double check me.)

Edit: If you have a debugger like WinDbg or Visual Studio set to pop up when a crash occurs, it will prevent the OS from saving a crash dump. This would explain why I couldn't find any crash reports for Windows Terminal. If you do use a debugger like that, it'd be nice if you could save a dump next time it happens and send it to us!

@lhecker commented on GitHub (May 3, 2024): Do you remember when the crash happened last time? Also, how did you recognize it as a crash? Unless I'm mistaken, there aren't any Windows Terminal crash reports for your device, nor anything related inside your feedback data that indicates a Windows Terminal crashed in recent times. (If anyone else on the team got time, it'd be nice if you could double check me.) Edit: If you have a debugger like WinDbg or Visual Studio set to pop up when a crash occurs, it will prevent the OS from saving a crash dump. This would explain why I couldn't find any crash reports for Windows Terminal. If you do use a debugger like that, it'd be nice if you could save a dump next time it happens and send it to us!
Author
Owner

@AvogatoWizardWhisker commented on GitHub (May 3, 2024):

I first experienced this crash issue since 20th April. I knew it was a crash because the terminal hangs for a bit, then it closed. Which is not good when i had multiple windows open. And i can confirm It was indeed a crash right after i checked in Windows' Reliability History. I wanted to send a dump file or anything containing errors and such, but it didn't generate any file.

image

Same story with Event Viewer

image

Edit: I'm now in version 1.21.1201.0. For now, the terminal doesn't crash at close. It appears it has been fixed. Especially with the duplicate tab issue mentioned.

@AvogatoWizardWhisker commented on GitHub (May 3, 2024): I first experienced this crash issue since 20th April. I knew it was a crash because the terminal hangs for a bit, then it closed. Which is not good when i had multiple windows open. And i can confirm It was indeed a crash right after i checked in Windows' Reliability History. I wanted to send a dump file or anything containing errors and such, but it didn't generate any file. ![image](https://github.com/microsoft/terminal/assets/89489853/e74b1bd2-bcbd-4da6-8fb8-34dd9c496f64) Same story with Event Viewer ![image](https://github.com/microsoft/terminal/assets/89489853/7897df38-109c-4a30-9a1f-19448590e33a) Edit: I'm now in version `1.21.1201.0`. For now, the terminal doesn't crash at close. It appears it has been fixed. Especially with the duplicate tab issue mentioned.
Author
Owner

@carlos-zamora commented on GitHub (May 8, 2024):

I'm now in version 1.21.1201.0. For now, the terminal doesn't crash at close. It appears it has been fixed. Especially with the duplicate tab issue mentioned.

Great! Thanks for working with us. Closing since it appears fixed 😊

@carlos-zamora commented on GitHub (May 8, 2024): > I'm now in version 1.21.1201.0. For now, the terminal doesn't crash at close. It appears it has been fixed. Especially with the duplicate tab issue mentioned. Great! Thanks for working with us. Closing since it appears fixed 😊
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21568