Repository navigation
Open
Labels
Description
Describe the bug
I am maintaining a .NET application with a WinUI3 UI which sometime crashes. In the event viewer I see that the crash is caused by CoreMessagingXP.dll but I have no idea about the real cause of the problem since I see the application crashing without any exception an I see the event shown below in the event viewer. At the moment I have no idea about how I could fix this or where to start searching for a solution. The OS is Windows 10 Enterprise (ver 1809). WindowsAppSDK 1.2.230118.102
Steps to reproduce the bug
It happens randomly. I have not found a procedure to reproduce the bug.
Expected behavior
No response
Screenshots
No response
NuGet package version
None
Windows version
Windows 10 (1809): Build 17763
Additional context
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2024-04-16T22:29:53.7299382Z" />
<EventRecordID>69252</EventRecordID>
<Channel>Application</Channel>
<Computer>HAWKAGLE4PRO0265</Computer>
<Security />
</System>
- <EventData>
<Data>HAWKManager.exe</Data>
<Data>2.0.0.0</Data>
<Data>65ab0000</Data>
<Data>CoreMessagingXP.dll</Data>
<Data>10.0.22622.1036</Data>
<Data>d9ffb8dc</Data>
<Data>c000027b</Data>
<Data>000000000009418c</Data>
<Data>21e4</Data>
<Data>01da904d905aaf91</Data>
<Data>C:\Program Files\PLL\HAWK Manager X\HAWKManager.exe</Data>
<Data>C:\Program Files\PLL\HAWK Manager X\CoreMessagingXP.dll</Data>
<Data>c063be60-6ef1-456e-a02e-ee33adaf34be</Data>
<Data />
<Data />
</EventData>
</Event>
Reacted by Alex Logvin, Colin-AFCO, Timo Partl, Patrick F. Sørensen, Mahesh Bandara Wijerathna and Fred Stec
Activity
github-actions commentedon Apr 18, 2024
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!
Open similar issues:
Closed similar issues:
kirwan-safesurfer commentedon Nov 8, 2024
Just wanted to corroborate that I have seen this issue on Windows App SDK 1.5.7 when running (debugging) my packaged .NET 8 WinUI 3 app for the second time after cloning my project onto a workstation. This crash happened after approximately one second of the app window spawning (with no XAML elements showing). I couldn't reproduce it after the crash.
Event Viewer log:
DavidLiu642874264 commentedon Feb 27, 2025
Hi , I have got the same crash in my app.
Event Log:
andreisbarnea commentedon Mar 25, 2025
Similar problem on Windows 10 LTSC Build 19041
alexlogvin commentedon Apr 23, 2025
Some of my customers are also having this type of issue.
On Windows 11:
On Windows 10:
Is there any solution or workaround?
Installing different versions of Windows App SDK doesn't help.
Colin-AFCO commentedon Apr 29, 2025
I'd really love to know more about this, as I've just started writing a WinUI3 application that experiences seemingly random crashes with this exception. I've felt crazy trying to track this down. Is there a way I can better capture these exceptions or other unhandled exceptions? I started blaming the SDK, but I just hate resorting to blaming my tools. I feel a little less crazy seeing others running into this same issue.
VishyBala007 commentedon Jun 12, 2025
Hi All any update on this issue i am also facing the same??
alexlogvin commentedon Jun 13, 2025
For me, the installation of these packages solved the issue, not sure which one is actually needed (seems like the last one):
Run
winget install packageNameHereto install the packageemaschino commentedon Jun 16, 2025
Same issue with Windows 11 Widgets (WidgetBoard.exe):
Faulting application name: WidgetBoard.exe, version: 525.12501.10.0, time stamp: 0x68276e7b
Faulting module name: CoreMessagingXP.dll, version: 10.0.27106.2611, time stamp : 0x65f1999a
Exception code: 0xc0000602
Fault offset: 0x000000000000b8fd
Faulting process id: 0x0x30A0
Faulting application start time: 0x0x1DBDE9F95A0B4D9
Faulting application path: C:\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_525.12501.20.0_x64__cw5n1h2txyewy\WidgetBoard.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.6_6000.519.329.0_x64__8wekyb3d8bbwe\CoreMessagingXP.dll
Report Id: 1a781d40-aaaa-4ebc-ba57-d4a9c35ce576
Faulting package full name: MicrosoftWindows.Client.WebExperience_525.12501.20.0_x64__cw5n1h2txyewy
Faulting package-relative application ID: Global.WidgetBoard
emaschino commentedon Jun 19, 2025
Seems that Windows 11 Update 23H2 (KB5060999) fixed the problem for me.
DanielGlick commentedon Jun 23, 2025
Émeric MASCHINO (@emaschino) I have that version and it is not working. Did you install the update on the machine that you are building the application from? Or did installing it on the machine you are running the application from fix the problem?
emaschino commentedon Jun 24, 2025
Daniel Glick (@DanielGlick) The PC where I was experiencing the issue was updated. But I didn't develop the faulting app: WidgetBoard.exe is Windows 11's integrated Widgets ;-)
swax commentedon Jun 27, 2025
I figured out how to fix this crash in my case (.Net 9, WinUI 3, App SDK 1.7). It turned out I wasn't copying assets to the publish folder. Without the assets the app would crash on startup in CoreMessagingXP.dll. There was no indication at all the crash was related to trying to load resources it couldn't find.
If you're interested in reproducing the crash, you can download my release from here (https://github.com/swax/WallTrek), delete the assets folder, and the app should crash on startup.
davesmits commentedon Jul 18, 2025
I changed some loading logic to Parallel.ForEachAsync and this error started to show up; Doesn't happen in debug / release. just after publish.. any advice how to troubleshoot?
applefanbois commentedon Aug 11, 2025
It's just part and parcel of using a Microsoft deprecated CPM based operating system in 2025.
The solution is easy, get a Chromebook and use Linux app.
tipa commentedon Aug 19, 2025
I've had the same issue reported by a customer using Windows 10 when trying to access features in my app that use SkiaSharp. According to him, installing
Microsoft.VCRedist.2015+.x64as suggested above resolved the issue.Tryharder5 commentedon May 27, 2026
出错应用程序名称: AppleMusic.exe,版本: 1.6.4.90,时间戳: 0x69c4f2c7
出错模块名称: CoreMessagingXP.dll, 版本: 10.0.27108.1025,时间戳: 0x4775cbb4
异常代码: 0xc000027b
错误偏移: 0x0000000000093ae6
出错进程 ID: 0x5418
出错应用程序开始时间: 0x1DCEDBA637B6DA1
Faulting 应用程序路径: C:\Program Files\WindowsApps\AppleInc.AppleMusicWin_1.1540.23042.0_x64__nzyj5cx40ttqa\AppleMusic.exe
Faulting 模块路径: C:\Program Files\WindowsApps\AppleInc.AppleMusicWin_1.1540.23042.0_x64__nzyj5cx40ttqa\CoreMessagingXP.dll
Report ID: a2776595-f810-4725-925e-8c0790c738fb
Faulting 包全名: AppleInc.AppleMusicWin_1.1540.23042.0_x64__nzyj5cx40ttqa
Faulting 程序包相对应用程序 ID: App 个
出错系统版本:26200.8524 applemusic闪退,升级显卡驱动后事件报错:id153