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

fail_fast_fatal_app_exit_c0000409_microsoft.windowsappruntime.dll! windowsappruntimedeployment_tracelogger :: initialize :: stopwithresult #4938

Open
aries-zhang opened this issue Dec 6, 2024 · 2 comments
Labels
area-Deployment Issues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)

Comments

@aries-zhang
Copy link

aries-zhang commented Dec 6, 2024

Describe the bug

My team has an app which was recently migrated to WinAppSDK, this error is having quite some hit in Watson in the flights for the migration release.

It seems to happen when Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentManager.Initialize() is called (by following the doc).

Steps to reproduce the bug

I can't reproduce this error on any devices I have but it is from internal telemetry that some of our users are experiencing app crashes due to this issue.

Expected behavior

When DeploymentManager.Initialize() fails it should return an error without crashing the app.

Screenshots

No response

NuGet package version

Windows App SDK 1.6.240923002

Packaging type

Packaged (MSIX)

Windows version

No response

IDE

Visual Studio 2022

Additional context

No response

@RDMacLachlan RDMacLachlan added area-Deployment Issues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged) and removed needs-triage labels Dec 9, 2024
@RDMacLachlan
Copy link
Member

Can you please provide a repro of this.

@aries-zhang
Copy link
Author

Thanks @RDMacLachlan , I tried all my devices with a combo of Win10/11 but still can't repro this. It is currently happening to ~0.5% users according to our telemetry. Please see the error bucket in Watson: https://watsonportal.microsoft.com/Failure?FailureSearchText=9d0e0232-df19-abff-4a13-136a6fcb0fe6, and also an example of the call stack: https://watsonportal.microsoft.com/CabAnalysis?CabIdentifier=https://weus2watcab01.blob.core.windows.net/global-202412/eb6bedf3-14ed-4fd8-97b5-798b996bd145.zip if it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Deployment Issues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)
Projects
None yet
Development

No branches or pull requests

2 participants