Terminal app crashes when the last tab is closed #678

Closed
opened 2026-01-30 21:59:17 +00:00 by claunia · 14 comments
Owner

Originally created by @driver1998 on GitHub (May 7, 2019).

This bug-tracker is monitored by Windows Console development team and other technical types. We like detail!

If you have a feature request, please post to the UserVoice.

Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue.

Please use this form and describe your issue, concisely but precisely, with as much detail as possible

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    10.0.18890.1000

  • What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)
    Build & run the new Windows Terminal, then set alwaysShowTabs=true in the profiles.json file.
    Restart Windows Terminal and try to close the last (only) tab

  • What's wrong / what should be happening instead:
    the whole app just crashes
    What should happen: the app closes elegantly, or close the current tab and then open a new tab.

Originally created by @driver1998 on GitHub (May 7, 2019). This bug-tracker is monitored by Windows Console development team and other technical types. **We like detail!** If you have a feature request, please post to [the UserVoice](https://wpdev.uservoice.com/forums/266908). > **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible * Your Windows build number: (Type `ver` at a Windows Command Prompt) 10.0.18890.1000 * What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots) Build & run the new Windows Terminal, then set alwaysShowTabs=true in the profiles.json file. Restart Windows Terminal and try to close the last (only) tab * What's wrong / what should be happening instead: the whole app just crashes What should happen: the app closes elegantly, or close the current tab and then open a new tab.
Author
Owner

@driver1998 commented on GitHub (May 7, 2019):

It seems that you can't close the last tab with the X button or Ctrl-W, but it crashes when you try to close it with the middle mouse button.

@driver1998 commented on GitHub (May 7, 2019): It seems that you can't close the last tab with the X button or Ctrl-W, but it crashes when you try to close it with the middle mouse button.
Author
Owner

@theWhiteWulfy commented on GitHub (May 7, 2019):

Same happens with me

@theWhiteWulfy commented on GitHub (May 7, 2019): Same happens with me
Author
Owner

@zadjii-msft commented on GitHub (May 7, 2019):

This is a good bug :)

@carlos-zamora I think you did the middle-click close thing

@zadjii-msft commented on GitHub (May 7, 2019): This is a good bug :) @carlos-zamora I think you did the middle-click close thing
Author
Owner

@DHowett-MSFT commented on GitHub (May 17, 2019):

This is also the cause of a crash when closeOnExit is true and you exit the last shell.

@DHowett-MSFT commented on GitHub (May 17, 2019): This is also the cause of a crash when `closeOnExit` is true and you exit the last shell.
Author
Owner

@xa0082249956 commented on GitHub (Jun 1, 2019):

It seems to have been fixed.

@xa0082249956 commented on GitHub (Jun 1, 2019): It seems to have been fixed.
Author
Owner

@zadjii-msft commented on GitHub (Jun 4, 2019):

I can't get this to repro anymore either. Looks like it must have been resolved at some point recently.

@zadjii-msft commented on GitHub (Jun 4, 2019): I can't get this to repro anymore either. Looks like it must have been resolved at some point recently.
Author
Owner

@hassiexx commented on GitHub (Jun 23, 2019):

This issue is occurring again using the version from the Microsoft Store.
Windows version: 18362.175
Terminal version: 0.2.1715.0 (Microsoft Store)

@hassiexx commented on GitHub (Jun 23, 2019): This issue is occurring again using the version from the Microsoft Store. Windows version: 18362.175 Terminal version: 0.2.1715.0 (Microsoft Store)
Author
Owner

@StefPlue commented on GitHub (Jun 26, 2019):

I have to confirm this, the version crashes with me as well.

@StefPlue commented on GitHub (Jun 26, 2019): I have to confirm this, the version crashes with me as well.
Author
Owner

@geocine commented on GitHub (Aug 9, 2019):

I still encounter this issue

Windows version: Windows 10 Pro 1903
Windows Build: 18362.267
Terminal version: 0.3.2171.0
@geocine commented on GitHub (Aug 9, 2019): I still encounter this issue ``` Windows version: Windows 10 Pro 1903 Windows Build: 18362.267 Terminal version: 0.3.2171.0 ```
Author
Owner

@zadjii-msft commented on GitHub (Aug 9, 2019):

@DHowett-MSFT wasn't there something about XamlApplication needing to get cleaned up correctly? Maybe #1380? Is that being worked on by the XamlApplication folks?

@zadjii-msft commented on GitHub (Aug 9, 2019): @DHowett-MSFT wasn't there something about XamlApplication needing to get cleaned up correctly? Maybe #1380? Is that being worked on by the XamlApplication folks?
Author
Owner

@WilliamVenner commented on GitHub (Aug 26, 2019):

I'm getting this too.
It seems to only happen when you close the last tab and if it's a PowerShell window.
Sometimes it will freeze and never recover, sometimes it will freeze momentarily and then work again.

Microsoft Windows [Version 10.0.18362.295]
@WilliamVenner commented on GitHub (Aug 26, 2019): I'm getting this too. It seems to only happen when you close the last tab and if it's a PowerShell window. Sometimes it will freeze and never recover, sometimes it will freeze momentarily and then work again. ``` Microsoft Windows [Version 10.0.18362.295] ```
Author
Owner

@wenijinew commented on GitHub (Jul 12, 2021):

Still have this problem with version 1.8.1521.0

@wenijinew commented on GitHub (Jul 12, 2021): Still have this problem with version 1.8.1521.0
Author
Owner

@carlos-zamora commented on GitHub (Jul 12, 2021):

Still have this problem with version 1.8.1521.0

Hmm. Latest thing I could find that may be relevant is PR #10549, but I'm not sure if that exactly matches.

@carlos-zamora commented on GitHub (Jul 12, 2021): > Still have this problem with version 1.8.1521.0 Hmm. Latest thing I could find that may be relevant is PR #10549, but I'm not sure if that exactly matches.
Author
Owner

@cjacobsatnwea commented on GitHub (Aug 18, 2021):

I deal w/ this all the time. But I figure like MS Teams "it works good enough for them" so that's that.
I still have line breaks when copying lines that are on multiple lines. like, really? copy the presented display instead of what was actually sent to display? broken methodology.

@cjacobsatnwea commented on GitHub (Aug 18, 2021): I deal w/ this all the time. But I figure like MS Teams "it works good enough for them" so that's that. I still have line breaks when copying lines that are on multiple lines. like, really? copy the presented display instead of what was actually sent to display? broken methodology.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#678