Skip to content

App with WindowsAppSDK 1.7.X will crash after "IDispatcherQueueHandler::Invoke failed" #5322

Closed as duplicate of#10447
@zhuxb711

Description

@zhuxb711

Describe the bug

After upgrading my application to WindowsAppSDK 1.7.X, sometimes I would notice that a log print out IDispatcherQueueHandler::Invoke failed! and then the App crashed.

Still don't know what trigger that, it seems a random crash. Just note here in case anyone meet the same issue.

Steps to reproduce the bug

Don't know how to trigger that. And could not provide the stack trace because Microsoft.ui.xaml.pdb is missing from Microsoft Symbol Server and could not be loaded

Expected behavior

No response

Screenshots

No response

NuGet package version

Windows App SDK 1.7.1: 1.7.250401001

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 24H2 (22621, October 2024 Update)

IDE

Visual Studio 2022

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions