PowerShell tabs often stop with "process exited with code 5" (refer to #9973) #15303

Open
opened 2026-01-31 04:34:24 +00:00 by claunia · 0 comments
Owner

Originally created by @SpitFire-666 on GitHub (Sep 22, 2021).

Windows Terminal version (or Windows build number)

10.0.19042.0

Other Software

No response

Steps to reproduce

[#9973 was closed as it was believed that OneDrive was the cause - I think I've found it's not]

Been hitting this issue on and off for a long time. I've now set the path to C:\ instead of OneDrive to try and rule it out from being the cause. Note that normal powershell (eg, sharing the same profile/paths/computer) has never shown me this error.

image

I can't find a way to reliably reproduce this unfortunately.

Found this in eventvwr:

Faulting application name: OpenConsole.exe, version: 1.10.2108.26003, time stamp: 0x6127f711
Faulting module name: ucrtbase.dll, version: 10.0.19041.789, time stamp: 0x2bd748bf
Exception code: 0xc0000409
Fault offset: 0x000000000007286e
Faulting process ID: 0x300c
Faulting application start time: 0x01d7aea619d677f7
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.10.2383.0_x64__8wekyb3d8bbwe\OpenConsole.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report ID: 82794afe-193d-4a34-9945-17152592afe4
Faulting package full name: Microsoft.WindowsTerminal_1.10.2383.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

Expected Behavior

Terminal/PowerShell tab should continue working

Actual Behavior

PowerShell tab is dead and a new one needs to be opened

Originally created by @SpitFire-666 on GitHub (Sep 22, 2021). ### Windows Terminal version (or Windows build number) 10.0.19042.0 ### Other Software _No response_ ### Steps to reproduce [#9973 was closed as it was believed that OneDrive was the cause - I *think* I've found it's not] Been hitting this issue on and off for a long time. I've now set the path to C:\ instead of OneDrive to try and rule it out from being the cause. Note that normal powershell (eg, sharing the same profile/paths/computer) has never shown me this error. ![image](https://user-images.githubusercontent.com/38451588/134264394-bc783414-85ea-4351-8f8f-92daa5239fae.png) I can't find a way to reliably reproduce this unfortunately. Found this in eventvwr: ``` Faulting application name: OpenConsole.exe, version: 1.10.2108.26003, time stamp: 0x6127f711 Faulting module name: ucrtbase.dll, version: 10.0.19041.789, time stamp: 0x2bd748bf Exception code: 0xc0000409 Fault offset: 0x000000000007286e Faulting process ID: 0x300c Faulting application start time: 0x01d7aea619d677f7 Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.10.2383.0_x64__8wekyb3d8bbwe\OpenConsole.exe Faulting module path: C:\WINDOWS\System32\ucrtbase.dll Report ID: 82794afe-193d-4a34-9945-17152592afe4 Faulting package full name: Microsoft.WindowsTerminal_1.10.2383.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App ``` ### Expected Behavior Terminal/PowerShell tab should continue working ### Actual Behavior PowerShell tab is dead and a new one needs to be opened
claunia added the Help WantedIssue-BugResolution-DuplicateProduct-Terminal labels 2026-01-31 04:34:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15303