Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

An application may crash when it uses legacy methods to query performance counter values in Windows Vista or in Windows Server 2008


View products that this article applies to.

Symptoms

Consider the following scenario:
  • On a computer that is running Windows Vista or Windows Server 2008, an application uses legacy methods to query performance counter values. For example, the application uses the RegQueryValueEx function to perform a global query for performance counter data.
  • Counter data is returned from more than 64 counter sets that are registered by performance counter version 2.0 APIs. For example, the application performs a global query on a system on which more than 64 of these counter sets are registered.
In this scenario, the application may crash.

↑ Back to the top


Cause

This problem occurs because of incorrect memory management behavior in the performance counter version 2.0 interface.

↑ Back to the top


Resolution

Update information

The following files are available for download from the Microsoft Download Center:

Download the Update for Windows Vista (KB953290) package now.

Download the Update for Windows Vista for x64-based Systems (KB953290) package now.

Download the Update for Windows Server 2008 (KB953290) package now.

Download the Update for Windows Server 2008 for Itanium-based Systems (KB953290) package now.

Download the Update for Windows Server 2008 x64 Edition (KB953290) package now.

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Hotfix information

Windows Vista hotfix information

Prerequisites
No prerequisites are required.
Restart requirement
You must restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it 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.
Windows Vista, x86-based versions
File nameFile versionFile sizeDateTimePlatform
Advapi32.dll6.0.6000.20836770,56017-May-200803:29x86
Regsvc.dll6.0.6000.20836106,49617-May-200803:33x86

Windows Vista with Service Pack 1, x86-based versions
File nameFile versionFile sizeDateTimePlatformSP requirement
Advapi32.dll6.0.6001.22181798,72017-May-200803:21x86SP1
Regsvc.dll6.0.6001.22181107,00817-May-200803:26x86SP1

Windows Vista, x64-based versions
File nameFile versionFile sizeDateTimePlatform
Advapi32.dll6.0.6000.208361,032,19217-May-200803:36x64
Regsvc.dll6.0.6000.20836203,77617-May-200803:40x64

Windows Vista with Service Pack 1, x64-based versions
File nameFile versionFile sizeDateTimePlatformSP requirement
Advapi32.dll6.0.6001.221811,062,40017-May-200803:49x64SP1
Regsvc.dll6.0.6001.22181206,84817-May-200803:55x64SP1

Windows Vista with Service Pack 1, Itanium-based versions
File nameFile versionFile sizeDateTimePlatform
Advapi32.dll6.0.6001.221811,960,44817-May-200803:36IA-64
Regsvc.dll6.0.6001.22181354,81617-May-200803:45IA-64

Windows Server 2008 hotfix information

Prerequisites
No prerequisites are required.
Restart requirement
You must restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it 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.
Windows Server 2008, x86-based versions
File nameFile versionFile sizeDateTimePlatformSP requirement
Advapi32.dll6.0.6001.22181798,72017-May-200803:21x86SP1
Regsvc.dll6.0.6001.22181107,00817-May-200803:26x86SP1

Windows Server 2008, Itanium-based versions
File nameFile versionFile sizeDateTimePlatform
Advapi32.dll6.0.6001.221811,960,44817-May-200803:36IA-64
Regsvc.dll6.0.6001.22181354,81617-May-200803:45IA-64

Windows Server 2008, x64-based versions
File nameFile versionFile sizeDateTimePlatformSP requirement
Advapi32.dll6.0.6001.221811,062,40017-May-200803:49x64SP1
Regsvc.dll6.0.6001.22181206,84817-May-200803:55x64SP1

↑ Back to the top


Status

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

↑ Back to the top


More information

Performance counter version 2.0 APIs provide a new architecture for collecting counter data in Windows Vista and in Windows Server 2008. For more information about these performance counter APIs, visit the following Microsoft Web site:For more information about how an application can provide performance counter data by using the performance counter version 2.0 APIs, visit the following Microsoft Web site:For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbautohotfix, kbexpertiseinter, kbbug, kbfix, kbqfe, KB953290

↑ Back to the top

Article Info
Article ID : 953290
Revision : 3
Created on : 10/8/2011
Published on : 10/8/2011
Exists online : False
Views : 511