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

Crash On Startup #11025

Closed
hoo29 opened this issue Aug 24, 2021 · 9 comments
Closed

Crash On Startup #11025

hoo29 opened this issue Aug 24, 2021 · 9 comments
Labels
Needs-Tag-Fix Doesn't match tag requirements Resolution-External For issues that are outside this codebase

Comments

@hoo29
Copy link

hoo29 commented Aug 24, 2021

Windows Terminal version (or Windows build number)

1.9.2107.13002

Other Software

ubuntu 20.04 LTS on WSL2
nvidia 471.68 drivers
windows 10 education 21h1

Steps to reproduce

Open Windows Terminal

Expected Behavior

It Opens

Actual Behavior

A window very briefly appears (but doesn't seem to render) and then it crashes. The following is in the event log

Faulting application name: WindowsTerminal.exe, version: 1.9.2107.13002, time stamp: 0x60edf3e3
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1151, time stamp: 0x891df6d3
Exception code: 0xc000027b
Fault offset: 0x000000000010bd3e
Faulting process ID: 0xed0
Faulting application start time: 0x01d798dffb5a7eb6
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.9.1942.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report ID: ac419911-ee2b-4ffe-a588-009d02877944
Faulting package full name: Microsoft.WindowsTerminal_1.9.1942.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

I have tried:

  • Uninstall and reinstall
  • Deleting settings.json
  • Repair and Reset
  • Setting default font to consolas
  • everyone's favourite sfc /scannow

Other issues I have found suggest it's a problem with systems that have integrated and nvidia GPUs but I only have a dedicated NVIDIA GPU, no integrated graphics.

This has been a problem for months but never got round to creating an issue!

Windows feedback link https://aka.ms/AAdl7c0

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 24, 2021
@zadjii-msft
Copy link
Member

Windows Terminal version: 1.9.2107.13002

Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.9.1942.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe

Huh, one of these things is not like the other! What's the output of wt -v? It should look like
image
(more or less)

Curiously, the feedback hub dumps also show dumps from a 1.8.1521.0 version of conhost, but no windowsterminal.exe dumps, which is kinda useless.

I'm thinking that this is a variant of "the app state got torn by the Store" issue. You might have some luck downloading a Preview build off of our Github Releases page. Since you've got the Stable version installed, and that's the one that's seemingly corrupted, then I'd guess that the Preview version wouldn't have the same issue.

@zadjii-msft zadjii-msft added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Aug 24, 2021
@hoo29
Copy link
Author

hoo29 commented Aug 24, 2021

I wasn't sure where to get my WT version from so copied it from the log, didn't notice the mismatch! wt -v gives
image

Uninstalled from the microsoft store and got the latest preview from github releases but it gives a similar log:

Faulting application name: WindowsTerminal.exe, version: 1.10.2107.12003, time stamp: 0x60ecd68c
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1151, time stamp: 0x891df6d3
Exception code: 0xc000027b
Fault offset: 0x000000000010bd3e
Faulting process ID: 0x1604
Faulting application start time: 0x01d798e808b930ad
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.10.1933.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report ID: b52f59fc-263f-4b2a-8a0f-37358c88ffa4
Faulting package full name: Microsoft.WindowsTerminalPreview_1.10.1933.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

Is there something I can do differently to make the feedback dump more useful?

@ghost ghost 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 Aug 24, 2021
@zadjii-msft
Copy link
Member

Huh. Now that's even weirder. @DHowett any ideas?

@hoo29
Copy link
Author

hoo29 commented Aug 25, 2021

Some further investigation, Microsoft PowerToys gives me the exact same error when I try to open the settings page

Faulting application name: PowerToys.Settings.exe, version: 0.43.0.0, time stamp: 0x5e222541
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1151, time stamp: 0x891df6d3
Exception code: 0xc000027b
Fault offset: 0x000000000010bd3e
Faulting process ID: 0xdbc
Faulting application start time: 0x01d799b68eb0cd0d
Faulting application path: C:\Program Files\PowerToys\Settings\PowerToys.Settings.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report ID: c419a60a-bf62-47c4-b429-801ff1665c6b
Faulting package full name: 
Faulting package-relative application ID: 

It runs happily in the background and only produces an error when I try to open settings. Other UWP like Microsoft Store, Mail, and Calculator all work fine though. I did a repair install of .NET Core 3.1 Desktop Runtime (v3.1.15) - Windows x64 just in case but no difference.

Appreciate this now seems more like a system problem than a Windows Terminal issue but would welcome any suggestions.

@zadjii-msft
Copy link
Member

Oh if this happens the same way with PowerToys Settings then this is almost certainly a Xaml Islands issue! That's a great observation!

Would you mind filing an issue on https://github.com/microsoft/microsoft-ui-xaml/? They're the team that owns XAML Islands, and they'd be much better equipped to help get to the root cause here.

@zadjii-msft zadjii-msft added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Attention The core contributors need to come back around and look at this ASAP. labels Aug 25, 2021
@hoo29
Copy link
Author

hoo29 commented Aug 25, 2021

Shall do - hopefully they respond!

@ghost ghost 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 Aug 25, 2021
@zadjii-msft
Copy link
Member

Thanks for filing that! I'm gonna close this one out and use the upstream thread to follow this issue. We can always reopen if needed.
/dup microsoft/microsoft-ui-xaml#5766

@ghost
Copy link

ghost commented Aug 25, 2021

Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report!

@ghost ghost closed this as completed Aug 25, 2021
@ghost ghost added Resolution-External For issues that are outside this codebase 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 Aug 25, 2021
@MrM40
Copy link

MrM40 commented Aug 14, 2022

You might try to Windows 11 version of Window Terminal on Windows 10!
See microsoft/microsoft-ui-xaml#5766

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Tag-Fix Doesn't match tag requirements Resolution-External For issues that are outside this codebase
Projects
None yet
Development

No branches or pull requests

3 participants