question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Application crashes at startup

See original GitHub issue

Dev Home version

v0.137.141.0

Windows build number

10.0.22621.1702

Other software

No response

Steps to reproduce the bug

Start the application.

Expected result

The application starts.

Actual result

The application crashes without even opening a window. In the Windows event viewer, it logs an Error with the following information:

Faulting application name: DevHome.exe, version: 1.0.0.0, time stamp: 0x641cef7e
Faulting module name: Microsoft.UI.Xaml.dll, version: 3.1.3.0, time stamp: 0x87c36a2b
Exception code: 0xc000027b
Fault offset: 0x000000000035fb2c
Faulting process id: 0x0x4E58
Faulting application start time: 0x0x1D98E5BFAF89FDB
Faulting application path: C:\Program Files\WindowsApps\Microsoft.Windows.DevHome_0.137.141.0_x64__8wekyb3d8bbwe\DevHome.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.3_3000.851.1712.0_x64__8wekyb3d8bbwe\Microsoft.UI.Xaml.dll
Report Id: 34175ff5-2b0f-409d-acdf-847c1dee65b8
Faulting package full name: Microsoft.Windows.DevHome_0.137.141.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

Included System Information

No response

Included Extensions Information

No response

Issue Analytics

  • State:open
  • Created 4 months ago
  • Reactions:7
  • Comments:8

github_iconTop GitHub Comments

4reactions
DavidZidarcommented, May 24, 2023

I have the same issue so I tried running in with WinDbg attached and this is the errors that I get:

(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): Windows Runtime Originate Error - code 40080201 (first chance)
onecore\com\combase\winrt\error\restrictederror.cpp(1017)\combase.dll!00007FF8622FC07A: (caller: 00007FF8623015EF) ReturnHr(11) tid(95a0) 8007007E The specified module could not be found.
Microsoft.UI.Xaml.dll!00007FFF4782ABDE: 80131500 - onecore\com\combase\winrt\error\restrictederror.cpp(1017)\combase.dll!00007FF8622FC07A: (caller: 00007FF86249CC72) ReturnHr(12) tid(95a0) 8007007E The specified module could not be found.
onecore\com\combase\winrt\error\restrictederror.cpp(1017)\combase.dll!00007FF8622FC07A: (caller: 00007FF86249C64E) ReturnHr(13) tid(95a0) 8007007E The specified module could not be found.
ModLoad: 00007fff`d57e0000 00007fff`d5f17000   C:\WINDOWS\System32\DriverStore\FileRepository\nvmdig.inf_amd64_29b69e720c94d54e\Display.NvContainer\MessageBus.dll
ModLoad: 00007ff8`61160000 00007ff8`611d1000   C:\WINDOWS\System32\WS2_32.dll
ModLoad: 00007ff8`5e630000 00007ff8`5e65d000   C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
(639c.9570): C++ EH exception - code e06d7363 (first chance)
(639c.9570): C++ EH exception - code e06d7363 (first chance)
(639c.95a0): Unknown exception - code c000027b (!!! second chance !!!)
KERNELBASE!RaiseFailFastException+0x152:
00007ff8`602db2e2 0f1f440000      nop     dword ptr [rax+rax]

Callstack from WinDbg:

[0x0]   KERNELBASE!RaiseFailFastException + 0x152   
[0x1]   combase!RoFailFastWithErrorContextInternal2 + 0x4d9   
[0x2]   Microsoft_UI_Xaml!DirectUI::FrameworkApplication::StartDesktop + 0x1c39a8   
[0x3]   Microsoft_UI_Xaml!DirectUI::FrameworkApplicationFactory::Start + 0x6e   
[0x4]   0x7ffef61dea6d   
[0x5]   Microsoft_WinUI!ABI.Microsoft.UI.Xaml.IApplicationStaticsMethods.Start + 0x102   
[0x6]   DevHome_r2r + 0x25d178e   
[0x7]   coreclr!CallDescrWorkerInternal + 0x83   
[0x8]   coreclr!MethodDescCallSite::CallTargetWorker + 0x176   
[0x9]   coreclr!MethodDescCallSite::Call + 0xb   
[0xa]   coreclr!RunMainInternal + 0x11f   
[0xb]   coreclr!RunMain + 0xd2   
[0xc]   coreclr!Assembly::ExecuteMainMethod + 0x1c9   
[0xd]   coreclr!CorHost2::ExecuteAssembly + 0x1c6   
[0xe]   coreclr!coreclr_execute_assembly + 0xe2   
[0xf]   hostpolicy!coreclr_t::execute_assembly + 0x2a   
[0x10]   hostpolicy!run_app_for_context + 0x56b   
[0x11]   hostpolicy!run_app + 0x3c   
[0x12]   hostpolicy!corehost_main + 0x107   
[0x13]   hostfxr!execute_app + 0x2e9   
[0x14]   hostfxr!`anonymous namespace'::read_config_and_execute + 0xa6   
[0x15]   hostfxr!fx_muxer_t::handle_exec_host_command + 0x161   
[0x16]   hostfxr!fx_muxer_t::execute + 0x482   
[0x17]   hostfxr!hostfxr_main_startupinfo + 0xab   
[0x18]   apphost!exe_start + 0x8d8   
[0x19]   apphost!wmain + 0xab   
[0x1a]   apphost!invoke_main + 0x22   
[0x1b]   apphost!__scrt_common_main_seh + 0x10c   
[0x1c]   KERNEL32!BaseThreadInitThunk + 0x1d   
[0x1d]   ntdll!RtlUserThreadStart + 0x28   
3reactions
DavidZidarcommented, Jun 21, 2023

Just to confirm, v0.2 still crashes on startup every time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows Apps are crashing at startup
After downloading some apps from Windows 10 store after every installation, they are crashing instantly at startup.
Read more >
Programs Keep Crashing on Windows 10? Try These 4 ...
Windows 10 apps are crashing due to an update that was installed incorrectly, an outdated OS, or corrupted system files.
Read more >
Why do my apps keep crashing on Android, How to fix it
To do this, go to Settings -> Apps and select the app that keeps crashing. Tap on the app's name and then tap...
Read more >
Top 6 Ways to Fix App Crashes on Windows 10
Check out these solutions to fix reoccurring app crashes on Windows 10. ... Step 1: Open the start menu, type in cmd to...
Read more >
App crashes immediately on start u…
I have an iPhone app which is crashing on iOS9 devices only after being released through TestFlight or the App Store. The build...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found