Microsoft KB Archive/940252

From BetaArchive Wiki

Article ID: 940252

Article Last Modified on 10/11/2007



APPLIES TO

  • Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Standard x64 Edition
  • Microsoft Windows Server 2003 R2 Enterprise x64 Edition
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional



SYMPTOMS

The Volume Shadow Copy Service (VSS) may leak private bytes and virtual memory when you use the service to take frequent snapshots in Windows Server 2003 or in Windows XP.

To view the leaks in System Monitor, use the following performance counters under the Process object:

  • Private Bytes
  • Virtual Bytes


CAUSE

This problem occurs if the VSS software provider is unable to load snapshot objects. In this situation, the VSS software provider (Swprv.dll) does not release the allocated VSS_SNAPSHOT_PROP structures.

RESOLUTION

Hotfix information for Windows Server 2003

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 Windows Server 2003 Service Pack 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 Web site:

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 Windows Server 2003 Service Pack 1 or Windows Server 2003 Service Pack 2 installed.

889100 How to obtain the latest service pack for Windows Server 2003


Restart requirement

You have to 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 2003 with Service Pack 2, x86-based versions
File name File version File size Date Time Platform SP requirement
Eventcls.dll 5.2.3790.4120 31,232 20-Jul-2007 09:44 x86 SP2
Ftdisk.sys 5.2.3790.4120 137,216 19-Jul-2007 13:01 x86 SP2
Partmgr.sys 5.2.3790.4120 25,088 19-Jul-2007 14:48 x86 SP2
Swprv.dll 5.2.3790.4120 275,968 20-Jul-2007 09:44 x86 SP2
Volsnap.sys 5.2.3790.4120 154,112 19-Jul-2007 13:01 x86 SP2
Vssadmin.exe 5.2.3790.4120 134,144 19-Jul-2007 13:02 x86 SP2
Vssapi.dll 5.2.3790.4120 566,272 20-Jul-2007 09:44 x86 SP2
Vssui.dll 5.2.3790.4120 144,384 20-Jul-2007 09:44 x86 SP2
Vssvc.exe 5.2.3790.4120 836,608 19-Jul-2007 13:02 x86 SP2
Vss_ps.dll 5.2.3790.4120 19,456 20-Jul-2007 09:44 x86 SP2
Windows Server 2003 with SP2, x64-based versions
File name File version File size Date Time Platform SP requirement Service branch
Eventcls.dll 5.2.3790.4120 46,080 19-Jul-2007 19:48 x64 SP2 Not applicable
Ftdisk.sys 5.2.3790.4120 240,128 19-Jul-2007 19:48 x64 SP2 Not applicable
Partmgr.sys 5.2.3790.4120 45,056 19-Jul-2007 19:48 x64 SP2 Not applicable
Volsnap.sys 5.2.3790.4120 289,792 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssui.dll 5.2.3790.4120 233,472 19-Jul-2007 19:48 x64 SP2 Not applicable
Vss_ps.dll 5.2.3790.4120 25,600 19-Jul-2007 19:48 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4120 658,432 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4120 245,248 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4120 1,332,736 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4120 2,062,848 19-Jul-2007 19:48 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4120 658,432 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4120 245,248 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4120 1,332,736 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4120 2,062,848 19-Jul-2007 19:48 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4120 658,432 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4120 245,248 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4120 1,332,736 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4120 2,062,848 19-Jul-2007 19:48 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4120 658,432 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4120 245,248 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4120 1,332,736 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4120 2,062,848 19-Jul-2007 19:48 x64 SP2 Not applicable
Wvssapi.dll 5.2.3790.4120 566,272 19-Jul-2007 19:48 x86 SP2 WOW
Wvss_ps.dll 5.2.3790.4120 19,456 19-Jul-2007 19:48 x86 SP2 WOW
Windows Server 2003 with Service Pack 2, Itanium-based versions
File name File version File size Date Time Platform SP requirement Service branch
Eventcls.dll 5.2.3790.4120 82,432 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Ftdisk.sys 5.2.3790.4120 499,200 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Partmgr.sys 5.2.3790.4120 83,456 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Volsnap.sys 5.2.3790.4120 478,208 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Vssui.dll 5.2.3790.4120 407,552 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Vss_ps.dll 5.2.3790.4120 31,232 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Swprv.dll 5.2.3790.4120 833,536 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4120 313,856 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Vssapi.dll 5.2.3790.4120 1,654,272 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Vssvc.exe 5.2.3790.4120 2,587,648 19-Jul-2007 19:46 IA-64 SP2 Not applicable
Swprv.dll 5.2.3790.4120 833,536 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4120 313,856 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Vssapi.dll 5.2.3790.4120 1,654,272 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Vssvc.exe 5.2.3790.4120 2,587,648 19-Jul-2007 19:45 IA-64 SP2 Not applicable
Wvssapi.dll 5.2.3790.4120 566,272 19-Jul-2007 19:46 x86 SP2 WOW
Wvss_ps.dll 5.2.3790.4120 19,456 19-Jul-2007 19:46 x86 SP2 WOW
Windows Server 2003 with Service Pack 1, x86-based versions
File name File version File size Date Time Platform SP requirement
Eventcls.dll 5.2.3790.2978 31,232 20-Jul-2007 09:28 x86 SP1
Ftdisk.sys 5.2.3790.2978 137,216 19-Jul-2007 13:03 x86 SP1
Partmgr.sys 5.2.3790.2978 25,088 19-Jul-2007 13:42 x86 SP1
Swprv.dll 5.2.3790.2978 275,968 20-Jul-2007 09:28 x86 SP1
Volsnap.sys 5.2.3790.2978 154,112 19-Jul-2007 13:03 x86 SP1
Vssadmin.exe 5.2.3790.2978 134,144 19-Jul-2007 13:04 x86 SP1
Vssapi.dll 5.2.3790.2978 565,760 20-Jul-2007 09:28 x86 SP1
Vssui.dll 5.2.3790.2978 144,384 19-Jul-2007 19:34 x86 SP1
Vssvc.exe 5.2.3790.2978 836,608 19-Jul-2007 13:04 x86 SP1
Vss_ps.dll 5.2.3790.2978 19,456 20-Jul-2007 09:28 x86 SP1
Windows Server 2003, x64-based versions
File name File version File size Date Time Platform SP requirement Service branch
Eventcls.dll 5.2.3790.2978 46,080 19-Jul-2007 19:44 x64 SP1 Not applicable
Ftdisk.sys 5.2.3790.2978 240,128 19-Jul-2007 19:44 x64 SP1 Not applicable
Partmgr.sys 5.2.3790.2978 45,056 19-Jul-2007 19:44 x64 SP1 Not applicable
Volsnap.sys 5.2.3790.2978 289,792 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssui.dll 5.2.3790.2978 233,472 19-Jul-2007 19:44 x64 SP1 Not applicable
Vss_ps.dll 5.2.3790.2978 25,600 19-Jul-2007 19:44 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2978 658,432 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2978 245,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2978 1,333,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2978 2,062,848 19-Jul-2007 19:44 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2978 658,432 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2978 245,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2978 1,333,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2978 2,062,848 19-Jul-2007 19:44 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2978 658,432 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2978 245,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2978 1,333,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2978 2,062,848 19-Jul-2007 19:44 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2978 658,432 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2978 245,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2978 1,333,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2978 2,062,848 19-Jul-2007 19:44 x64 SP1 Not applicable
Wvssapi.dll 5.2.3790.2978 565,760 19-Jul-2007 19:44 x86 SP1 WOW
Wvss_ps.dll 5.2.3790.2978 19,456 19-Jul-2007 19:44 x86 SP1 WOW
Windows Server 2003 with Service Pack 1, Itanium-based versions
File name File version File size Date Time Platform SP requirement Service branch
Eventcls.dll 5.2.3790.2978 82,432 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Ftdisk.sys 5.2.3790.2978 499,200 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Partmgr.sys 5.2.3790.2978 83,456 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Volsnap.sys 5.2.3790.2978 478,208 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Vssui.dll 5.2.3790.2978 407,552 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Vss_ps.dll 5.2.3790.2978 31,232 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Swprv.dll 5.2.3790.2978 833,536 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2978 313,856 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Vssapi.dll 5.2.3790.2978 1,654,272 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Vssvc.exe 5.2.3790.2978 2,587,648 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Swprv.dll 5.2.3790.2978 833,536 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2978 313,856 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Vssapi.dll 5.2.3790.2978 1,654,272 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Vssvc.exe 5.2.3790.2978 2,587,648 19-Jul-2007 19:43 IA-64 SP1 Not applicable
Wvssapi.dll 5.2.3790.2978 565,760 19-Jul-2007 19:43 x86 SP1 WOW
Wvss_ps.dll 5.2.3790.2978 19,456 19-Jul-2007 19:43 x86 SP1 WOW

Hotfix information for Windows XP

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 Windows XP service pack 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 Web site:

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 an x64-based version of Windows XP Service Pack 1 or Windows XP Service Pack 2 installed.

322389 How to obtain the latest Windows XP service pack


Restart requirement

You have to 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 XP Professional x64 Edition with Service Pack 2
File name File version File size Date Time Platform SP requirement Service branch
Eventcls.dll 5.2.3790.4120 46,080 19-Jul-2007 19:48 x64 SP2 Not applicable
Ftdisk.sys 5.2.3790.4120 240,128 19-Jul-2007 19:48 x64 SP2 Not applicable
Partmgr.sys 5.2.3790.4120 45,056 19-Jul-2007 19:48 x64 SP2 Not applicable
Volsnap.sys 5.2.3790.4120 289,792 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssui.dll 5.2.3790.4120 233,472 19-Jul-2007 19:48 x64 SP2 Not applicable
Vss_ps.dll 5.2.3790.4120 25,600 19-Jul-2007 19:48 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4120 658,432 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4120 245,248 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4120 1,332,736 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4120 2,062,848 19-Jul-2007 19:48 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4120 658,432 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4120 245,248 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4120 1,332,736 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4120 2,062,848 19-Jul-2007 19:48 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4120 658,432 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4120 245,248 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4120 1,332,736 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4120 2,062,848 19-Jul-2007 19:48 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4120 658,432 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4120 245,248 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4120 1,332,736 19-Jul-2007 19:48 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4120 2,062,848 19-Jul-2007 19:48 x64 SP2 Not applicable
Wvssapi.dll 5.2.3790.4120 566,272 19-Jul-2007 19:48 x86 SP2 WOW
Wvss_ps.dll 5.2.3790.4120 19,456 19-Jul-2007 19:48 x86 SP2 WOW
Windows XP Professional x64 Edition with Service Pack 1
File name File version File size Date Time Platform SP requirement Service branch
Eventcls.dll 5.2.3790.2978 46,080 19-Jul-2007 19:44 x64 SP1 Not applicable
Ftdisk.sys 5.2.3790.2978 240,128 19-Jul-2007 19:44 x64 SP1 Not applicable
Partmgr.sys 5.2.3790.2978 45,056 19-Jul-2007 19:44 x64 SP1 Not applicable
Volsnap.sys 5.2.3790.2978 289,792 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssui.dll 5.2.3790.2978 233,472 19-Jul-2007 19:44 x64 SP1 Not applicable
Vss_ps.dll 5.2.3790.2978 25,600 19-Jul-2007 19:44 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2978 658,432 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2978 245,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2978 1,333,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2978 2,062,848 19-Jul-2007 19:44 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2978 658,432 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2978 245,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2978 1,333,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2978 2,062,848 19-Jul-2007 19:44 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2978 658,432 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2978 245,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2978 1,333,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2978 2,062,848 19-Jul-2007 19:44 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2978 658,432 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2978 245,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2978 1,333,248 19-Jul-2007 19:44 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2978 2,062,848 19-Jul-2007 19:44 x64 SP1 Not applicable
Wvssapi.dll 5.2.3790.2978 565,760 19-Jul-2007 19:44 x86 SP1 WOW
Wvss_ps.dll 5.2.3790.2978 19,456 19-Jul-2007 19:44 x86 SP1 WOW


STATUS

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

MORE INFORMATION

Call stack output

When this issue occurs, the following call stack is generated:

ntdll!RtlAllocateHeap+0x21d
ole32!CRetailMalloc_Alloc+0x16
ole32!CoTaskMemAlloc+0x13 
swprv!VssAllocString+0x13
swprv!CVssIOCTLChannel::UnpackSmallString+0x68
swprv!CVssQueuedSnapshot::LoadStructure+0x2ef
swprv!CVsSoftwareProvider::InternalDeleteSnapshots+0x2df 
swprv!CVssQueuedSnapshot::~CVssQueuedSnapshot+0x12a 
swprv!CVssQueuedSnapshot::`scalar deleting destructor'+0xd 
swprv!CVssQueuedSnapshot::Release+0x27 
swprv!CVsSoftwareProvider::RemoveSnapshotsFromGlobalList+0x17a 
swprv!CVsSoftwareProvider::~CVsSoftwareProvider+0x8d 
swprv!ATL::CComObject<CVsSoftwareProvider>::~CComObject<CVsSoftwareProvider>+0x4c 
swprv!ATL::CComObject<CVsSoftwareProvider>::`scalar deleting destructor'+0xd 
swprv!ATL::CComObject<CVsSoftwareProvider>::Release+0x27 


Additional query words: VSS software provider leak memory

Keywords: kbqfe kbexpertiseinter kbhotfixserver KB940252