Article ID: 2484841 - View products that this article applies to.
Not sure if this is the right fix? We've added this issue to our memory dump diagnostic which can confirm.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario:
  • You run a .NET Framework 4-based Windows Presentation Foundation (WPF) application.
  • Another application uses Microsoft Active Accessibility (MSAA) or UI Automation to interact with the WPF application. 
In this scenario, the WPF application may consume high CPU and become unresponsive for a significant period of time.

Cause

This issue occurs because of an non-optimal logic within WPF's AutomationPeer implementation.

Resolution

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To apply this hotfix, you must have the .NET Framework 4 installed.

Restart requirement

You do not have to restart the computer after you apply this hotfix if the affected files are not being used.

Hotfix replacement information

This hotfix package does not replace a previously released hotfix package.

File information

The English (United States) version of this hotfix package uses a Microsoft Windows Installer package to install the hotfix package. The dates and the times for these files are listed in Coordinated Universal Time (UTC) in the following table. When you view the file information, the date is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

For all supported x86-based versions of Windows XP, of Windows Server 2003, of Windows Vista, of Windows Server 2008, and of Windows 7
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Presentationcore.dll4.0.30319.4393,546,97623-Feb-201111:00x86
Presentationframework.dll4.0.30319.4396,347,62423-Feb-201111:00x86
Windowsbase.dll4.0.30319.4391,304,92023-Feb-201111:00x86

For all supported x64-based versions of Windows XP, of Windows Server 2003, of Windows Vista, of Windows Server 2008, of Windows 7, and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Presentationcore.dll4.0.30319.4393,454,81623-Feb-201111:38x64
Presentationframework.dll4.0.30319.4396,347,62423-Feb-201111:00x64
Windowsbase.dll4.0.30319.4391,304,92023-Feb-201111:00x64

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More information

When this issue occurs, you will see the following recursive callstack on the main UI thread of the application.

PresentationCore_ni!MS.Internal.UIElementHelper.InvalidateAutomationAncestors(System.Windows.DependencyObject)+0xcf
PresentationCore_ni!MS.Internal.UIElementHelper.InvalidateAutomationAncestors(System.Windows.DependencyObject)+0xcf
PresentationCore_ni!MS.Internal.UIElementHelper.InvalidateAutomationAncestors(System.Windows.DependencyObject)+0xcf
PresentationCore_ni!MS.Internal.UIElementHelper.InvalidateAutomationAncestors(System.Windows.DependencyObject)+0xcf
PresentationCore_ni!MS.Internal.UIElementHelper.InvalidateAutomationAncestors(System.Windows.DependencyObject)+0xcf
PresentationCore_ni!MS.Internal.UIElementHelper.InvalidateAutomationAncestors(System.Windows.DependencyObject)+0xcf
PresentationCore_ni!MS.Internal.UIElementHelper.InvalidateAutomationAncestors(System.Windows.DependencyObject)+0xcf
PresentationCore_ni!MS.Internal.UIElementHelper.InvalidateAutomationAncestors(System.Windows.DependencyObject)+0xcf


For more information about UI Automation, visit the following MSDN website:
General information about UI Automation

Properties

Article ID: 2484841 - Last Review: October 9, 2014 - Revision: 6.0
Applies to
  • Microsoft .NET Framework 4
Keywords: 
kbmdd kbqfe kbfix kbhotfixserver kbexpertiseadvanced kbsurveynew KB2484841

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com