dotnet / dotnet/wpf

AE in System.Windows.Media.Composition.DUCE.Channel.ReleaseOnChannel

Open
#7,767 3 comments 1 reaction 0 assignees View on GitHub
needs more information
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

### Description

Apr 12 14:36:01 Eyegaze-Edge. ToltTech.AbilityDrive 2210.4.2.1|Fatal|ToltTech.Reliability.CrashHandler

System.ArgumentException: Value does not fall within the expected range. ---> System.ArgumentException: Value does not fall within the expected range. --- End of inner exception stack trace --- at System.Windows.Media.Composition.DUCE.Channel.ReleaseOnChannel(ResourceHandle handle) at System.Windows.Media.Composition.DUCE.MultiChannelResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.RenderData.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Visual.DisconnectAttachedResource(VisualProxyFlags correspondingFlag, IResource attachedResource) at System.Windows.UIElement.RenderClose(IDrawingContent newContent) at System.Windows.Media.VisualDrawingContext.CloseCore(RenderData renderData) at System.Windows.Media.RenderDataDrawingContext.DisposeCore() at System.Windows.Media.DrawingContext.System.IDisposable.Dispose() at System.Windows.Media.RenderDataDrawingContext.Close() at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

### Reproduction Steps

Occurs in application Ability Drive v2210.4.2.1 (see https://tolttech-bits.s3.us-west-2.amazonaws.com/abilitydrive/AbilityDrive.Setup-x86-Release-2210.4.2.1.msi for MSI download, matching symbols at https://tolttech-bits.s3.us-west-2.amazonaws.com/abilitydrive/ToltTech.AbilityDrive-Symbols-x86-Release-2210.4.1.0.zip) when running on a Microsoft Surface / Win11 based Speech Generating Device from EyeGaze.Com. Have not seen a repro on other Windows based devices, this repro occurred once over a two week period.

### Expected behavior

No ArgumentException

### Actual behavior

Failure observed once over a two week period.

### Regression?

_No response_

### Known Workarounds

_No response_

### Impact

Unexpected halt of app, unable to establish a catch handler as it's in the WPF internals and callstack does not bubble up to app code.

### Configuration

Surface Pro 7 OS Build 19045 x64

### Other information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.