Files icon indicating copy to clipboard operation
Files copied to clipboard

Bug: WinUI 3 FailFast Crash in Microsoft.UI.Xaml.dll during Window Teardown (DCompPropertyChangedListener::DetachFromHandOffVisual)

Open zzzz-zzzz-zzzz-zzzz opened this issue 1 month ago • 5 comments

Description

The Files application silently crashes upon closure, registering a native FailFast crash (0xc000027b) in the Windows Event Viewer and generating a minidump file via Windows Error Reporting during UI tree teardown.

Steps To Reproduce

Open the Files application and navigate through folders or lists utilizing modern collection panels or list views.

Close the application window.

Check Windows Event Viewer or crash dump logs to observe the silent background MoAppCrash (Exception Code 0xc000027b) tied to Microsoft.UI.Xaml.dll.

Files Version

v4.3

Windows Version

v26H2 - Build # 26300.9711

User ID

6fef704d-5fdf-4c33-8387-f7332d0b0e9a

Log File

debug.log

  • Can also confirm that on the latest preview version (v4.3.1) - I'm not able to re-produce this as easily as I can on stable (v4.3) - but will keep testing on Preview to ensure that it is fixed within Preview thus not affecting the next release of stable.

zzzz-zzzz-zzzz-zzzz avatar Oct 29 '26 07:10 zzzz-zzzz-zzzz-zzzz

Thanks for the report

Josh65-2201 avatar Oct 29 '26 12:10 Josh65-2201

@Josh65-2201 i would love working on this problem if i can solve it of course

Marouane-elfadli avatar Nov 03 '26 20:11 Marouane-elfadli

@zzzz-zzzz-zzzz-zzzz Could you share the crash dump so we can see the full stack and the stowed exception?

Windows usually keeps it in %LOCALAPPDATA%\CrashDumps (a Files.exe.*.dmp file), or under C:\ProgramData\Microsoft\Windows\WER\ReportArchive. If you already opened it in WinDbg, the output of !analyze -v and !pde.dse would also help.

yair100 avatar Nov 24 '26 22:11 yair100

@zzzz-zzzz-zzzz-zzzz Could you share the crash dump so we can see the full stack and the stowed exception?

Windows usually keeps it in %LOCALAPPDATA%\CrashDumps (a Files.exe.*.dmp file), or under C:\ProgramData\Microsoft\Windows\WER\ReportArchive. If you already opened it in WinDbg, the output of !analyze -v and !pde.dse would also help.

Hi Yair,

This was a while ago.

I'll see if I can reproduce it. When I use the preview version I can confirm none of these errors happen. - these only occur on the stable version v4.3

Also the windbg output is in the title, description incl the analyze command.

I'll have a look later on to see if I can grab the original file as I know there is a script running that cleans that directory every week.

Cheers, Z

zzzz-zzzz-zzzz-zzzz avatar Nov 24 '26 22:11 zzzz-zzzz-zzzz-zzzz

Hi Yair,

I'm currently unable to re-produce this on the latest stable version (v4.3), however the original WinDBG output was provided as per the original description, errors, etc.

I can confirm that on the latest preview version these issues do not happen at all, so I would assume fixed within the latest preview one.

Will keep trying to re-produce it back on stable but no guarantees regarding this.

Cheers, Z

zzzz-zzzz-zzzz-zzzz avatar Nov 25 '26 06:11 zzzz-zzzz-zzzz-zzzz