microsoft-ui-xaml: Xaml Islands Crash on Start

Describe the bug

Raising based on advice from microsoft/terminal/issues/11025

When I start apps such as Windows Terminal or Microsoft PowerToys settings page, I very briefly see a window and then the app crashes. Event Viewer contains entries such as these:

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: 
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

Steps to reproduce the bug Open the settings page for Microsoft PowerToys Open Windows Terminal

Expected behavior They open

Screenshots n/a

Version Info Latest stable builds from GitHub / Microsoft Store

NuGet package version: n/a

Windows version Saw the problem?
Insider Build (xxxxx)
May 2021 Update (19043) Yes
October 2020 Update (19042)
May 2020 Update (19041)
November 2019 Update (18363)
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT

Additional context Have tried

  • sfc /scannow
  • repair install of .NET Core 3.1 Desktop Runtime (v3.1.15) - Windows x64

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 25 (10 by maintainers)

Most upvoted comments

Downloaded and installed the desktop runtime and runtime from https://dotnet.microsoft.com/download/dotnet/3.1 but no dice.

Main monitor is 2560x1440 at 100% scaling. Installed PowerToys 0.49.1 but PowerRename (and the other apps) don’t work for me with the same issue.

I couldn’t glean anything from the dumps in the Feedback Hub bug unfortunately, and I’m out of the office for a couple of weeks 😃. @zadjii-msft @dhowett can you guys follow up?

I recommended filing this here because both the Terminal and the PowerToys settings are XAML Islands apps. I presumed that both crashing would indicate some sort of issue in Islands itself for this user.