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.

FIX: Multithreaded MFC application may stop responding in Windows that has an MUI language pack installed if the application is developed in Visual Studio 2008


Symptoms

Consider the following scenario:
  • You run a multithreaded Microsoft Foundation Class (MFC) application that is developed in Visual Studio 2008 on a computer that is running a Windows operating system.
  • The Windows operating system has a Multilingual User Interface (MUI) language pack installed.

In this scenario, the MFC application may stop responding.

↑ Back to the top


Cause

This issue occurs because a thread deadlock condition is met.

When one thread tries to load an MFC dynamic link library while another thread directly or indirectly calls the FindResource function in the kernel32 dynamic link library, the thread deadlock condition is met.

↑ Back to the top


Resolution

Hotfix information

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 software update 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.


Note You can also download this hotfix from the following Microsoft website:
http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=34190

Prerequisites

To apply this hotfix, you must have Microsoft Visual Studio 2010 Service Pack 1 (SP1) installed. 

Restart requirement

You do not have to restart the computer if you exit all instances of Visual Studio before you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

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.


For all supported versions of Visual Studio 2010
File nameFile versionFile sizeDateTimePlatform
Afxctl.rc10,68027-Jan-201114:53
Afxdb.rc3,89910-Jul-200901:14
Afxolecl.rc2,45112-Aug-200916:35
Afxolesv.rc1,71110-Jul-200901:03
Afxprint.rc3,56527-Jan-201114:55
Afxres.rc11,15527-Jan-201114:55
Atl90.dll9.0.30729.5578176,45627-Jan-201123:10x64
Atl90.dll9.0.30729.5578159,04828-Jan-201102:22x86
Atl90.dll9.0.30729.5578416,07228-Jan-201100:26IA-64
Atlres.rc1,05312-Aug-200916:35
array16,41729-Oct-200810:55
array16,41729-Oct-200810:55
random83,27329-Oct-200810:55
random83,27329-Oct-200810:55
themehelper.cpp4,11426-Oct-201014:20
tuple12,37129-Oct-200810:55
tuple12,37129-Oct-200810:55
xxfunction9,84529-Oct-200810:55
xxfunction9,84529-Oct-200810:55
afxframeimpl.cpp56,20424-Oct-200814:03
afxglobals.cpp34,80626-Oct-201014:22
afxglobals.h10,14424-Oct-200814:03
afxtoolbarimages.cpp76,66519-Apr-201015:41
afxvisualmanager.cpp120,15226-Oct-201014:21
algrithm195,31012-Aug-200914:14
algrithm195,31012-Aug-200916:54
align.c15,60327-Jan-201121:33
almap.dll18,73627-Jan-201121:38x86
almap.lib17,80827-Jan-201121:38x86
appcore.cpp30,82006-Jan-201111:21
atl.lib20,01227-Jan-201121:43x86
atl.lib21,88227-Jan-201121:56x86
atl.lib19,25627-Jan-201121:21x86
atlassem.h2,03727-Jan-201121:33
atlbuild.h57227-Jan-201120:51
atlcom.h173,18610-Jul-200921:27
atlcomcli.h68,58911-Jul-200911:28
atldb.h384,02919-Apr-201014:47
atldload.lib396,14827-Jan-201121:43x86
atldload.lib493,48027-Jan-201121:55x86
atldload.lib429,02227-Jan-201121:21x86
atlhost.h77,91310-Jul-200918:50
atls.lib1,413,00627-Jan-201121:43x86
atls.lib1,354,52627-Jan-201121:56x86
atls.lib1,114,53627-Jan-201121:21x86
atlsd.lib1,784,14427-Jan-201121:43x86
atlsd.lib2,031,79827-Jan-201121:56x86
atlsd.lib1,605,96027-Jan-201121:21x86
bardock.cpp25,37230-Oct-200908:15
comdef.h8,73112-Aug-200914:14
complex33,62812-Aug-200914:14
complex32,10512-Aug-200916:54
crtassem.h95127-Jan-201121:32x86
crtassem.h1,29827-Jan-201121:33
crtdefs.h107,91927-Jan-201121:33
crtdefs.h97,32712-Aug-200916:54x86
dbgheap105,74827-Jan-201121:33
deque39,24712-Aug-200914:14
deque39,24712-Aug-200916:54
dllinit.cpp24,64613-Jan-201115:45
fctional35,12012-Aug-200914:14
fctional35,12012-Aug-200916:54
hash_map9,46212-Aug-200914:14
hash_map9,46212-Aug-200916:54
hash_set8,18312-Aug-200914:14
hash_set8,18312-Aug-200916:54
intrin.h89,12912-Aug-200916:54x86
intrin.h91,68327-Jan-201121:33
iosfwd30,41312-Aug-200914:14
iosfwd24,92612-Aug-200916:54
libcmt.lib9,217,40827-Jan-201121:43x86
libcmt.lib12,760,90827-Jan-201121:47x86
libcmt.lib9,972,55627-Jan-201121:21x86
libcmtd.lib11,361,33027-Jan-201121:43x86
libcmtd.lib16,469,32427-Jan-201121:47x86
libcmtd.lib12,701,22827-Jan-201121:21x86
libcpmt.lib5,349,92827-Jan-201121:43x86
libcpmt.lib8,755,30427-Jan-201121:49x86
libcpmt.lib6,963,46227-Jan-201121:21x86
libcpmtd.lib6,781,27027-Jan-201121:43x86
libcpmtd.lib11,714,09027-Jan-201121:49x86
libcpmtd.lib9,299,51827-Jan-201121:21x86
memory50,16812-Aug-200914:14
memory50,16812-Aug-200916:54
mfc90.lib5,196,14827-Jan-201121:51x64
mfc90.lib5,197,22427-Jan-201122:34x86
mfc90d.lib6,026,79227-Jan-201121:51x64
mfc90d.lib6,017,75627-Jan-201122:35x86
mfc90u.lib6,501,18627-Jan-201121:52x64
mfc90u.lib6,595,79227-Jan-201122:35x86
mfc90ud.lib7,541,86227-Jan-201121:52x64
mfc90ud.lib7,622,20627-Jan-201122:35x86
mfc.bsc18,713,60028-Jan-201100:20
mfc_loc.manifest5,88228-Jan-201102:26x86
mfcassem.h3,14327-Jan-201122:09
mfcdload.lib780,35427-Jan-201121:48x86
mfcm90.lib43,10427-Jan-201121:53x64
mfcm90.lib41,05227-Jan-201122:37x86
mfcm90d.lib46,18227-Jan-201121:53x64
mfcm90d.lib44,59627-Jan-201122:36x86
mfcm90u.lib44,54827-Jan-201121:53x64
mfcm90u.lib42,46027-Jan-201122:37x86
mfcm90ud.lib47,64027-Jan-201121:53x64
mfcm90ud.lib46,01427-Jan-201122:37x86
mfcs90.lib1,054,70627-Jan-201121:49x86
mfcs90.lib1,048,94427-Jan-201122:32x86
mfcs90d.lib1,049,10827-Jan-201121:49x64
mfcs90d.lib1,020,31227-Jan-201122:32x86
mfcs90u.lib1,068,31027-Jan-201121:49x64
mfcs90u.lib1,063,03027-Jan-201122:33x86
mfcs90ud.lib1,065,49627-Jan-201121:49x86
mfcs90ud.lib1,035,73027-Jan-201122:32x86
microsoft.vc90.atl.manifest85827-Jan-201123:14x64
microsoft.vc90.atl.manifest85728-Jan-201100:31IA-64
microsoft.vc90.atl.manifest85628-Jan-201102:26x86
microsoft_vc90_atl_x86_ia64.msm229,88828-Jan-201110:25IA-64
microsoft_vc90_atl_x86.msm150,52828-Jan-201109:02x86
microsoft_vc90_atl_x86_x64.msm151,55228-Jan-201109:43x64
microsoft.vc90.crt.manifest1,86227-Jan-201123:14x64
microsoft.vc90.crt.manifest1,86128-Jan-201100:31IA-64
microsoft.vc90.crt.manifest1,86028-Jan-201102:26x86
microsoft_vc90_crt_x86_ia64.msm1,041,92028-Jan-201110:20IA-64
microsoft_vc90_crt_x86.msm614,91228-Jan-201108:30x86
microsoft_vc90_crt_x86_x64.msm662,52828-Jan-201109:38x64
microsoft.vc90.debugcrt.manifest1,87027-Jan-201123:14x64
microsoft.vc90.debugcrt.manifest1,86928-Jan-201100:31IA-64
microsoft.vc90.debugcrt.manifest1,86828-Jan-201102:26x86
microsoft_vc90_debugcrt_x86_ia64.msm1,811,96828-Jan-201110:15IA-64
microsoft_vc90_debugcrt_x86.msm839,16828-Jan-201108:25x86
microsoft_vc90_debugcrt_x86_x64.msm857,08828-Jan-201109:33x64
microsoft.vc90.debugmfc.manifest2,36827-Jan-201123:14x64
microsoft.vc90.debugmfc.manifest2,36628-Jan-201102:26x86
microsoft_vc90_debugmfc_x86_ia64.msm4,759,04007-Nov-200704:58IA-64
microsoft_vc90_debugmfc_x86.msm5,573,12028-Jan-201108:51x86
microsoft_vc90_debugmfc_x86_x64.msm5,989,37628-Jan-201109:22x64
microsoft.vc90.debugopenmp.manifest86728-Jan-201102:26x86
microsoft.vc90.debugopenmp.manifest86828-Jan-201100:31x86
microsoft.vc90.debugopenmp.manifest86927-Jan-201123:14x86
microsoft_vc90_debugopenmp_x86_ia64.msm157,69628-Jan-201109:48IA-64
microsoft_vc90_debugopenmp_x86.msm108,54428-Jan-201108:36x86
microsoft_vc90_debugopenmp_x86_x64.msm107,52028-Jan-201109:07x64
microsoft.vc90.mfc.manifest2,35927-Jan-201123:14x64
microsoft.vc90.mfc.manifest2,35728-Jan-201102:26x86
microsoft_vc90_mfc_x86_ia64.msm2,600,96007-Nov-200705:10IA-64
microsoft_vc90_mfc_x86.msm4,189,69628-Jan-201108:56x86
microsoft_vc90_mfc_x86_x64.msm4,884,48028-Jan-201109:28x64
microsoft.vc90.mfcloc.manifest5,88427-Jan-201123:14x64
microsoft.vc90.mfcloc.manifest5,88228-Jan-201102:26x86
microsoft_vc90_mfcloc_x86_ia64.msm242,17607-Nov-200705:18IA-64
microsoft_vc90_mfcloc_x86.msm259,07228-Jan-201108:46x86
microsoft_vc90_mfcloc_x86_x64.msm257,02428-Jan-201109:17x64
microsoft.vc90.openmp.manifest86128-Jan-201102:26x86
microsoft.vc90.openmp.manifest86228-Jan-201100:31x86
microsoft.vc90.openmp.manifest86327-Jan-201123:14x86
microsoft_vc90_openmp_x86_ia64.msm124,41628-Jan-201109:53IA-64
microsoft_vc90_openmp_x86.msm98,30428-Jan-201108:41x86
microsoft_vc90_openmp_x86_x64.msm98,81628-Jan-201109:12x64
msvcmrt.lib1,529,80827-Jan-201121:43x86
msvcmrt.lib1,697,61227-Jan-201121:21x86
Mfc90.dll9.0.30729.55785,086,53627-Jan-201123:10x64
Mfc90.dll9.0.30729.55783,766,60028-Jan-201102:22x86
Mfc90chs.dll9.0.30729.557835,66427-Jan-201123:10x64
Mfc90chs.dll9.0.30729.557835,66428-Jan-201102:22x86
Mfc90cht.dll9.0.30729.557836,68827-Jan-201123:10x64
Mfc90cht.dll9.0.30729.557836,68828-Jan-201102:22x86
Mfc90d.dll9.0.30729.55787,420,74427-Jan-201123:10x64
Mfc90d.dll9.0.30729.55785,935,94428-Jan-201102:22x86
Mfc90deu.dll9.0.30729.557863,31227-Jan-201123:10x64
Mfc90deu.dll9.0.30729.557863,31228-Jan-201102:22x86
Mfc90enu.dll9.0.30729.557853,58427-Jan-201123:10x64
Mfc90enu.dll9.0.30729.557853,58428-Jan-201102:22x86
Mfc90esn.dll9.0.30729.557861,77627-Jan-201123:10x64
Mfc90esn.dll9.0.30729.557861,77628-Jan-201102:22x86
Mfc90esp.dll9.0.30729.557861,77627-Jan-201123:10x64
Mfc90esp.dll9.0.30729.557861,77628-Jan-201102:22x86
Mfc90fra.dll9.0.30729.557862,80027-Jan-201123:10x64
Mfc90fra.dll9.0.30729.557862,80028-Jan-201102:22x86
Mfc90ita.dll9.0.30729.557861,26427-Jan-201123:10x64
Mfc90ita.dll9.0.30729.557861,26428-Jan-201102:22x86
Mfc90jpn.dll9.0.30729.557843,34427-Jan-201123:10x64
Mfc90jpn.dll9.0.30729.557843,34428-Jan-201102:22x86
Mfc90kor.dll9.0.30729.557842,83227-Jan-201123:10x64
Mfc90kor.dll9.0.30729.557842,83228-Jan-201102:22x86
Mfc90rus.dll9.0.30729.557859,72827-Jan-201123:10x64
Mfc90rus.dll9.0.30729.557859,72828-Jan-201102:22x86
Mfc90u.dll9.0.30729.55785,104,96827-Jan-201123:10x64
Mfc90u.dll9.0.30729.55783,781,96028-Jan-201102:22x86
Mfc90ud.dll9.0.30729.55787,465,80827-Jan-201123:10x64
Mfc90ud.dll9.0.30729.55785,981,52028-Jan-201102:22x86
Mfcm90.dll9.0.30729.557867,07227-Jan-201123:10x64
Mfcm90.dll9.0.30729.557859,90428-Jan-201102:21x86
Mfcm90d.dll9.0.30729.557893,18427-Jan-201123:10x64
Mfcm90d.dll9.0.30729.557880,89628-Jan-201102:21x86
Mfcm90u.dll9.0.30729.557867,07227-Jan-201123:10x64
Mfcm90u.dll9.0.30729.557859,90428-Jan-201102:21x86
Mfcm90ud.dll9.0.30729.557893,69627-Jan-201123:10x64
Mfcm90ud.dll9.0.30729.557880,89628-Jan-201102:21x86
Mfcmifc80u.dll9.0.30729.557813,13628-Jan-201121:43x86
Microsoft.visualc.stlclr.dll9.0.30729.557847,98428-Jan-201121:43x86
Msvcm90.dll9.0.30729.5578245,76027-Jan-201123:10x64
Msvcm90.dll9.0.30729.5578225,28028-Jan-201102:21x86
Msvcm90.dll9.0.30729.5578324,09628-Jan-201100:22IA-64
Msvcm90d.dll9.0.30729.5578333,31227-Jan-201123:10x64
Msvcm90d.dll9.0.30729.5578312,83228-Jan-201102:21x86
Msvcm90d.dll9.0.30729.5578429,56828-Jan-201100:22IA-64

↑ 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

Call stack information

#  0  Id: 1424.1414 Suspend: 0 Teb: 7ffdf000 Unfrozen
ChildEBP RetAddr Args to Child
0012c64c 7c90df5a 7c919ffb 00000568 00000000 ntdll!KiFastSystemCallRet
0012c650 7c919ffb 00000568 00000000 00000000 ntdll!ZwWaitForSingleObject+0xc
0012c6d8 7c901046 0197e174 7c912b82 7c97e174 ntdll!RtlpWaitForCriticalSection+0x132
0012c6e0 7c912b82 7c97e174 622c0000 00000000 ntdll!RtlEnterCriticalSection+0x46
0012c71c 7c94892e 00000001 00000000 0012c7f0 ntdll!LdrLockLoaderLock+0xea
0012d474 7c91a111 622c0000 00000000 625cf2a8 ntdll!LdrLoadAlternateResourceModule+0x6d
0012d538 7c9120af 622c0000 0012d520 00000000 ntdll!LdrpSearchResourceSection_U+0x1ea
0012d554 7c80bf88 622c0000 0012d578 00000003 ntdll!LdrFindResource_U+0x18
0012d5a8 7862f84e 622c0000 000003a4 00000006 kernel32!FindResourceA+0x60
0012d5bc 787ec382 622c0000 00003a3c 00000000 mfc90!ATL::AtlGetStringResourceImage+0x1b
0012d5d8 7862f8fa 00003a3c 0fac4d98 0012d6cc mfc90!AfxFindStringResourceHandle+0x52
0012d5e8 624b89a3 00003a3c ae90b5f1 0152bebf mfc90!ATL::CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char> > >::LoadStringA+0x10
0012d6cc 6246528f 0012dbfc 00000004 00000000 u7idexax!ibn::common::explist::ui::drives::CDrvItem::GetExpValue+0x53
0012d6f0 624b9527 0012dbfc 00000004 00000000 u7idexax!ibn::common::explist::ui::drives::sold::CSDItem::GetExpValue+0x4f
0012d754 62465216 0012dbfc 00040004 00000000 u7idexax!ibn::common::explist::ui::drives::CDrvItem::GetExpValue+0x107
0012d990 624e94f3 0012dbfc 00040004 00000000 u7idexax!ibn::common::explist::ui::drives::sold::CSDItem::GetExpValue+0x8e6 19f3e5e4 1acc3f43 1aac0000 00000000 00000000 u7wscoax!DllUnregisterServer+0x1392ad
19f3e628 1acc3ffd 1aac0000 19f3e654 7c90118a u7wscoax!DllUnregisterServer+0x139e65
19f3e634 7c90118a 1aac0000 00000001 00000000 u7wscoax!DllUnregisterServer+0x139f1f
19f3e654 7c91d98a 1acc3fdf 1aac0000 00000001 ntdll!LdrpCallInitRoutine+0x14
19f3e75c 7c915be3 00000000 c0150008 00000000 ntdll!LdrpRunInitializeRoutines+0x344
19f3ea08 7c915d45 00000000 1c161648 19f3ecfc ntdll!LdrpLoadDll+0x3e5
19f3ecb0 7c801bbd 1c161648 19f3ecfc 19f3ecdc ntdll!LdrLoadDll+0x230

↑ Back to the top


Keywords: kbhotfixdev, kbqfe, kbfix, kbhotfixserver, kbexpertiseadvanced, kbsurveynew, atdownload, kb

↑ Back to the top

Article Info
Article ID : 2495003
Revision : 1
Created on : 1/7/2017
Published on : 3/31/2011
Exists online : False
Views : 104