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

Long running UWP application closes randomly with Exception code #10010

Open
ElaJegen opened this issue Sep 24, 2024 · 2 comments
Open

Long running UWP application closes randomly with Exception code #10010

ElaJegen opened this issue Sep 24, 2024 · 2 comments
Labels
needs-triage Issue needs to be triaged by the area owners

Comments

@ElaJegen
Copy link

This is an UWP app that communicates to PLC controllers. It send commands, receive real-time data every second, display data with graphs and textfields.

Application was running for 19+ hours before a crash happened.
With Event Log, we were able to collect Exception codes:
Error codes:
1: c0000005 (Windows.UI.Xaml.dll)
2: c0000374 (ntdll.dll)

We were not able to reproduce this exceptions on our debug environment.
Don't have a steps to reproduce. Really appreciate any help!

Event Log for c0000005 error:
Application Error:
Faulting application name: [App Name], version: 1.0.0.0, time stamp: 0x5e5883fd
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.19041.3693, time stamp: 0x4d0a8551
Exception code: 0xc0000005
Fault offset: 0x000000000014eb49
Faulting process id: 0x259c
Faulting application start time: 0x01da196718830019
Faulting application path: C:\Program Files\WindowsApps[App Name]
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: 47086d13-72cf-43b7-b2e0-4c730e9cc6ed
Faulting package full name: [App Name]
Faulting package-relative application ID: App

Event Log for c0000374
Application Error:
Faulting application name: [App Name], version: 1.0.0.0, time stamp: 0x5e5883fd
Faulting module name: ntdll.dll, version: 10.0.19041.3636, time stamp: 0x9b64aa6f
Exception code: 0xc0000374
Fault offset: 0x00000000000ff349
Faulting process id: 0x2dcc
Faulting application start time: 0x01da20c57b485de4
Faulting application path: C:\Program Files\WindowsApps[App Name]
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: e5a51a12-41fc-4f84-a96e-f84965d38824
Faulting package full name:[App Name]
Faulting package-relative application ID: App

Windows Error Reporting:
[App Name]
1.0.0.0
5e5883fd
ntdll.dll
10.0.19041.3636
9b64aa6f
c0000374
00000000000ff349
2dcc
01da20c57b485de4
C:\Program Files\WindowsApps[App Name]
C:\Windows\SYSTEM32\ntdll.dll
e5a51a12-41fc-4f84-a96e-f84965d38824
[App Name]
App

Copy link

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!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Sep 24, 2024
@IstvanKor
Copy link

Just an idea: It might be some issue related to app suspension. Try postponing your app suspension with extended execution.
https://learn.microsoft.com/en-us/windows/uwp/launch-resume/run-minimized-with-extended-execution

var newSession = new ExtendedExecutionSession();
newSession.Reason = ExtendedExecutionReason.Unspecified;
newSession.Description = "Description";
ExtendedExecutionResult result = await newSession.RequestExtensionAsync();

// Controller process

newSession.Dispose();
newSession = null;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Issue needs to be triaged by the area owners
Projects
None yet
Development

No branches or pull requests

2 participants