A memory leak issue occurs in the Audiodg.exe process when you play audio on a computer that is running Windows 7, Windows Server 2008 R2, Windows Vista or Windows Server 2008
You run a program that calls the PlaySound function to play a sound. However, a memory leak occurs in the Audiodg.exe process. To resolve this issue, you have to restart the Windows Audio service (Audiosrv). In this situation, other programs that depend on the service will be affected.
If you check the memory usage of the Audiodg.exe process, you find that the memory leak consumes several hundreds of bytes every time that the PlaySound function is called.
Note This issue occurs in the following operating systems:
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
Prerequisites
To apply this hotfix, you must be running one of the following operating systems:
Windows Vista Service Pack 1 (SP1)
Windows Vista Service Pack 2 (SP2)
Windows Server 2008
Windows Server 2008 Service Pack 2 (SP2)
Windows 7
Windows Server 2008 R2
For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:
How to obtain the latest Windows Vista service pack
For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
How to obtain the latest service pack for Windows Server 2008
Registry information
To use the hotfix in this package, you do not have to make any changes to the registry.
Restart requirement
You must restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
File information
The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
The MANIFEST files (.manifest) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MANIFEST files and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Audiodg.exe
6.1.7600.20671
100,864
18-Mar-2010
18:44
x86
Audioeng.dll
6.1.7600.20671
374,784
18-Mar-2010
18:45
x86
Audiokse.dll
6.1.7600.20671
442,880
18-Mar-2010
18:45
x86
Audioses.dll
6.1.7600.16385
195,584
14-Jul-2009
01:14
x86
Audiosrv.dll
6.1.7600.20671
473,088
18-Mar-2010
18:45
x86
Encdump.dll
5.0.1.1
274,944
14-Jul-2009
01:15
x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Audiodg.exe
6.1.7600.20671
126,464
18-Mar-2010
18:32
x64
Audioeng.dll
6.1.7600.16385
440,832
14-Jul-2009
01:40
x64
Audiokse.dll
6.1.7600.20671
499,712
18-Mar-2010
18:34
x64
Audioses.dll
6.1.7600.20671
296,448
18-Mar-2010
18:34
x64
Audiosrv.dll
6.1.7600.20671
677,376
18-Mar-2010
18:34
x64
Encdump.dll
5.0.1.1
283,648
14-Jul-2009
01:40
x64
Audioeng.dll
6.1.7600.20671
374,784
18-Mar-2010
18:45
x86
Audiokse.dll
6.1.7600.20671
442,880
18-Mar-2010
18:45
x86
Audioses.dll
6.1.7600.20671
195,584
18-Mar-2010
18:45
x86
For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Audiodg.exe
6.1.7600.20671
323,072
18-Mar-2010
18:10
IA-64
Audioeng.dll
6.1.7600.16385
518,656
14-Jul-2009
01:45
IA-64
Audiokse.dll
6.1.7600.20671
338,944
18-Mar-2010
18:11
IA-64
Audioses.dll
6.1.7600.16385
608,256
14-Jul-2009
01:45
IA-64
Audiosrv.dll
6.1.7600.20671
1,382,912
18-Mar-2010
18:11
IA-64
Audioeng.dll
6.1.7600.20671
374,784
18-Mar-2010
18:45
x86
Audiokse.dll
6.1.7600.20671
442,880
18-Mar-2010
18:45
x86
Audioses.dll
6.1.7600.20671
195,584
18-Mar-2010
18:45
x86
Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
Collapse this tableExpand this table
Version
Product
SR_Level
Service branch
6.0.600
1
.
22xxx
Windows Vista and Windows Server 2008
SP1
LDR
6.0.600
2
.
22xxx
Windows Vista and Windows Server 2008
SP2
LDR
Service Pack 1 is integrated into the release version of Windows Server 2008. Therefore, RTM milestone files apply only to Windows Vista. RTM milestone files have a 6.0.0000.xxxxx version number.
The MANIFEST files (.manifest) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Audiocore.mof
4,352
01-Apr-2009
18:54
Not applicable
Audiodg.exe
6.0.6001.22652
88,064
09-Mar-2010
14:23
x86
Audioeng.dll
6.0.6001.22652
397,312
09-Mar-2010
15:57
x86
Audiokse.dll
6.0.6001.22652
274,432
09-Mar-2010
16:02
x86
Audioses.dll
6.0.6001.22652
116,224
09-Mar-2010
15:57
x86
Audiosrv.dll
6.0.6001.22652
314,880
09-Mar-2010
15:57
x86
Encdump.dll
5.00
169,984
09-Mar-2010
15:59
x86
Audiocore.mof
4,352
03-Apr-2009
20:41
Not applicable
Audiodg.exe
6.0.6002.22358
88,576
09-Mar-2010
14:12
x86
Audioeng.dll
6.0.6002.22358
396,800
09-Mar-2010
16:04
x86
Audiokse.dll
6.0.6002.22358
274,432
09-Mar-2010
16:08
x86
Audioses.dll
6.0.6002.22358
115,712
09-Mar-2010
16:04
x86
Audiosrv.dll
6.0.6002.22358
315,392
09-Mar-2010
16:04
x86
Encdump.dll
5.00
169,984
09-Mar-2010
16:05
x86
Mmdevapi.dll
6.0.6001.22652
150,528
09-Mar-2010
16:01
x86
Mmdevapi.dll
6.0.6002.22358
150,528
09-Mar-2010
16:06
x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Audiocore.mof
4,352
01-Apr-2009
15:54
Not applicable
Audiodg.exe
6.0.6001.22652
111,104
09-Mar-2010
15:32
x64
Audioeng.dll
6.0.6001.22652
474,624
09-Mar-2010
17:05
x64
Audiokse.dll
6.0.6001.22652
313,344
09-Mar-2010
17:09
x64
Audioses.dll
6.0.6001.22652
190,464
09-Mar-2010
17:05
x64
Audiosrv.dll
6.0.6001.22652
444,416
09-Mar-2010
17:05
x64
Encdump.dll
5.00
201,728
09-Mar-2010
17:06
x64
Audiocore.mof
4,352
03-Apr-2009
20:39
Not applicable
Audiodg.exe
6.0.6002.22358
111,104
09-Mar-2010
14:34
x64
Audioeng.dll
6.0.6002.22358
474,624
09-Mar-2010
16:13
x64
Audiokse.dll
6.0.6002.22358
313,344
09-Mar-2010
16:16
x64
Audioses.dll
6.0.6002.22358
190,464
09-Mar-2010
16:13
x64
Audiosrv.dll
6.0.6002.22358
445,440
09-Mar-2010
16:13
x64
Encdump.dll
5.00
201,728
09-Mar-2010
16:14
x64
Mmdevapi.dll
6.0.6001.22652
203,264
09-Mar-2010
17:07
x64
Mmdevapi.dll
6.0.6002.22358
203,776
09-Mar-2010
16:14
x64
Audiocore.mof
4,352
01-Apr-2009
18:54
Not applicable
Audiodg.exe
6.0.6001.22652
88,064
09-Mar-2010
14:23
x86
Audioeng.dll
6.0.6001.22652
397,312
09-Mar-2010
15:57
x86
Audiokse.dll
6.0.6001.22652
274,432
09-Mar-2010
16:02
x86
Audioses.dll
6.0.6001.22652
116,224
09-Mar-2010
15:57
x86
Audiocore.mof
4,352
03-Apr-2009
20:41
Not applicable
Audiodg.exe
6.0.6002.22358
88,576
09-Mar-2010
14:12
x86
Audioeng.dll
6.0.6002.22358
396,800
09-Mar-2010
16:04
x86
Audiokse.dll
6.0.6002.22358
274,432
09-Mar-2010
16:08
x86
Audioses.dll
6.0.6002.22358
115,712
09-Mar-2010
16:04
x86
For all supported IA-64-based versions of Windows Server 2008