microsoft / WindowsAppSDK

The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
https://docs.microsoft.com/windows/apps/windows-app-sdk/
MIT License
3.85k stars 326 forks source link

WinAppSDK application not opening for some users #3037

Open rocksdanister opened 2 years ago

rocksdanister commented 2 years ago

Describe the bug

https://github.com/rocksdanister/lively/issues/1409

Some users are reporting application is not opening for both packaged (Microsoft store) and unpackaged (Installer) version of the application. The installer version has the SDK self contained.

Event viewer: Faulting application name: Lively.UI.WinUI.exe, version: 1.0.0.0, time stamp: 0x6283df13 Faulting module name: Microsoft.ui.xaml.dll, version: 3.0.0.2206, time stamp: 0xb4fa5b7c Exception code: 0xc000027b Fault offset: 0x00240d29 Faulting process id: 0x7ed8 Faulting application start time: 0x01d89ec447244f5e Faulting application path...

Lively.UI.WinUI is a separate program for the UI from the core and it is the only program using WinAppSDK.

~The user is saying Afterburner is not running https://github.com/rocksdanister/lively/issues/1314#issuecomment-1193172515 I am not sure if that means Rivatuner Statistics is running or not https://github.com/microsoft/WindowsAppSDK/issues/2468~

Steps to reproduce the bug

Unable to reproduce on my end, some user are reporting and cause is unknown.

Expected behavior

UI program should open.

Screenshots

No response

NuGet package version

1.1.5

Packaging type

No response

Windows version

Windows 10 version 21H2 (19044, November 2021 Update)

IDE

No response

Additional context

Possibly related https://github.com/microsoft/WindowsAppSDK/issues/2980

gabbybilka commented 2 years ago

Thanks for reporting, could you provide us with a full crash dmp? How-to: https://github.com/microsoft/microsoft-ui-xaml/blob/main/docs/debugging_crashes.md

rocksdanister commented 2 years ago

@knightryry

rocksdanister commented 2 years ago

Looks like @knightryry issue got resolved after windows reinstall: https://github.com/rocksdanister/lively/issues/1409#issuecomment-1290837671

Reinstalling windows seemed to fix it. (Had to reinstall due to windows bricking itself.). I'm guessing one of the dependencies broke.

@silentstromv2 can you help by providing the crash dump?

BozaPng commented 1 year ago

Microsoft (R) Windows Debugger Version 10.0.25200.1003 AMD64 Copyright (c) Microsoft Corporation. All rights reserved.

Loading Dump File [C:\Users\WIN10\AppData\Local\Programs\Lively Wallpaper\Plugins\UI\Lively.UI.WinUI.exe]

*** Path validation summary ** Response Time (ms) Location Deferred srv Symbol search path is: srv Executable search path is: ModLoad: 00400000 00455000 C:\Users\WIN10\AppData\Local\Programs\Lively Wallpaper\Plugins\UI\Lively.UI.WinUI.exe * WARNING: Unable to verify checksum for Lively.UI.WinUI.exe eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=00000000 eip=00410440 esp=00000000 ebp=00000000 iopl=0 nv up di pl nz na po nc cs=0000 ss=0000 ds=0000 es=0000 fs=0000 gs=0000 efl=00000000 Lively_UI_WinUI!scrt_common_main [inlined in Lively_UI_WinUI!wmainCRTStartup]: 00410440 e80d060000 call Lively_UI_WinUI!security_init_cookie (00410a52)