A multithreaded application might crash in Windows 7 or in Windows Server 2008 R2

Applies to: Windows Server 2008 R2 StandardWindows Server 2008 R2 FoundationWindows Server 2008 R2 Enterprise More

Symptoms


On a computer that is running Windows 7 or Windows Server 2008 R2, you use a multithreaded application that uses a heap. In this situation, the application might crash unexpectedly because of a race condition. Additionally, the following error is logged in the Application log:
Event ID: 1000
Source: Application error
Faulting application name: xxx
Faulting module name: ntdll.dll, xxxException code: 0xc0000005
Fault offset: xxxx
Faulting process id: xxx
Faulting application start time: xxxx
Faulting application path: xxx
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll

Resolution


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: 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 7
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2
  • Windows Server 2008 R2 SP1
For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To apply 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 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.
    VersionProductSR_LevelService branch
    6.1.760
    0.
    21xxx
    Windows 7 and Windows Server 2008 R2RTMLDR
    6.1.760
    1.
    21xxx
    Windows 7 and Windows Server 2008 R2SP1LDR
  • 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 R2 and for Windows 7" section. MUM and 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
File nameFile versionFile sizeDateTime
Ntdll.dll6.1.7600.209711,289,53623-May-201104:33
Ntdll.dll6.1.7601.217321,288,48823-May-201106:11
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Ntdll.dll6.1.7600.209711,739,17623-May-201105:25x64
Ntdll.dll6.1.7601.217321,731,93623-May-201105:04x64
Ntdll.dll6.1.7600.209711,293,12023-May-201104:33x86
Ntdll.dll6.1.7601.217321,292,09623-May-201106:11x86
For all supported IA-64–based versions of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Ntdll.dll6.1.7600.209712,787,32023-May-201104:04IA-64
Ntdll.dll6.1.7601.217322,785,27223-May-201104:06IA-64
Ntdll.dll6.1.7600.209711,293,12023-May-201104:33x86
Ntdll.dll6.1.7601.217321,292,09623-May-201106:11x86

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 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 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7
File nameX86_9a19653f5694b6b31a39c864a2949af0_31bf3856ad364e35_6.1.7600.20971_none_ee6cfed742c37d82.manifest
File versionNot applicable
File size693
Date (UTC)23-May-2011
Time (UTC)23:05
File nameX86_acab9958003ddf888b1e66a369b867b1_31bf3856ad364e35_6.1.7600.20971_none_0ac4fa0da8f98210.manifest
File versionNot applicable
File size717
Date (UTC)23-May-2011
Time (UTC)23:05
File nameX86_ba1e04c449754aeae89724f93fe35277_31bf3856ad364e35_6.1.7601.21732_none_c0e06dc3159abcb3.manifest
File versionNot applicable
File size693
Date (UTC)23-May-2011
Time (UTC)23:05
File nameX86_microsoft-windows-ntdll_31bf3856ad364e35_6.1.7600.20971_none_593da972769a51c7.manifest
File versionNot applicable
File size3,802
Date (UTC)23-May-2011
Time (UTC)05:03
File nameX86_microsoft-windows-ntdll_31bf3856ad364e35_6.1.7601.21732_none_5b504672739f6746.manifest
File versionNot applicable
File size3,802
Date (UTC)23-May-2011
Time (UTC)06:31
File nameX86_microsoft-windows-r..gistry-trustedtypes_31bf3856ad364e35_6.1.7600.20971_none_8464c4c3a8d4c2b3.manifest
File versionNot applicable
File size8,047
Date (UTC)23-May-2011
Time (UTC)04:55
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameAmd64_2ed8fde82fe94be0f5c861f8b48db0f0_31bf3856ad364e35_6.1.7600.20971_none_125aca5300b68870.manifest
File versionNot applicable
File size1,036
Date (UTC)23-May-2011
Time (UTC)23:05
File nameAmd64_416b8b563f6b0ba652a8452629923ff4_31bf3856ad364e35_6.1.7601.21732_none_355fee4bf6dd2f75.manifest
File versionNot applicable
File size697
Date (UTC)23-May-2011
Time (UTC)23:05
File nameAmd64_54ee2f98c1a3e942f16413eb0b8b026a_31bf3856ad364e35_6.1.7601.21732_none_a3c9411cbd46d2de.manifest
File versionNot applicable
File size697
Date (UTC)23-May-2011
Time (UTC)23:05
File nameAmd64_9f3b4c937b54ec45dec9720b4b104460_31bf3856ad364e35_6.1.7600.20971_none_233c5f1e189648bf.manifest
File versionNot applicable
File size697
Date (UTC)23-May-2011
Time (UTC)23:05
File nameAmd64_9f6e8c60cf9b41bd38b583357c4a0240_31bf3856ad364e35_6.1.7600.20971_none_1644ae4bf6be0f88.manifest
File versionNot applicable
File size721
Date (UTC)23-May-2011
Time (UTC)23:05
File nameAmd64_d73da76eb5f21e040b707ce65b2944d7_31bf3856ad364e35_6.1.7601.21732_none_1616969643a2bce4.manifest
File versionNot applicable
File size1,036
Date (UTC)23-May-2011
Time (UTC)23:05
File nameAmd64_fa17f3553b187f123e43bddbcecf9236_31bf3856ad364e35_6.1.7600.20971_none_cd6727a844de09d6.manifest
File versionNot applicable
File size697
Date (UTC)23-May-2011
Time (UTC)23:05
File nameAmd64_microsoft-windows-ntdll_31bf3856ad364e35_6.1.7600.20971_none_b55c44f62ef7c2fd.manifest
File versionNot applicable
File size3,806
Date (UTC)23-May-2011
Time (UTC)05:53
File nameAmd64_microsoft-windows-ntdll_31bf3856ad364e35_6.1.7601.21732_none_b76ee1f62bfcd87c.manifest
File versionNot applicable
File size3,806
Date (UTC)23-May-2011
Time (UTC)07:13
File nameAmd64_microsoft-windows-r..gistry-trustedtypes_31bf3856ad364e35_6.1.7600.20971_none_e0836047613233e9.manifest
File versionNot applicable
File size8,049
Date (UTC)23-May-2011
Time (UTC)05:48
File nameWow64_microsoft-windows-ntdll_31bf3856ad364e35_6.1.7600.20971_none_bfb0ef48635884f8.manifest
File versionNot applicable
File size3,566
Date (UTC)23-May-2011
Time (UTC)04:52
File nameWow64_microsoft-windows-ntdll_31bf3856ad364e35_6.1.7601.21732_none_c1c38c48605d9a77.manifest
File versionNot applicable
File size3,566
Date (UTC)23-May-2011
Time (UTC)06:25
Additional files for all supported IA-64–based versions of Windows Server 2008 R2
File nameIa64_3ad50a226542563a85c6ce0f08f345e2_31bf3856ad364e35_6.1.7600.20971_none_2ebf5acd7b9dc25d.manifest
File versionNot applicable
File size719
Date (UTC)23-May-2011
Time (UTC)23:04
File nameIa64_54ee2f98c1a3e942f16413eb0b8b026a_31bf3856ad364e35_6.1.7601.21732_none_47ac498f04e76aa4.manifest
File versionNot applicable
File size696
Date (UTC)23-May-2011
Time (UTC)23:04
File nameIa64_7ab12a8bb983991f305389c70d81dcc9_31bf3856ad364e35_6.1.7601.21732_none_b53b3b14caa98284.manifest
File versionNot applicable
File size695
Date (UTC)23-May-2011
Time (UTC)23:04
File nameIa64_dacacee87a635e809b8aa86c09435207_31bf3856ad364e35_6.1.7600.20971_none_49807a3440ff48e1.manifest
File versionNot applicable
File size695
Date (UTC)23-May-2011
Time (UTC)23:04
File nameIa64_fa17f3553b187f123e43bddbcecf9236_31bf3856ad364e35_6.1.7600.20971_none_714a301a8c7ea19c.manifest
File versionNot applicable
File size696
Date (UTC)23-May-2011
Time (UTC)23:04
File nameIa64_microsoft-windows-ntdll_31bf3856ad364e35_6.1.7600.20971_none_593f4d6876985ac3.manifest
File versionNot applicable
File size3,804
Date (UTC)23-May-2011
Time (UTC)05:54
File nameIa64_microsoft-windows-ntdll_31bf3856ad364e35_6.1.7601.21732_none_5b51ea68739d7042.manifest
File versionNot applicable
File size3,804
Date (UTC)23-May-2011
Time (UTC)07:14
File nameIa64_microsoft-windows-r..gistry-trustedtypes_31bf3856ad364e35_6.1.7600.20971_none_846668b9a8d2cbaf.manifest
File versionNot applicable
File size8,048
Date (UTC)23-May-2011
Time (UTC)05:52
File nameWow64_microsoft-windows-ntdll_31bf3856ad364e35_6.1.7600.20971_none_bfb0ef48635884f8.manifest
File versionNot applicable
File size3,566
Date (UTC)23-May-2011
Time (UTC)04:52
File nameWow64_microsoft-windows-ntdll_31bf3856ad364e35_6.1.7601.21732_none_c1c38c48605d9a77.manifest
File versionNot applicable
File size3,566
Date (UTC)23-May-2011
Time (UTC)06:25