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

Unable to launch application when published in store #8577

Open
halomakes opened this issue Jun 22, 2023 · 1 comment
Open

Unable to launch application when published in store #8577

halomakes opened this issue Jun 22, 2023 · 1 comment
Labels
bug Something isn't working team-Markup Issue for the Markup team

Comments

@halomakes
Copy link

Describe the bug

Hello, I have been chasing down an issue where my application crashes immediately when installed via the store. It seems to work fine when sideloaded or running unpackaged. Code to reproduce is available here: https://github.com/halomademeapc/GravyVrc.Summoner/tree/main/src/GravyVrc.Summoner.Windows

Steps to reproduce the bug

Install package https://apps.microsoft.com/store/detail/9PBSBFXXP0DF?launch=true&mode=mini
Open application

Expected behavior

Application window is displayed

Screenshots

*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** WARNING: Unable to verify checksum for GravyVrc.Summoner.Windows.exe
DEBUG_FLR_EXCEPTION_CODE(80040154) and the ".exr -1" ExceptionCode(c0000409) don't match

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 562

    Key  : Analysis.Elapsed.mSec
    Value: 17699

    Key  : Analysis.IO.Other.Mb
    Value: 72

    Key  : Analysis.IO.Read.Mb
    Value: 2

    Key  : Analysis.IO.Write.Mb
    Value: 149

    Key  : Analysis.Init.CPU.mSec
    Value: 202

    Key  : Analysis.Init.Elapsed.mSec
    Value: 5309

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 173

    Key  : FailFast.Name
    Value: FATAL_APP_EXIT

    Key  : FailFast.Type
    Value: 7

    Key  : Failure.Bucket
    Value: FAIL_FAST_FATAL_APP_EXIT_80040154_Microsoft.ui.xaml.dll!CXamlIslandRoot::SetInputWindow

    Key  : Failure.Hash
    Value: {542c886c-82df-a7aa-2388-6aba77cf7c98}

    Key  : Timeline.OS.Boot.DeltaSec
    Value: 153065

    Key  : Timeline.Process.Start.DeltaSec
    Value: 2

    Key  : WER.OS.Branch
    Value: ni_release

    Key  : WER.OS.Version
    Value: 10.0.22621.1

    Key  : WER.Process.Version
    Value: 1.1.0.0


FILE_IN_CAB:  GravyVrc.Summoner.Windows.exe_230622_142639.dmp

COMMENT:  
*** "C:\Users\agpro\Downloads\Procdump\procdump.exe" -accepteula -ma -j "c:\dumps" 3388 676 0000021B6EDE0000
*** Just-In-Time debugger. PID: 3388 Event Handle: 676 JIT Context: .jdinfo 0x21b6ede0000

NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=00000031d857adb0 rbx=00000031d857b330 rcx=00000031d857adb0
rdx=00000031d857b260 rsi=00000031d857b330 rdi=00000031d857adb0
rip=00007ffcb284b352 rsp=00000031d857acd0 rbp=0000000000000001
 r8=0000000000000000  r9=00000031d857b220 r10=00000fff96509641
r11=0000000000000002 r12=0000000080070000 r13=0000021b6ef7ee60
r14=0000000000000000 r15=0000000000000000
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000204
KERNELBASE!RaiseFailFastException+0x152:
00007ffc`b284b352 0f1f440000      nop     dword ptr [rax+rax]
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffc1b214815 (Microsoft_ui_xaml!CXamlIslandRoot::SetInputWindow+0x0000000000172761)
   ExceptionCode: c0000409 (Security check failure or stack buffer overrun)
  ExceptionFlags: 00000001
NumberParameters: 3
   Parameter[0]: 0000000000000007
   Parameter[1]: ffffffff80040154
   Parameter[2]: 0000000000000000
Subcode: 0x7 FAST_FAIL_FATAL_APP_EXIT 

PROCESS_NAME:  GravyVrc.Summoner.Windows.exe

EXCEPTION_CODE_STR:  80040154

FAULTING_THREAD:  00002f64

STACK_TEXT:  
00000031`d857acd0 00007ffc`1b2352e9     : 00000000`00000000 00007ffc`b284b200 00000000`00000000 00000031`d857b330 : KERNELBASE!RaiseFailFastException+0x152
00000031`d857b2b0 00007ffc`1b2353c0     : 00000031`d857b400 00007ffc`1b214815 00007ffc`1bb90130 00000000`00000000 : Microsoft_ui_xaml!wil::details::WilDynamicLoadRaiseFailFastException+0x49
00000031`d857b2e0 00007ffc`1b2353a4     : 00000000`0000000e 00000000`7ffffffe ffffffff`00000000 00000000`0000ffe8 : Microsoft_ui_xaml!wil::details::WilRaiseFailFastException+0x18
00000031`d857b310 00007ffc`1b233bf6     : 00000031`d857c980 00000031`d857c980 00000031`d857b4e0 00000000`00000003 : Microsoft_ui_xaml!wil::details::WilFailFast+0xa8
00000031`d857b3e0 00007ffc`1b2337cc     : 00000000`002b0cda 0000021b`6ef7ee60 0000021b`6ef905b8 00000000`002b0cda : Microsoft_ui_xaml!wil::details::ReportFailure_NoReturn<3>+0x26a
00000031`d857c8c0 00007ffc`1b233989     : 00000031`d857c998 0000021b`6ef7ee60 0000d177`540c1cb1 00000000`80070000 : Microsoft_ui_xaml!wil::details::ReportFailure_Base<3,0>+0x30
00000031`d857c920 00007ffc`1b27780b     : 00007ffc`0271d305 00007ffc`1b89a770 00000031`d857c998 00000000`00000000 : Microsoft_ui_xaml!wil::details::ReportFailure_Hr<3>+0x59
00000031`d857c9a0 00007ffc`1b214815     : 00000000`00000000 0000021b`6ef7ee60 0000021b`6ef905b8 00007ffc`02723460 : Microsoft_ui_xaml!wil::details::in1diag0::FailFast_Hr+0x17
00000031`d857c9f0 00007ffc`1af7855e     : 00000000`00000000 0000021b`6ef905b8 0000021b`6ef905a8 0000021b`6f0d7760 : Microsoft_ui_xaml!CXamlIslandRoot::SetInputWindow+0x172761
00000031`d857ca20 00007ffc`1b0e98c1     : 00000000`00000000 00000000`00080d90 00000000`00002f64 00007ffc`1b0d1a62 : Microsoft_ui_xaml!DirectUI::DesktopWindowXamlSource::ConnectToHwndIslandSite+0x25a
00000031`d857cb60 00007ffc`1b016e4a     : 0000021b`6eea0e68 00000031`d857cc79 00000000`00000000 0000021b`6eea0c48 : Microsoft_ui_xaml!DirectUI::DesktopWindowXamlSource::AttachToWindow+0x61
00000031`d857cbb0 00007ffc`1b0b5377     : 00000000`00080d90 0000021b`6eea0c48 0000021b`6eea0c40 00000031`d857d010 : Microsoft_ui_xaml!DirectUI::DesktopWindowImpl::OnCreate+0x13a
00000031`d857cce0 00007ffc`b31e8231     : 00000000`00080d90 00000000`00000000 00000000`00000000 00000031`d857d010 : Microsoft_ui_xaml!BaseWindow<DirectUI::DesktopWindowImpl>::WndProc+0x97
00000031`d857cd50 00007ffc`b31e7eec     : 00000000`00008008 00007ffc`1b0b52e0 00000000`00080d90 00000000`80000000 : user32!UserCallWinProcCheckWow+0x2d1
00000031`d857ceb0 00007ffc`b31f525c     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : user32!DispatchClientMessage+0x9c
00000031`d857cf10 00007ffc`b5392c94     : 00000000`00000000 00000031`d857d080 00000031`00000000 0000021b`00000001 : user32!__fnINLPCREATESTRUCT+0xac
00000031`d857cf70 00007ffc`b30a2294     : 00007ffc`b31df6d0 00000031`d857d528 00000000`00000000 00000000`00000000 : ntdll!KiUserCallbackDispatcherContinue
00000031`d857d0b8 00007ffc`b31df6d0     : 00000031`d857d528 00000000`00000000 00000000`00000000 00000031`d857d188 : win32u!NtUserCreateWindowEx+0x14
00000031`d857d0c0 00007ffc`b31df3ec     : 00000000`00000006 00000000`00000000 00000000`00000000 00000000`10cf0000 : user32!VerNtUserCreateWindowEx+0x210
00000031`d857d450 00007ffc`b31df232     : 00000000`80000000 0000021b`6eea0c40 fffffde4`9115f3b8 0000021b`6eea0e50 : user32!CreateWindowInternal+0x1a8
00000031`d857d5b0 00007ffc`1b0a7208     : 0000021b`6eea0c40 0000021b`6eea0c48 0000021b`6eea0e50 00000000`00000000 : user32!CreateWindowExW+0x82
00000031`d857d640 00007ffc`1b0a78c8     : 00000031`d857d8e8 00000031`d857d8d8 0000021b`68e82210 00000000`00000000 : Microsoft_ui_xaml!DirectUI::DesktopWindowImpl::DesktopWindowImpl+0x1f4
00000031`d857d6f0 00007ffc`1b0a76c1     : 0000021b`6eeab660 00000000`00000000 00000000`00000000 00000000`00000000 : Microsoft_ui_xaml!std::make_shared<DirectUI::DesktopWindowImpl,DirectUI::Window * __ptr64>+0x48
00000031`d857d720 00007ffc`1b0a74e4     : 0000021b`00000000 0000021b`6eeab650 00000000`00000000 00000000`00000000 : Microsoft_ui_xaml!DirectUI::Window::Window+0x175
00000031`d857d780 00007ffc`1b0a6ffc     : 0000021b`6eeab650 0000d177`540c0fa1 0000021b`6eeaa648 0000021b`68e82210 : Microsoft_ui_xaml!ctl::ComObject<DirectUI::Window>::ComObject<DirectUI::Window>+0x24
00000031`d857d7b0 00007ffc`1af6b977     : 00000000`00000000 00007ffc`1aefc33f 00000000`00000000 00000000`00000000 : Microsoft_ui_xaml!ctl::CreateComObjectInstanceNoInit<DirectUI::Window>+0x3c
00000031`d857d7e0 00007ffc`1af73765     : 00000000`00000000 00000031`d857d970 00000000`00000000 0000021b`6efdc530 : Microsoft_ui_xaml!DirectUI::DXamlCore::GetPeerPrivate+0x477
00000031`d857d880 00007ffc`1af7360a     : 00000000`00000014 00000000`00000003 0000b5c6`9df2e7d2 00000000`00000000 : Microsoft_ui_xaml!DirectUI::ActivationAPI::ActivateInstance+0xe1
00000031`d857d950 00007ffc`1af738cc     : 00000000`00000000 4c6ab12d`af86e2e0 901e1065`aad75a9c 0000021b`6eeaa648 : Microsoft_ui_xaml!ctl::BetterAggregableCoreObjectActivationFactory::ActivateInstanceStatic+0x62
00000031`d857d9a0 00007ffc`1af7329b     : 4c6ab12d`af86e2e0 0000002e`000000f3 00000031`d857da20 00007ff6`3a8a8a20 : Microsoft_ui_xaml!ctl::ValidateFactoryCreateInstanceWithBetterAggregableCoreObjectActivationFactory+0x70
00000031`d857da30 00007ff5`db473515     : 0000021b`6ef8c788 00000031`d857dbe8 0000021b`00052668 00007ff6`3a83f255 : Microsoft_ui_xaml!DirectUI::FrameFactory::CreateInstance+0x3b
00000031`d857da70 0000021b`6ef8c788     : 00000031`d857dbe8 0000021b`00052668 00007ff6`3a83f255 00000000`00000000 : 0x00007ff5`db473515
00000031`d857da78 00000031`d857dbe8     : 0000021b`00052668 00007ff6`3a83f255 00000000`00000000 00008084`eec4da12 : 0x0000021b`6ef8c788
00000031`d857da80 0000021b`00052668     : 00007ff6`3a83f255 00000000`00000000 00008084`eec4da12 00007ff6`3a8aa398 : 0x00000031`d857dbe8
00000031`d857da88 00007ff6`3a83f255     : 00000000`00000000 00008084`eec4da12 00007ff6`3a8aa398 00000031`d857e300 : 0x0000021b`00052668
00000031`d857da90 00007ff5`db48b723     : 00007ff5`daf2c438 00000031`d857dba8 00008084`eec4da12 00000031`d857d808 : GravyVrc_Summoner_Windows_exe!ThePreStub+0x55
00000031`d857db40 00007ff5`daf2c438     : 00000031`d857dba8 00008084`eec4da12 00000031`d857d808 00000031`d857db40 : 0x00007ff5`db48b723
00000031`d857db48 00000031`d857dba8     : 00008084`eec4da12 00000031`d857d808 00000031`d857db40 00007ff6`3a83f255 : 0x00007ff5`daf2c438
00000031`d857db50 00008084`eec4da12     : 00000031`d857d808 00000031`d857db40 00007ff6`3a83f255 00000000`00000000 : 0x00000031`d857dba8
00000031`d857db58 00000031`d857d808     : 00000031`d857db40 00007ff6`3a83f255 00000000`00000000 00000000`00000000 : 0x00008084`eec4da12
00000031`d857db60 00000031`d857db40     : 00007ff6`3a83f255 00000000`00000000 00000000`00000000 00000000`00000000 : 0x00000031`d857d808
00000031`d857db68 00007ff6`3a83f255     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x00000031`d857db40
00000031`d857db70 00007ff5`db48b406     : 0000021b`000522a8 0000021b`00052258 00000031`d857dc80 00000000`00000001 : GravyVrc_Summoner_Windows_exe!ThePreStub+0x55
00000031`d857dc20 0000021b`000522a8     : 0000021b`00052258 00000031`d857dc80 00000000`00000001 00000000`3a345107 : 0x00007ff5`db48b406
00000031`d857dc28 0000021b`00052258     : 00000031`d857dc80 00000000`00000001 00000000`3a345107 00000031`d857dc20 : 0x0000021b`000522a8
00000031`d857dc30 00000031`d857dc80     : 00000000`00000001 00000000`3a345107 00000031`d857dc20 00000000`66804d20 : 0x0000021b`00052258
00000031`d857dc38 00000000`00000001     : 00000000`3a345107 00000031`d857dc20 00000000`66804d20 0000021b`000522a8 : 0x00000031`d857dc80
00000031`d857dc40 00000000`3a345107     : 00000031`d857dc20 00000000`66804d20 0000021b`000522a8 0000021b`00047c98 : 0x1
00000031`d857dc48 00000031`d857dc20     : 00000000`66804d20 0000021b`000522a8 0000021b`00047c98 0000021b`00052258 : 0x3a345107
00000031`d857dc50 00000000`66804d20     : 0000021b`000522a8 0000021b`00047c98 0000021b`00052258 0000021b`00047c70 : 0x00000031`d857dc20
00000031`d857dc58 0000021b`000522a8     : 0000021b`00047c98 0000021b`00052258 0000021b`00047c70 0000021b`00047c98 : 0x66804d20
00000031`d857dc60 0000021b`00047c98     : 0000021b`00052258 0000021b`00047c70 0000021b`00047c98 00000000`00000000 : 0x0000021b`000522a8
00000031`d857dc68 0000021b`00052258     : 0000021b`00047c70 0000021b`00047c98 00000000`00000000 00000000`00000000 : 0x0000021b`00047c98
00000031`d857dc70 0000021b`00047c70     : 0000021b`00047c98 00000000`00000000 00000000`00000000 0000021b`00052258 : 0x0000021b`00052258
00000031`d857dc78 0000021b`00047c98     : 00000000`00000000 00000000`00000000 0000021b`00052258 00000001`00000000 : 0x0000021b`00047c70
00000031`d857dc80 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x0000021b`00047c98


STACK_COMMAND:  ~0s ; .cxr ; kb

SYMBOL_NAME:  microsoft_ui_xaml!CXamlIslandRoot::SetInputWindow+172761

MODULE_NAME: Microsoft_ui_xaml

IMAGE_NAME:  Microsoft.ui.xaml.dll

FAILURE_BUCKET_ID:  FAIL_FAST_FATAL_APP_EXIT_80040154_Microsoft.ui.xaml.dll!CXamlIslandRoot::SetInputWindow

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  3.1.3.0

FAILURE_ID_HASH:  {542c886c-82df-a7aa-2388-6aba77cf7c98}

Followup:     MachineOwner
---------

NuGet package version

WinUI 3 - Windows App SDK 1.3.2: 1.3.230602002

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@JesseCol
Copy link

Hi, are you still hitting this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team-Markup Issue for the Markup team
Projects
None yet
Development

No branches or pull requests

3 participants