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 cannot be launched and cannot be uninstalled/repaired #15243

Open
slaymaker1907 opened this issue Apr 26, 2023 · 3 comments
Open
Labels
Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. Needs-Tag-Fix Doesn't match tag requirements
Milestone

Comments

@slaymaker1907
Copy link

Windows Terminal version

1.16.10262.0

Windows build number

10.0.22621.0

Other Software

No response

Steps to reproduce

I hit close while running SQL Server in the Terminal (it is a custom build as I am on the SQL team) and it seems to have catastrophically corrupted Windows Terminal somehow to such a degree that it can't even be uninstalled.

Expected Behavior

I should be able to launch and uninstall.

Actual Behavior

Whenever it crashes, the following error is being reported in Event Viewer:

Faulting application name: WindowsTerminal.exe, version: 1.16.2301.26002, time stamp: 0x63d332f5
Faulting module name: Microsoft.Terminal.Settings.Model.dll, version: 1.16.2301.26002, time stamp: 0x63d3317c
Exception code: 0xc0000005
Fault offset: 0x00000000000fa96d
Faulting process id: 0x0x4D48
Faulting application start time: 0x0x1D97886AD310BBC
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.16.10262.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.16.10262.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Settings.Model.dll
Report Id: 5e9724bf-5d0a-452f-983a-dc42cc63b894
Faulting package full name: Microsoft.WindowsTerminal_1.16.10262.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

When I attempt to uninstall, I get error 0x80073cfa from Windows Settings.

@slaymaker1907 slaymaker1907 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 Apr 26, 2023
@DHowett
Copy link
Member

DHowett commented Apr 26, 2023

Wow, that's not great. Do you have any dumps on your machine or a post mortem / JIT / remote you can share out? I've never seen this particular failure before, and I couldn't find any watsons in this module that matched up with that offset.

@DHowett DHowett added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Apr 26, 2023
@slaymaker1907
Copy link
Author

Now it seems to be in a partially removed state such that I can't replicate it (it still shows up in search, but it does not show up in Windows Settings). However, I did find a few dumps (internal to Microsoft).

@microsoft-github-policy-service microsoft-github-policy-service bot added 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 Apr 26, 2023
@zadjii-msft zadjii-msft added this to the Terminal v1.19 milestone May 3, 2023
@DHowett
Copy link
Member

DHowett commented May 3, 2023

So, the one thing I can see in this Terminal dump is an AV querying the Visual Studio Setup COM objects. That's surprising. We absolutely shouldn't AV there.

@carlos-zamora carlos-zamora added Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. Help Wanted We encourage anyone to jump in on these. 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 May 17, 2023
@carlos-zamora carlos-zamora modified the milestones: Terminal v1.19, Backlog May 17, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Tag-Fix Doesn't match tag requirements label May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. Needs-Tag-Fix Doesn't match tag requirements
Projects
None yet
Development

No branches or pull requests

4 participants