admin管理员组文章数量:1123274
Our app works fine in android and iOS. Windows app works fine in Debug mode, but getting crahed in Release mode with Faulting module name: Microsoft.ui.xaml.dll, version: 3.1.5.0
Below is the Event viewer log.
Log Name: Application
Source: Application Error
Date: 09-01-2025 11.07.23 AM
Event ID: 1000
Task Category: Application Crashing Events
Level: Error
Keywords:
User: Username
Computer: TH-5CD316CY9K
Description:
Faulting application name: MyApp.MAUI.exe, version: 3.3.1.1, time stamp: 0x67110000
Faulting module name: Microsoft.ui.xaml.dll, version: 3.1.5.0, time stamp: 0x73620e9d
Exception code: 0xc000027b
Fault offset: 0x00000000004051c5
Faulting process id: 0x0x6FF4
Faulting application start time: 0x0x1DB6250DE80F48B
Faulting application path: C:\Program Files\WindowsApps\Myapp_3.3.1.1_x64__g35nme29jzpc6\Myapp.MAUI.exe
Faulting module path: C:\Program Files\WindowsApps\Myapp_3.3.1.1_x64__g35nme29jzpc6\Microsoft.ui.xaml.dll
Report Id: 60e8d78e-e2b2-4d12-b04e-45e239414dcc
Faulting package full name: Myapp_3.3.1.1_x64__g35nme29jzpc6
Faulting package-relative application ID: App
Event Xml:
<Event xmlns=";>
<System>
<Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" />
<EventID>1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2025-01-09T05:37:23.4669886Z" />
<EventRecordID>12078</EventRecordID>
<Correlation />
<Execution ProcessID="12360" ThreadID="16696" />
<Channel>Application</Channel>
<Computer>TH-5CD316CY9K</Computer>
<Security UserID="S-1-12-1-2066423280-1217765239-1122947254-2308196255" />
</System>
<EventData>
<Data Name="AppName">Myapp.MAUI.exe</Data>
<Data Name="AppVersion">3.3.1.1</Data>
<Data Name="AppTimeStamp">67110000</Data>
<Data Name="ModuleName">Microsoft.ui.xaml.dll</Data>
<Data Name="ModuleVersion">3.1.5.0</Data>
<Data Name="ModuleTimeStamp">73620e9d</Data>
<Data Name="ExceptionCode">c000027b</Data>
<Data Name="FaultingOffset">00000000004051c5</Data>
<Data Name="ProcessId">0x6ff4</Data>
<Data Name="ProcessCreationTime">0x1db6250de80f48b</Data>
<Data Name="AppPath">C:\Program Files\WindowsApps\Myapp_3.3.1.1_x64__g35nme29jzpc6\Myapp.MAUI.exe</Data>
<Data Name="ModulePath">C:\Program Files\WindowsApps\Myapp_3.3.1.1_x64__g35nme29jzpc6\Microsoft.ui.xaml.dll</Data>
<Data Name="IntegratorReportId">60e8d78e-e2b2-4d12-b04e-45e239414dcc</Data>
<Data Name="PackageFullName">Myapp_3.3.1.1_x64__g35nme29jzpc6</Data>
<Data Name="PackageRelativeAppId">App</Data>
</EventData>
</Event>
This crash occurs when we naviagte back to the previous page using popasync.
Here is there appcenter log
WinRT ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0 (Int32 hr)
ABI.Microsoft.UI.Xaml.Controls IContentPresenterMethods.set_Content (IObjectReference _obj, Object value)
Microsoft.UI.Xaml.Controls ContentPresenter.set_Content (Object value)
Microsoft.Maui.Platform StackNavigationManager.OnNavigated (Object sender, NavigationEventArgs e)
WinRT._EventSource_global__Microsoft_UI_Xaml_Navigation_NavigatedEventHandler
EventState.<GetEventInvoke>b__1_0 (Object sender, NavigationEventArgs e)
ABI.Microsoft.UI.Xaml.Navigation
NavigatedEventHandler.Do_Abi_Invoke (IntPtr thisPtr, IntPtr sender, IntPtr e)
WinRT
ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0 (Int32 hr)
ABI.Microsoft.UI.Xaml.Controls
IFrameMethods.GoBack (IObjectReference _obj, NavigationTransitionInfo transitionInfoOverride)
Microsoft.UI.Xaml.Controls
Frame.GoBack (NavigationTransitionInfo transitionInfoOverride)
Microsoft.Maui.Platform
StackNavigationManager.NavigateTo (NavigationRequest args)
Microsoft.Maui.Handlers
NavigationViewHandler.RequestNavigation (INavigationViewHandler arg1, IStackNavigation arg2, Object arg3)
Microsoft.Maui
CommandMapper.InvokeCore (String key, IElementHandler viewHandler, IElement virtualView, Object args)
Microsoft.Maui.Handlers
ElementHandler.Invoke (String command, Object args)
Microsoft.Maui.Controls.NavigationPage.Microsoft.Maui
IStackNavigation.RequestNavigation (NavigationRequest eventArgs)
Microsoft.Maui.Controls
NavigationPage.SendHandlerUpdateAsync (Boolean animated, Action processStackChanges, Action firePostNavigatingEvents, Action fireNavigatedEvents)
Microsoft.Maui.Controls.NavigationPage
MauiNavigationImpl.OnPopAsync (Boolean animated)
Microsoft.Maui.Controls
NavigationPage.PopAsync (Boolean animated)
iCareHealth.Portables.Services.AppNavigationService.<>c__DisplayClass13_0
<<GoBack>b__1>d.MoveNext ()
System.Threading.Tasks.Task
<>c.<ThrowAsync>b__128_0 (Object state)
Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext
<>c__DisplayClass2_0.<Post>b__0 ()
WinRT
ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0 (Int32 hr)
ABI.Windows.ApplicationModel.Core
IUnhandledErrorMethods.Propagate (IObjectReference _obj)
Windows.ApplicationModel.Core
UnhandledError.Propagate ()
Microsoft.AppCenter.Utils
ApplicationLifecycleHelperWinUI.<ctor>b__0_3 (Object sender, UnhandledErrorDetectedEventArgs eventArgs)
本文标签:
版权声明:本文标题:c# - .Net MAUI windows app crashes with Faulting module name: Microsoft.ui.xaml.dll, version: 3.1.5.0 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736561078a1944646.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论