FIX: A .NET Framework 2.0 SP2-based application or a .NET Framework 3.5 SP1-based application does not correctly dispose of safe handle objects that were created by the WindowsIdentity object

Article translations Article translations
Article ID: 967615 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

You have a Microsoft .NET Framework 2.0 Service Pack 2 (SP2)-based application or a Microsoft .NET Framework 3.5 Service Pack 1 (SP1)-based application that uses the WindowsIdentity class. When you dispose of the WindowsIdentity object, instances of the SafeTokenHandle object and SafeLocalAllocHandle object that were created by the WindowsIdentity object are queued incorrectly for finalization.

If you use the !finalizequeue command in WinDbg, you see that there is an increase in the finalization queue length. When the finalization queue length grows large, performance decreases.

CAUSE

This problem occurs because the Dispose methods of the SafeTokenHandle object and the SafeLocalAllocHandle object do not call the GC.SuppressFinalize method.

RESOLUTION

Hotfix Replacement Information

The hotfix that corresponds to KB967615 has been superseded with the hotfix KB981574, which contains all fixes that were previously included in KB967615. You should use the hotfix KB981574 to fix the issues described in KB967615. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
981574 The splash screen stays open longer than usual when you try to start Excel on a computer that has the .NET Framework 3.5 SP1 installed

STATUS

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

Properties

Article ID: 967615 - Last Review: August 4, 2010 - Revision: 4.0
APPLIES TO
  • Microsoft .NET Framework 3.5 Service Pack 1
  • Microsoft .NET Framework 2.0 Service Pack 2
Keywords: 
kbHotfixServer kbexpertiseadvanced kbqfe kbsurveynew KB967615

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