Symptoms
Consider the following scenario:
-
You have a computer that is running Windows 7, Windows Server 2008 R2, Windows Server 2008, or Windows Vista.
-
You have an application that calls the WSASocket function to create sockets and that calls the SetHandleInformation function to set the socket attribute on the computer.
-
The application also creates child processes.
-
The application closes a socket connection or shuts down.
In this scenario, the application may stop responding.
Cause
This issue occurs because the child process does not release the handle for a long time.
By default, socket handles are inheritable. When a child process is created, the child process inherits the socket handle from the parent process. When the parent process tries to close the socket, it waits until the child process releases the handle. However, the child process does not release the handle for a long time. Therefore, the application stops responding.ÂResolution
Windows 7 and Windows Server 2007 R2: The fix for this issue was first included in Service Pack 1 for Windows Server 2008 R2. You can download this service pack from the following Microsoft website:
http://www.microsoft.com/download/en/details.aspx?FamilyID=C3202CE6-4056-4059-8A1B-3A9B77CDFDDA The following hotfix introduces a new WSA_FLAG_NO_HANDLE_INHERIT flag for the WSASocket function to specify whether to inherit the socket handle.
Hotfix information
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 website:http://support.microsoft.com/contactus/?ws=supportNote 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)
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:
935791 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:
968849 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 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.
Version
Product
SR_Level
Service branch
6.0.600
1. 22xxxWindows Vista and Windows Server 2008
SP1
LDR
6.0.600
2. 22xxxWindows 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.xxxxxx version number.
-
The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are very important for maintaining the state of the updated component. 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
File name |
File version |
File size |
Date |
Time |
Platform |
Service branch |
---|---|---|---|---|---|---|
Mswsock.dll |
6.0.6001.22755 |
223,232 |
01-Sep-2010 |
19:24 |
x86 |
X86_MICROSOFT-WINDOWS-W..-INFRASTRUCTURE-BSP_31BF3856AD364E35_6.0.6001.22755_NONE_B8ABF10B468D57AA |
Mswsock.dll |
6.0.6002.22479 |
223,232 |
01-Sep-2010 |
21:06 |
x86 |
X86_MICROSOFT-WINDOWS-W..-INFRASTRUCTURE-BSP_31BF3856AD364E35_6.0.6002.22479_NONE_BA80C44343C04A0C |
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
File name |
File version |
File size |
Date |
Time |
Platform |
Service branch |
---|---|---|---|---|---|---|
Mswsock.dll |
6.0.6001.22755 |
304,128 |
01-Sep-2010 |
19:50 |
x64 |
AMD64_MICROSOFT-WINDOWS-W..-INFRASTRUCTURE-BSP_31BF3856AD364E35_6.0.6001.22755_NONE_14CA8C8EFEEAC8E0 |
Mswsock.dll |
6.0.6002.22479 |
304,128 |
01-Sep-2010 |
20:26 |
x64 |
AMD64_MICROSOFT-WINDOWS-W..-INFRASTRUCTURE-BSP_31BF3856AD364E35_6.0.6002.22479_NONE_169F5FC6FC1DBB42 |
Mswsock.dll |
6.0.6001.22755 |
223,232 |
01-Sep-2010 |
19:24 |
x86 |
X86_MICROSOFT-WINDOWS-W..-INFRASTRUCTURE-BSP_31BF3856AD364E35_6.0.6001.22755_NONE_B8ABF10B468D57AA |
Mswsock.dll |
6.0.6002.22479 |
223,232 |
01-Sep-2010 |
21:06 |
x86 |
X86_MICROSOFT-WINDOWS-W..-INFRASTRUCTURE-BSP_31BF3856AD364E35_6.0.6002.22479_NONE_BA80C44343C04A0C |
For all supported IA-64-based versions of Windows Server 2008
File name |
File version |
File size |
Date |
Time |
Platform |
Service branch |
---|---|---|---|---|---|---|
Mswsock.dll |
6.0.6001.22755 |
710,656 |
01-Sep-2010 |
19:26 |
IA-64 |
IA64_MICROSOFT-WINDOWS-W..-INFRASTRUCTURE-BSP_31BF3856AD364E35_6.0.6001.22755_NONE_B8AD9501468B60A6 |
Mswsock.dll |
6.0.6002.22479 |
710,656 |
01-Sep-2010 |
20:37 |
IA-64 |
IA64_MICROSOFT-WINDOWS-W..-INFRASTRUCTURE-BSP_31BF3856AD364E35_6.0.6002.22479_NONE_BA82683943BE5308 |
Mswsock.dll |
6.0.6001.22755 |
223,232 |
01-Sep-2010 |
19:24 |
x86 |
X86_MICROSOFT-WINDOWS-W..-INFRASTRUCTURE-BSP_31BF3856AD364E35_6.0.6001.22755_NONE_B8ABF10B468D57AA |
Mswsock.dll |
6.0.6002.22479 |
223,232 |
01-Sep-2010 |
21:06 |
x86 |
X86_MICROSOFT-WINDOWS-W..-INFRASTRUCTURE-BSP_31BF3856AD364E35_6.0.6002.22479_NONE_BA80C44343C04A0C |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More Information
For more information about the WSASocket function, visit the following Microsoft website:
General information about the WSASocket functionFor more information about the SetHandleInformation function, visit the following Microsoft website:
General information about the SetHandleInformation functionFor more information about the CreateProcess function, visit the following Microsoft website:
General information about the CreateProcess functionFor more information about the closesocket function, visit the following Microsoft website:
General information about the closesocket functionFor 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
Additional file information
Additional file information for Windows Vista and for Windows Server 2008
Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
File name |
Update.mum |
File version |
Not applicable |
File size |
3,577 |
Date (UTC) |
02-Sep-2010 |
Time (UTC) |
06:56 |
Platform |
Not applicable |
File name |
X86_c2380966ccbdcbf3264293a78b8f57a3_31bf3856ad364e35_6.0.6001.22755_none_2266dd51e7696d00.manifest |
File version |
Not applicable |
File size |
719 |
Date (UTC) |
02-Sep-2010 |
Time (UTC) |
06:56 |
Platform |
Not applicable |
File name |
X86_fb6890ba4dc2b20e0eee942dbc1213b9_31bf3856ad364e35_6.0.6002.22479_none_d31eb0f3e5a25546.manifest |
File version |
Not applicable |
File size |
719 |
Date (UTC) |
02-Sep-2010 |
Time (UTC) |
06:56 |
Platform |
Not applicable |
File name |
X86_microsoft-windows-w..-infrastructure-bsp_31bf3856ad364e35_6.0.6001.22755_none_b8abf10b468d57aa.manifest |
File version |
Not applicable |
File size |
6,759 |
Date (UTC) |
01-Sep-2010 |
Time (UTC) |
19:41 |
Platform |
Not applicable |
File name |
X86_microsoft-windows-w..-infrastructure-bsp_31bf3856ad364e35_6.0.6002.22479_none_ba80c44343c04a0c.manifest |
File version |
Not applicable |
File size |
6,759 |
Date (UTC) |
01-Sep-2010 |
Time (UTC) |
21:27 |
Platform |
Not applicable |
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
File name |
Amd64_3a56df4bff5eefa45859cf0099cfc5ae_31bf3856ad364e35_6.0.6001.22755_none_8d29a8985cdbea11.manifest |
File version |
Not applicable |
File size |
723 |
Date (UTC) |
02-Sep-2010 |
Time (UTC) |
06:56 |
Platform |
Not applicable |
File name |
Amd64_bf8816280a301c699a8f8203c4190e17_31bf3856ad364e35_6.0.6001.22755_none_9fcb2725b847333c.manifest |
File version |
Not applicable |
File size |
1,086 |
Date (UTC) |
02-Sep-2010 |
Time (UTC) |
06:56 |
Platform |
Not applicable |
File name |
Amd64_c53f614436b68b52749ee20d20cb3435_31bf3856ad364e35_6.0.6002.22479_none_d4f2dca3963de973.manifest |
File version |
Not applicable |
File size |
1,086 |
Date (UTC) |
02-Sep-2010 |
Time (UTC) |
06:56 |
Platform |
Not applicable |
File name |
Amd64_microsoft-windows-w..-infrastructure-bsp_31bf3856ad364e35_6.0.6001.22755_none_14ca8c8efeeac8e0.manifest |
File version |
Not applicable |
File size |
6,783 |
Date (UTC) |
01-Sep-2010 |
Time (UTC) |
20:10 |
Platform |
Not applicable |
File name |
Amd64_microsoft-windows-w..-infrastructure-bsp_31bf3856ad364e35_6.0.6002.22479_none_169f5fc6fc1dbb42.manifest |
File version |
Not applicable |
File size |
6,783 |
Date (UTC) |
01-Sep-2010 |
Time (UTC) |
20:46 |
Platform |
Not applicable |
File name |
Update.mum |
File version |
Not applicable |
File size |
3,605 |
Date (UTC) |
02-Sep-2010 |
Time (UTC) |
06:56 |
Platform |
Not applicable |
File name |
X86_microsoft-windows-w..-infrastructure-bsp_31bf3856ad364e35_6.0.6001.22755_none_b8abf10b468d57aa.manifest |
File version |
Not applicable |
File size |
6,759 |
Date (UTC) |
01-Sep-2010 |
Time (UTC) |
19:41 |
Platform |
Not applicable |
File name |
X86_microsoft-windows-w..-infrastructure-bsp_31bf3856ad364e35_6.0.6002.22479_none_ba80c44343c04a0c.manifest |
File version |
Not applicable |
File size |
6,759 |
Date (UTC) |
01-Sep-2010 |
Time (UTC) |
21:27 |
Platform |
Not applicable |
Additional files for all supported IA-64-based versions of Windows Server 2008
File name |
Ia64_19a703e0e85c6dc3d4f6817e1a36a3bd_31bf3856ad364e35_6.0.6002.22479_none_549e6a19dd10210a.manifest |
File version |
Not applicable |
File size |
1,084 |
Date (UTC) |
02-Sep-2010 |
Time (UTC) |
06:56 |
Platform |
Not applicable |
File name |
Ia64_53757a883c48ae1b549cbf717db16dcf_31bf3856ad364e35_6.0.6001.22755_none_e9c62c6836e81204.manifest |
File version |
Not applicable |
File size |
1,084 |
Date (UTC) |
02-Sep-2010 |
Time (UTC) |
06:56 |
Platform |
Not applicable |
File name |
Ia64_da9456f4135fedc07df726979373e0b5_31bf3856ad364e35_6.0.6001.22755_none_94f7bb42e01b6ed7.manifest |
File version |
Not applicable |
File size |
721 |
Date (UTC) |
02-Sep-2010 |
Time (UTC) |
06:56 |
Platform |
Not applicable |
File name |
Ia64_microsoft-windows-w..-infrastructure-bsp_31bf3856ad364e35_6.0.6001.22755_none_b8ad9501468b60a6.manifest |
File version |
Not applicable |
File size |
6,771 |
Date (UTC) |
01-Sep-2010 |
Time (UTC) |
19:42 |
Platform |
Not applicable |
File name |
Ia64_microsoft-windows-w..-infrastructure-bsp_31bf3856ad364e35_6.0.6002.22479_none_ba82683943be5308.manifest |
File version |
Not applicable |
File size |
6,771 |
Date (UTC) |
01-Sep-2010 |
Time (UTC) |
20:52 |
Platform |
Not applicable |
File name |
Update.mum |
File version |
Not applicable |
File size |
2,758 |
Date (UTC) |
02-Sep-2010 |
Time (UTC) |
06:56 |
Platform |
Not applicable |
File name |
X86_microsoft-windows-w..-infrastructure-bsp_31bf3856ad364e35_6.0.6001.22755_none_b8abf10b468d57aa.manifest |
File version |
Not applicable |
File size |
6,759 |
Date (UTC) |
01-Sep-2010 |
Time (UTC) |
19:41 |
Platform |
Not applicable |
File name |
X86_microsoft-windows-w..-infrastructure-bsp_31bf3856ad364e35_6.0.6002.22479_none_ba80c44343c04a0c.manifest |
File version |
Not applicable |
File size |
6,759 |
Date (UTC) |
01-Sep-2010 |
Time (UTC) |
21:27 |
Platform |
Not applicable |