Bug: WinUI 3 FailFast Crash in Microsoft.UI.Xaml.dll during Window Teardown (DCompPropertyChangedListener::DetachFromHandOffVisual)
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
- 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.
Thanks for the report
@Josh65-2201 i would love working on this problem if i can solve it of course
@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.
@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(aFiles.exe.*.dmpfile), or underC:\ProgramData\Microsoft\Windows\WER\ReportArchive. If you already opened it in WinDbg, the output of!analyze -vand!pde.dsewould 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
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