terminal icon indicating copy to clipboard operation
terminal copied to clipboard

[1.21.1094 Canary] Terminal hangs and crashes when closed.

Open AvogatoWizardWhisker opened this issue 10 months ago • 4 comments

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

AvogatoWizardWhisker avatar Apr 23 '24 18:04 AvogatoWizardWhisker

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] avatar Apr 23 '24 18:04 github-actions[bot]

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 avatar Apr 25 '24 20:04 carlos-zamora

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 avatar Apr 25 '24 21:04 AvogatoWizardWhisker

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

carlos-zamora avatar May 01 '24 21:05 carlos-zamora

Sure thing https://aka.ms/AAq9yye

image

AvogatoWizardWhisker avatar May 03 '24 10:05 AvogatoWizardWhisker

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 avatar May 03 '24 14:05 lhecker

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 avatar May 03 '24 16:05 AvogatoWizardWhisker

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 avatar May 08 '24 21:05 carlos-zamora