Windows Terminal crashing when invoking a Console request from .NET #20702

Closed
opened 2026-01-31 07:21:39 +00:00 by claunia · 4 comments
Owner

Originally created by @thetestgame on GitHub (Oct 20, 2023).

Windows Terminal version

1.18.2310.9002

Windows build number

10.0.22621.0

Other Software

Eco (EcoServer.exe)

Steps to reproduce

Run the application without Administrator privileges.

Expected Behavior

It launches as expected.

Actual Behavior

Windows Terminal crashes resulting in a closed pipe error within .NET

image

This also seems to happen with the legacy applications such as cmd.exe. The issue is not consistent. However, once it starts it does not go away. We have had a few users report uninstalling Windows update KB5030649 resolves their issues.

Attempting to investigate inside the Event Viewer turns up this error

Faulting application name: OpenConsole.exe, version: 1.18.2310.9002, time stamp: 0x65248ade

Faulting module name: OpenConsole.exe, version: 1.18.2310.9002, time stamp: 0x65248ade

Exception code: 0xc0000094

Fault offset: 0x0000000000002be2

Faulting process id: 0x0xBA2C

Faulting application start time: 0x0x1DA03867118B628

Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe\OpenConsole.exe

Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe\OpenConsole.exe

Report Id: 28615991-e11f-4142-acc6-7fcfde642147

Faulting package full name: Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe

Faulting package-relative application ID: App
Originally created by @thetestgame on GitHub (Oct 20, 2023). ### Windows Terminal version 1.18.2310.9002 ### Windows build number 10.0.22621.0 ### Other Software Eco (EcoServer.exe) ### Steps to reproduce Run the application without Administrator privileges. ### Expected Behavior It launches as expected. ### Actual Behavior Windows Terminal crashes resulting in a closed pipe error within .NET ![image](https://github.com/microsoft/terminal/assets/2001527/020021ad-c214-4b44-96d0-0885bd5aaa88) This also seems to happen with the legacy applications such as cmd.exe. The issue is not consistent. However, once it starts it does not go away. We have had a few users report uninstalling Windows update KB5030649 resolves their issues. Attempting to investigate inside the Event Viewer turns up this error ``` Faulting application name: OpenConsole.exe, version: 1.18.2310.9002, time stamp: 0x65248ade Faulting module name: OpenConsole.exe, version: 1.18.2310.9002, time stamp: 0x65248ade Exception code: 0xc0000094 Fault offset: 0x0000000000002be2 Faulting process id: 0x0xBA2C Faulting application start time: 0x0x1DA03867118B628 Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe\OpenConsole.exe Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe\OpenConsole.exe Report Id: 28615991-e11f-4142-acc6-7fcfde642147 Faulting package full name: Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App ```
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:21:39 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Oct 23, 2023):

Alas, that Report Id didn't show up on the backend. We might need a Feedback Hub dump or a post-mortem dump to definitively ID this. Can you try following these steps to get us a dump/?

I'm guessing this is MSFT:44310564 which is #16199, but we don't really have a repro for that, just crash dumps.

@zadjii-msft commented on GitHub (Oct 23, 2023): Alas, that Report Id didn't show up on the backend. We might need a Feedback Hub dump or a post-mortem dump to definitively ID this. Can you try following [these steps](https://github.com/microsoft/terminal/wiki/Troubleshooting-Tips#capture-automatically) to get us a dump/? I'm guessing this is MSFT:44310564 which is #16199, but we don't really have a repro for that, just crash dumps.
Author
Owner

@thetestgame commented on GitHub (Oct 23, 2023):

Alas, that Report Id didn't show up on the backend. We might need a Feedback Hub dump or a post-mortem dump to definitively ID this. Can you try following these steps to get us a dump/?

I'm guessing this is MSFT:44310564 which is #16199, but we don't really have a repro for that, just crash dumps.

I've sent an email with the crash dump per the instructions. Far as reproduction unfortunately where EcoServer crashes vs when Windows Terminal crashes are not related so trying to pinpoint it is rather difficult. Only known constant is it doesn't fail in the same spot every time and running as Administrator seems to sometimes help.

@thetestgame commented on GitHub (Oct 23, 2023): > Alas, that Report Id didn't show up on the backend. We might need a Feedback Hub dump or a post-mortem dump to definitively ID this. Can you try following [these steps](https://github.com/microsoft/terminal/wiki/Troubleshooting-Tips#capture-automatically) to get us a dump/? > > I'm guessing this is [MSFT:44310564](https://task.ms/44310564) which is #16199, but we don't really have a repro for that, just crash dumps. I've sent an email with the crash dump per the instructions. Far as reproduction unfortunately where EcoServer crashes vs when Windows Terminal crashes are not related so trying to pinpoint it is rather difficult. Only known constant is it doesn't fail in the same spot every time and running as Administrator seems to sometimes help.
Author
Owner

@zadjii-msft commented on GitHub (Oct 26, 2023):

FAILURE_BUCKET_ID:  INTEGER_DIVIDE_BY_ZERO_c0000094_OpenConsole.exe!Microsoft::Console::VirtualTerminal::AdaptDispatch::_DoLineFeed

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  1.18.2310.9002

FAILURE_ID_HASH:  {a4569db1-0940-c9d3-8768-caa7607e965c}

Yep this is definitely /dup #16199. Thanks!

@zadjii-msft commented on GitHub (Oct 26, 2023): ``` FAILURE_BUCKET_ID: INTEGER_DIVIDE_BY_ZERO_c0000094_OpenConsole.exe!Microsoft::Console::VirtualTerminal::AdaptDispatch::_DoLineFeed OS_VERSION: 10.0.22621.1 BUILDLAB_STR: ni_release OSPLATFORM_TYPE: x64 OSNAME: Windows 10 IMAGE_VERSION: 1.18.2310.9002 FAILURE_ID_HASH: {a4569db1-0940-c9d3-8768-caa7607e965c} ``` Yep this is definitely /dup #16199. Thanks!
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Oct 26, 2023):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Oct 26, 2023): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20702