microsoft / microsoft/microsoft-ui-xaml

MenuFlyout crash app

Open
#10,831 7 comments 1 reaction 1 assignee View on GitHub

@iablaauw-MS is already working on this.

Since Oct 30, 2025.

bug team-CompInput
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

Opening a `MenuFlyout` crash the app. From its dump stacktrace, it seems like it's crashing on creating the window. From user's report, it only occurs on specific computers which have been staying powered on for extended period of time. (But there are still plenty of RAM available)

Image

### Why is this important?

My App gets a hard crash.

### Steps to reproduce the bug

n/a

### Actual behavior

_No response_

### Expected behavior

_No response_

### Screenshots

_No response_

### NuGet package version

WinUI 3 - Windows App SDK 1.8.1: 1.8.250916003

### Windows version

Windows 10 (21H2): Build 19044

### Additional context

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.