Skip to content

Fix PathGeometry leak with shared PathFigureCollection - #38946

Merged
kubaflo merged 1 commit into
dotnet:inflight/currentfrom
SyedAbdulAzeemSF4852:fix-38686
Sep 28, 2026
Merged

kubaflo merged 1 commit into
dotnet:inflight/currentfrom
SyedAbdulAzeemSF4852:fix-38686

Fix PathGeometry retention by shared Figures collection

d35259b
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Sep 28, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

🕒 The following pipeline(s) will be analyzed once they finish

Build Failures

maui-pr-devicetests / net10.0 Android CoreCLR Helix Tests / Run DeviceTests Android (CoreCLR) / DeviceTestsAndroid_CoreCLR (Windows)

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌PowerShell exited with code '1'.

Test Failures (2 tests failed)

🔹 [All failing tests from maui-pr-devicetests]

    ❌ com.microsoft.maui.controls.devicetests-Signed.WorkItemExecution [Console] [Details] [Artifacts] [66.67% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]

    Failing Configuration

    ❌ ImageWithUndefinedSizeAndWithBackgroundSetRenders [Console] [Details] [Artifacts] [2.21% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    Color Color [A=255, R=255, G=0, B=0] not found. This is what it looked like:<img>iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAEASURBVHic7dFBDQAgEMCwA/+e4Y0C9mgVLNmamTNk7N8BvAyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTGkBhDYgyJMSTmAtzLAcedYsvoAAAAAElFTkSuQmCC</img>
    CallStack
       at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass32_0.<AssertContainsColor>b__0()
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
    --- End of stack trace from previous location ---
       at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
       at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread )
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.AssertionExtensions.AssertContainsColor(View view, Color expectedColor, IMauiContext mauiContext, Nullable`1 tolerance)
       at Microsoft.Maui.DeviceTests.ImageTests.<>c__DisplayClass14_0.<<ImageWithUndefinedSizeAndWithBackgroundSetRenders>b__0>d.MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d.MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ImageTests.ImageWithUndefinedSizeAndWithBackgroundSetRenders()
    --- End of stack trace from previous location ---

Was this helpful? Yes No