Skip to content

Random crash in dwmcorei.dll #10534

@dmalukov

Description

@dmalukov

Describe the bug

The packaged WinUI 3 app randomly crashed during overnight bulk testing.

There is a full memory dump of this crash.

Call stack:

 # Child-SP          RetAddr               Call Site
00 00000080`e107bda8 00007fff`a61ee153     ntdll!NtWaitForMultipleObjects+0x14
01 00000080`e107bdb0 00007fff`a61ee021     KERNELBASE!WaitForMultipleObjectsEx+0x123
02 00000080`e107c0a0 00007fff`a6f412b0     KERNELBASE!WaitForMultipleObjects+0x11
03 00000080`e107c0e0 00007fff`a6f6893d     kernel32!WerpReportFaultInternal+0x62c
04 00000080`e107c260 00007fff`a62ba0cc     kernel32!WerpReportFault+0xc5
05 00000080`e107c2b0 00007fff`a8ee53fa     KERNELBASE!UnhandledExceptionFilter+0x34c
06 00000080`e107c3a0 00007fff`a8e9e963     ntdll!RtlUserThreadStart$filt$0+0x3f
07 00000080`e107c3d0 00007fff`a8ee06ff     ntdll!_C_specific_handler+0x93
08 00000080`e107c440 00007fff`a8dba328     ntdll!RtlpExecuteHandlerForException+0xf
09 00000080`e107c470 00007fff`a8db9336     ntdll!RtlDispatchException+0x2c8
0a 00000080`e107cc40 00007fff`a626933a     ntdll!RtlRaiseException+0x206
0b 00000080`e107d480 00007fff`27cdc748     KERNELBASE!RaiseException+0x8a
0c 00000080`e107d580 00007fff`27ba88fd     dwmcorei!MilFailFastForHR+0x38
0d 00000080`e107d650 00007fff`27cdc93d     dwmcorei!ModuleFailFastForHRESULT+0x29
0e 00000080`e107d680 00007fff`27cdca08     dwmcorei!MilInstrumentationHandleFailure_MaybeFailFast+0xc9
0f 00000080`e107d6b0 00007fff`27b8a5d1     dwmcorei!WilResultLoggingCallback_MaybeFailFast+0x28
10 00000080`e107d6f0 00007fff`27b8a12d     dwmcorei!wil::details::ReportFailure_Return<1>+0x161
11 00000080`e107ec00 00007fff`27b8d158     dwmcorei!wil::details::ReportFailure_Hr<1>+0x45
12 00000080`e107ec70 00007fff`27d1a49e     dwmcorei!wil::details::in1diag3::Return_Hr+0x18
13 00000080`e107ecc0 00007fff`27d12f5e     dwmcorei!CGraphWalker<CVectorShape>::GotoFirstChild+0x162
14 00000080`e107ed30 00007fff`27d12d25     dwmcorei!CShapeTree::DrawShapes+0x1ce
15 00000080`e107f040 00007fff`27c54bf7     dwmcorei!CShapeTree::Draw+0xc5
16 00000080`e107f0c0 00007fff`27c548c5     dwmcorei!CVisual::RenderContentWorker+0xd3
17 00000080`e107f120 00007fff`27be4c14     dwmcorei!CVisual::RenderContent+0x95
18 00000080`e107f190 00007fff`27bd9387     dwmcorei!CDrawingContext::PreSubgraph+0x125c
19 00000080`e107f410 00007fff`27bdf46d     dwmcorei!CVisualTreeIterator::WalkSubtree<CDrawingContext>+0x77
1a 00000080`e107f470 00007fff`27cd45ac     dwmcorei!CDrawingContext::DrawVisualTree+0x999
1b 00000080`e107f620 00007fff`27cd416f     dwmcorei!CLocalAppRenderTarget::RenderDirtyRect+0x31c
1c 00000080`e107f800 00007fff`27ccf9b6     dwmcorei!CLocalAppRenderTarget::Render+0xd3
1d 00000080`e107f890 00007fff`27bcae0a     dwmcorei!CLocalAppRenderTarget::RenderAndPresent+0x16
1e 00000080`e107f8d0 00007fff`27bb958f     dwmcorei!CRenderTargetManager::RenderAndPresent+0x27a
1f 00000080`e107f9a0 00007fff`27bd54ba     dwmcorei!CComposition::ProcessComposition+0x6e7
20 00000080`e107faf0 00007fff`a6f1e8d7     dwmcorei!CConnection::RunCompositionThread+0x1c6
21 00000080`e107fb40 00007fff`a8e314fc     kernel32!BaseThreadInitThunk+0x17
22 00000080`e107fb70 00000000`00000000     ntdll!RtlUserThreadStart+0x2c

NuGet package version

WinUI 3 - Windows App SDK 1.6.250228001

Windows version

Windows 11 (24H2): Build 26100

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingclosed-NotReproDescribed behavior could not be reproduced.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions