ANE in System.Windows.Automation.Peers.AutomationPeer.UpdateChildren() on .NET Framework 4.8
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
### Description
Apr 25 17:20:10 EyegazeEdge2. ToltTech.AbilityDrive 2304.0.0.6|Fatal|ToltTech.Reliability.CrashHandler
System.ArgumentNullException: Key cannot be null. Parameter name: key at System.Collections.Hashtable.ContainsKey(Object key) at System.Collections.Hashtable.Contains(Object key) at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit) at System.Windows.Automation.Peers.AutomationPeer.UpdateChildren() at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree() at System.Windows.ContextLayoutManager.fireAutomationEvents() 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 v 2304.0.0.6 (see https://tolttechnologies.com/alpha for MSI download, matching symbols at https://tolttech-bits.s3.us-west-2.amazonaws.com/abilitydrive/ToltTech.AbilityDrive-Symbols-x86-Release-2304.0.0.6.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 twice in two days of testing over about 5 hours of usage, so failure frequency is uncomfortably high.
### Expected behavior
No ANE
### Actual behavior
Failure observed in crash handler twice in two days of testing, roughly five hours of runtime.
### 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
.NET Framework 4.8 (actual framework is 4.8.1) Release 533320
Running on Windows 11 22H2 Build 22621.1555
On Surface Pro 7+ Model 1960 i5 with Bios ver 18.200.143 and 8 GB RAM
Not sure if it repros any more or less frequently on other Windows variations at this time.
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.