Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
thetestgame opened this issue Oct 20, 2023 · 4 comments
Closed
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@thetestgame
Copy link

thetestgame commented 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
@thetestgame thetestgame added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Oct 20, 2023
@thetestgame thetestgame changed the title Windows Terminal, Powershell, and CMD crashing when invoking a Console request from .NET on Windows 11 Windows Terminal crashing when invoking a Console request from .NET on Windows 11 Oct 20, 2023
@thetestgame thetestgame changed the title Windows Terminal crashing when invoking a Console request from .NET on Windows 11 Windows Terminal crashing when invoking a Console request from .NET Oct 20, 2023
@zadjii-msft
Copy link
Member

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.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Oct 23, 2023
@thetestgame
Copy link
Author

thetestgame commented 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.

@zadjii-msft
Copy link
Member

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!

@microsoft-github-policy-service
Copy link
Contributor

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 microsoft-github-policy-service bot added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Attention The core contributors need to come back around and look at this ASAP. labels Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants