CommunityToolkit/WindowsCommunityToolkit

BladeView open/close animation crashes Desktop Window Manager (dwm.exe)

Open

#2,881 opened on Mar 25, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C# (1,403 forks)batch import
bug :bug:controls :control_knobs:help wanted

Repository metrics

Stars
 (5,708 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I'm submitting a...

Bug report (I searched for similar issues and did not find one)

Current behavior

When expanding or collapsing a BladeView blade, dwm.exe crashes. The gif below only shows a portion of my screen, but when the recording blacks out, so does my entire desktop on both monitors.

2019-03-25_14-05-45

Expected behavior

Expanding or collapsing the bladeview blade should not be able to crash DWM.

Minimal reproduction of the problem with instructions

Windows logs:

dwm_crash_bladeview.zip

dxdiag:

DxDiag.txt

This might be better filed as a DWM bug (it shouldn't be able to be crashed by a user app), but I don't know how to do that. The crash is triggered by the bladeview functionality directly, so I figure this is a fair starting point.

Other notes:

  • Issue doesn't happen when the bladeview first renders - only when it animates from one state to another.
  • I've tried restarting and the issue is still consistently reproducible

Minimal repro project: dwm_crash_bladeview_repro.zip * I've spoken with others and they were not able to reproduce on a Surface laptop.

Environment

Nuget Package(s): 

Package Version(s): Microsoft.Toolkit.Uwp.UI.Controls v5.1.1

Windows 10 Build Number:
- [x] Fall Creators Update (16299)

App min and target version:
- [x] **min** Fall Creators Update (16299)
- [x] **target** October 2018 Update (17763)

Device form factor:
- [x] Desktop

Visual Studio 
- [x] 2017 (version: 15.9.7)

Contributor guide