Crash when closing tab while loading power shell modules #6900

Closed
opened 2026-01-31 00:50:00 +00:00 by claunia · 3 comments
Owner

Originally created by @michaelmairegger on GitHub (Mar 16, 2020).

Environment

Windows build number: 10.0.18363.657
Windows Terminal version (if applicable): 0.9.433.0

Steps to reproduce

  • Open new Windows Power Shell Tab
  • Close the tab as soon as the module loading message appears.

Expected behavior

No crash

Actual behavior

Crash of the power shell process.

Originally created by @michaelmairegger on GitHub (Mar 16, 2020). # Environment Windows build number: 10.0.18363.657 Windows Terminal version (if applicable): 0.9.433.0 # Steps to reproduce - Open new Windows Power Shell Tab - Close the tab as soon as the module loading message appears. # Expected behavior No crash # Actual behavior Crash of the power shell process.
claunia added the Resolution-ExternalNeeds-Tag-FixProduct-Powershell labels 2026-01-31 00:50:00 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 16, 2020):

Sorry, is powershell crashing or is terminal crashing?

@DHowett-MSFT commented on GitHub (Mar 16, 2020): Sorry, is _powershell_ crashing or is _terminal_ crashing?
Author
Owner

@michaelmairegger commented on GitHub (Mar 17, 2020):

powershell is crashing but if I do the same steps directly on the powershell the powershell does not crash

@michaelmairegger commented on GitHub (Mar 17, 2020): _powershell_ is crashing but if I do the same steps directly on the powershell the powershell does not crash
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 17, 2020):

So, all Terminal does is send a standard close event to powershell; there shouldn't be any magic in how it tears down within versus without terminal. It might be worthwhile to file a bug on the powershell repository, as they may have more insight into what's going on.

Thanks!

@DHowett-MSFT commented on GitHub (Mar 17, 2020): So, all Terminal does is send a standard close event to powershell; there shouldn't be any magic in how it tears down within versus without terminal. It might be worthwhile to file a bug on [the powershell repository](https://github.com/powershell/powershell), as they may have more insight into what's going on. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6900