FIX: Access violation when you run a Visual C++ 2010 application that uses a singular value to reset an input iterator

Symptoms

A hotfix is available that resolves two issues for Visual Studio 2010 Service Pack 1 (SP1).

Issue 1

This issue is described in the following knowledge base article:
982517  Error message when you compile a Visual C++ 2010 project that includes the Atlcomcli.h file

Issue 2

Consider the following scenario:
  • You try to run an application that uses a singular value to reset an input iterator.
  • You use debug mode to build the application in Microsoft Visual C++ 2010.
 
In this scenario, an access violation occurs, and then the application crashes.

Note This issue does not occur if you use release mode to build the application or if you use Microsoft Visual Studio 2008 to build the application.

Cause

This issue occurs because of an error in the iterator assignment operator.

This error is introduced by a change in the Standard Template Library (STL) in Visual Studio 2010.

Resolution

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, 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 website: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 Microsoft Visual Studio 2010 Service Pack 1 (SP1) or Microsoft Visual C++ 2010 Service Pack 1 (SP1) Redistributable Package installed.

Restart requirement

You may have to restart the computer after you install this hotfix if the affected files are being used.

We recommend that you close all instances of Visual Studio before you install this hotfix.

File information

The global 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.

File nameFile versionFile sizeDateTimePlatform
Atl100.dll10.0.40219.332158,53611-Jul-201110:14x64
Atl100.dll10.0.40219.332385,35211-Jul-201110:37IA-64
Atl100.dll10.0.40219.332138,05611-Jul-201110:57x86
central_vc100_atl_i64.msmNot applicable175,61611-Jul-201112:06
central_vc100_atl_x64.msmNot applicable99,32811-Jul-201112:39x64
central_vc100_atl_x86.msmNot applicable93,18411-Jul-201113:17x86
central_vc100_crt_i64.msmNot applicable818,68811-Jul-201112:04
central_vc100_crt_x64.msmNot applicable585,72811-Jul-201112:37x64
central_vc100_crt_x86.msmNot applicable573,44011-Jul-201113:12x86
central_vc100_debugcrt_i64.msmNot applicable1,538,56011-Jul-201111:59
central_vc100_debugcrt_x64.msmNot applicable851,96811-Jul-201112:34x64
central_vc100_debugcrt_x86.msmNot applicable804,86411-Jul-201113:07x86
central_vc100_debugmfc_x64.msmNot applicable6,998,52811-Jul-201112:28x64
central_vc100_debugmfc_x86.msmNot applicable6,345,72811-Jul-201113:01x86
central_vc100_debugopenmp_i64.msmNot applicable111,10411-Jul-201111:53
central_vc100_debugopenmp_x64.msmNot applicable60,41611-Jul-201112:20x64
central_vc100_debugopenmp_x86.msmNot applicable60,41611-Jul-201112:55x86
central_vc100_mfc_x64.msmNot applicable5,370,36811-Jul-201112:15x64
central_vc100_mfc_x86.msmNot applicable4,727,29611-Jul-201112:50x86
central_vc100_mfcloc_x64.msmNot applicable191,48811-Jul-201112:12x64
central_vc100_mfcloc_x86.msmNot applicable192,00011-Jul-201112:45x86
central_vc100_openmp_i64.msmNot applicable78,33611-Jul-201111:48
central_vc100_openmp_x64.msmNot applicable51,71211-Jul-201112:09x64
central_vc100_openmp_x86.msmNot applicable50,17611-Jul-201112:42x86
crtdbgNot applicable36,88029-Jun-201121:19
hdr.crtversion.hNot applicable59110-Jul-201122:41
pdb.atl100.i64Not applicable4,018,17610-Jul-201123:28
pdb.atl100.x64Not applicable3,788,80010-Jul-201123:21x64
pdb.atl100.x86Not applicable3,854,33611-Jul-20110:01x86
pdb.mfc100.x64Not applicable28,487,68011-Jul-20110:54x64
pdb.mfc100.x86Not applicable25,300,99211-Jul-20112:43x86
pdb.mfc100d.x64Not applicable31,387,64811-Jul-20110:53x64
pdb.mfc100d.x86Not applicable28,938,24011-Jul-20112:42x86
pdb.mfc100u.x64Not applicable28,643,32811-Jul-20110:54x64
pdb.mfc100u.x86Not applicable25,473,02411-Jul-20112:43x86
pdb.mfc100ud.x64Not applicable31,657,98411-Jul-20110:53x64
pdb.mfc100ud.x86Not applicable29,241,34411-Jul-20112:42x86
pdb.mfcm100.x64Not applicable4,296,70411-Jul-20110:54x64
pdb.mfcm100.x86Not applicable4,386,81611-Jul-20112:45x86
pdb.mfcm100d.x64Not applicable4,444,16011-Jul-20110:54x64
pdb.mfcm100d.x86Not applicable4,452,35211-Jul-20112:45x86
pdb.mfcm100u.x64Not applicable4,304,89611-Jul-20110:54x64
pdb.mfcm100u.x86Not applicable4,403,20011-Jul-20112:45x86
pdb.mfcm100ud.x64Not applicable4,460,54411-Jul-20110:54x64
pdb.mfcm100ud.x86Not applicable4,468,73611-Jul-20112:45x86
pdb.msvcp100.i64Not applicable3,312,64010-Jul-201123:26
pdb.msvcp100.x64Not applicable4,058,11210-Jul-201123:21x64
pdb.msvcp100.x86Not applicable3,755,00811-Jul-20110:00x86
pdb.msvcp100d.i64Not applicable3,869,69610-Jul-201123:26
pdb.msvcp100d.x64Not applicable4,959,23210-Jul-201123:21x64
pdb.msvcp100d.x86Not applicable4,377,60011-Jul-20110:00x86
pdb.msvcr100.i64Not applicable5,549,05610-Jul-201123:26
pdb.msvcr100.x64Not applicable6,777,85610-Jul-201123:20x64
pdb.msvcr100.x86Not applicable8,875,00810-Jul-201123:59x86
pdb.msvcr100d.i64Not applicable6,024,19210-Jul-201123:26
pdb.msvcr100d.x64Not applicable8,391,68010-Jul-201123:20x64
pdb.msvcr100d.x86Not applicable7,900,16011-Jul-20110:00x86
pdb.vcomp100.i64Not applicable1,634,30411-Jul-20110:23
pdb.vcomp100.x64Not applicable1,617,92011-Jul-20110:55x64
pdb.vcomp100.x86Not applicable1,699,84011-Jul-20112:46x86
pdb.vcomp100d.i64Not applicable1,757,18411-Jul-20110:23
pdb.vcomp100d.x64Not applicable1,757,18411-Jul-20110:54x64
pdb.vcomp100d.x86Not applicable1,798,14411-Jul-20112:46x86
src.crtversion.hNot applicable75210-Jul-201123:18
xutilityNot applicable94,06829-Jun-201121:19
xutilityNot applicable94,06829-Jun-201121:19
ctype.c.3986.cn.lnNot applicable7,09310-Jul-201123:18
afxabort.cppNot applicable68329-Jun-201121:19
afxautohidebutton.cppNot applicable9,69929-Jun-201121:19
afxtoolbarimages.cppNot applicable98,91329-Jun-201121:19
atl.libNot applicable14,40010-Jul-201123:34x86
atl.libNot applicable16,17610-Jul-201123:05x86
atl.libNot applicable13,46810-Jul-201122:52x86
atlbuild.hNot applicable57510-Jul-201122:41
atlcomcli.hNot applicable73,91129-Jun-201121:19
atlconv.cppNot applicable53829-Jun-201121:19
atlcore.hNot applicable15,31129-Jun-201121:19
atls.libNot applicable1,509,83210-Jul-201123:34x86
atls.libNot applicable1,413,16210-Jul-201123:05x86
atls.libNot applicable1,209,59410-Jul-201122:52x86
atlsd.libNot applicable1,836,04210-Jul-201123:34x86
atlsd.libNot applicable2,091,81410-Jul-201123:05x86
atlsd.libNot applicable1,664,74010-Jul-201122:52x86
atltransactionmanager.hNot applicable26,96929-Jun-201121:19
crtdbg.h.1.7419.cn.lnNot applicable38,92710-Jul-201123:18
dbcore.cppNot applicable120,46729-Jun-201121:19
eh.hNot applicable2,64229-Jun-201121:19x86
libcmt.libNot applicable16,852,09810-Jul-201123:33x86
libcmt.libNot applicable13,210,28810-Jul-201123:02x86
libcmt.libNot applicable18,202,66010-Jul-201122:51x86
libcmtd.libNot applicable18,606,41010-Jul-201123:33x86
libcmtd.libNot applicable16,922,03810-Jul-201123:02x86
libcmtd.libNot applicable21,060,61810-Jul-201122:51x86
libcpmt.libNot applicable8,105,61610-Jul-201123:33
libcpmt1.libNot applicable8,462,88210-Jul-201123:33
libcpmt1.libNot applicable9,990,64010-Jul-201122:51x64
libcpmt1.libNot applicable9,438,88210-Jul-201123:03IA-64
libcpmt.libNot applicable9,478,41210-Jul-201122:51x64
libcpmt.libNot applicable8,863,47410-Jul-201123:03IA-64
libcpmtd.libNot applicable8,856,18610-Jul-201123:33
libcpmtd0.libNot applicable8,112,71610-Jul-201123:33
libcpmtd0.libNot applicable10,520,18410-Jul-201122:51x64
libcpmtd0.libNot applicable10,133,87410-Jul-201123:03IA-64
libcpmtd1.libNot applicable8,659,98410-Jul-201123:33
libcpmtd1.libNot applicable11,366,39210-Jul-201122:51x64
libcpmtd1.libNot applicable11,119,21010-Jul-201123:03IA-64
libcpmtd.libNot applicable11,674,43610-Jul-201122:51x64
libcpmtd.libNot applicable11,518,92610-Jul-201123:03IA-64
mfc100.libNot applicable5,690,50210-Jul-201123:58x64
mfc100.libNot applicable5,681,45211-Jul-20111:03x86
mfc100d.libNot applicable6,529,30610-Jul-201123:58x64
mfc100d.libNot applicable6,511,65411-Jul-20111:03x86
mfc100u.libNot applicable7,153,98210-Jul-201123:59x64
mfc100u.libNot applicable7,235,55011-Jul-20111:04x86
mfc100ud.libNot applicable8,202,93210-Jul-201123:59x64
mfc100ud.libNot applicable8,272,11211-Jul-20111:04x86
mfcm100.libNot applicable43,10411-Jul-20110:00x64
mfcm100.libNot applicable41,05811-Jul-20111:05x86
mfcm100d.libNot applicable46,20011-Jul-20110:00x64
mfcm100d.libNot applicable44,61611-Jul-20111:05x86
mfcm100u.libNot applicable44,56811-Jul-20110:00x64
mfcm100u.libNot applicable42,47411-Jul-20111:05x86
mfcm100ud.libNot applicable47,66211-Jul-20110:00x64
mfcm100ud.libNot applicable46,03611-Jul-20111:05x86
mfcs100.libNot applicable1,255,35410-Jul-201123:56x86
mfcs100.libNot applicable1,251,28011-Jul-20111:00x86
mfcs100d.libNot applicable1,246,17210-Jul-201123:56x64
mfcs100d.libNot applicable1,218,71011-Jul-20111:00x86
mfcs100u.libNot applicable1,273,06810-Jul-201123:56x64
mfcs100u.libNot applicable1,268,94611-Jul-20111:02x86
mfcs100ud.libNot applicable1,267,43610-Jul-201123:56x86
mfcs100ud.libNot applicable1,239,13211-Jul-20111:01x86
msvcmrt.libNot applicable1,718,79210-Jul-201123:34x86
msvcmrt.libNot applicable1,928,10610-Jul-201122:51x86
msvcmrt.libNot applicable2,099,97410-Jul-201123:03x86
msvcmrtd.libNot applicable1,846,86410-Jul-201123:34x86
msvcmrtd.libNot applicable2,068,23010-Jul-201122:51x86
msvcmrtd.libNot applicable2,250,46810-Jul-201123:03x86
msvcprt.libNot applicable949,24410-Jul-201123:33x86
msvcprt.libNot applicable1,151,78210-Jul-201123:03x86
msvcprt.libNot applicable964,48410-Jul-201122:51x86
msvcprtd.libNot applicable964,37210-Jul-201123:33x86
msvcprtd.libNot applicable1,172,96210-Jul-201123:03x86
msvcprtd.libNot applicable980,62610-Jul-201122:51x86
msvcrt.libNot applicable1,379,86410-Jul-201123:33x86
msvcrt.libNot applicable1,527,29810-Jul-201123:02x86
msvcrt.libNot applicable1,396,48410-Jul-201122:51x86
msvcrtd.libNot applicable1,404,64010-Jul-201123:33x86
msvcrtd.libNot applicable1,584,26410-Jul-201123:03x86
msvcrtd.libNot applicable1,426,47810-Jul-201122:51x86
msvcurt.libNot applicable31,786,93810-Jul-201123:34x86
msvcurt.libNot applicable32,444,20810-Jul-201122:51x86
msvcurt.libNot applicable32,684,72810-Jul-201123:03x86
msvcurtd.libNot applicable33,936,93010-Jul-201123:34x86
msvcurtd.libNot applicable34,557,15810-Jul-201122:51x86
msvcurtd.libNot applicable34,837,78810-Jul-201123:03x86
nafxcw.libNot applicable63,136,24811-Jul-20111:04x86
nafxcw.libNot applicable75,638,27610-Jul-201123:59x86
nafxcwd.libNot applicable58,692,41411-Jul-20111:03x86
nafxcwd.libNot applicable74,644,86810-Jul-201123:58x86
ptrustm.dllNot applicable562,93610-Jul-201123:03x86
ptrustm.libNot applicable424,55010-Jul-201123:34x86
ptrustm.libNot applicable475,89010-Jul-201122:51x86
ptrustmd.dllNot applicable570,62410-Jul-201123:03x86
ptrustmd.libNot applicable432,07010-Jul-201123:34x86
ptrustmd.libNot applicable483,64810-Jul-201122:51x86
ptrustu.libNot applicable322,12010-Jul-201123:34x86
ptrustu.libNot applicable333,48610-Jul-201122:51x86
ptrustu.libNot applicable391,12810-Jul-201123:03x86
ptrustud.libNot applicable327,93210-Jul-201123:34x86
ptrustud.libNot applicable339,31410-Jul-201122:51x86
ptrustud.libNot applicable397,44010-Jul-201123:03x86
uafxcw.libNot applicable64,299,15611-Jul-20111:05x86
uafxcw.libNot applicable76,739,98611-Jul-20110:00x86
uafxcwd.libNot applicable60,414,57811-Jul-20111:05x86
uafxcwd.libNot applicable76,288,40610-Jul-201123:59x86
vcomp.libNot applicable28,58011-Jul-20111:09x86
vcomp.libNot applicable28,00411-Jul-20110:01x86
vcomp.libNot applicable33,33411-Jul-20110:01x86
vcompd.dllNot applicable28,13011-Jul-20110:01x86
vcompd.libNot applicable28,68611-Jul-20111:09x86
vcompd.libNot applicable33,46211-Jul-20110:01x86
Mfc100.dll10.0.40219.3325,574,98411-Jul-201110:14x64
Mfc100.dll10.0.40219.3324,397,38411-Jul-201110:57x86
Mfc100chs.dll10.0.40219.33236,17611-Jul-201110:14x64
Mfc100chs.dll10.0.40219.33236,17611-Jul-201110:57x86
Mfc100cht.dll10.0.40219.33236,17611-Jul-201110:14x64
Mfc100cht.dll10.0.40219.33236,17611-Jul-201110:57x86
Mfc100d.dll10.0.40219.3329,132,88011-Jul-201112:25x64
Mfc100d.dll10.0.40219.3327,055,69611-Jul-201112:58x86
Mfc100deu.dll10.0.40219.33264,33611-Jul-201110:14x64
Mfc100deu.dll10.0.40219.33264,33611-Jul-201110:57x86
Mfc100enu.dll10.0.40219.33255,12011-Jul-201110:14x64
Mfc100enu.dll10.0.40219.33255,12011-Jul-201110:57x86
Mfc100esn.dll10.0.40219.33263,82411-Jul-201110:14x64
Mfc100esn.dll10.0.40219.33263,82411-Jul-201110:57x86
Mfc100fra.dll10.0.40219.33264,33611-Jul-201110:14x64
Mfc100fra.dll10.0.40219.33264,33611-Jul-201110:57x86
Mfc100ita.dll10.0.40219.33262,28811-Jul-201110:14x64
Mfc100ita.dll10.0.40219.33262,28811-Jul-201110:57x86
Mfc100jpn.dll10.0.40219.33243,85611-Jul-201110:14x64
Mfc100jpn.dll10.0.40219.33243,85611-Jul-201110:57x86
Mfc100kor.dll10.0.40219.33243,34411-Jul-201110:14x64
Mfc100kor.dll10.0.40219.33243,34411-Jul-201110:57x86
Mfc100rus.dll10.0.40219.33260,75211-Jul-201110:14x64
Mfc100rus.dll10.0.40219.33260,75211-Jul-201110:57x86
Mfc100u.dll10.0.40219.3325,601,61611-Jul-201110:14x64
Mfc100u.dll10.0.40219.3324,422,99211-Jul-201110:57x86
Mfc100ud.dll10.0.40219.3329,210,19211-Jul-201112:25x64
Mfc100ud.dll10.0.40219.3327,124,81611-Jul-201112:58x86
Mfcm100.dll10.0.40219.33293,00811-Jul-201110:14x64
Mfcm100.dll10.0.40219.33281,74411-Jul-201110:57x86
Mfcm100d.dll10.0.40219.332119,63211-Jul-201112:25x64
Mfcm100d.dll10.0.40219.332103,76011-Jul-201112:58x86
Mfcm100u.dll10.0.40219.33293,00811-Jul-201110:14x64
Mfcm100u.dll10.0.40219.33281,74411-Jul-201110:57x86
Mfcm100ud.dll10.0.40219.332121,16811-Jul-201112:25x64
Mfcm100ud.dll10.0.40219.332105,29611-Jul-201112:58x86
Mfcmifc80u.dll10.0.40219.33213,13612-Jul-201111:32x86
Msvcp100.dll10.0.40219.332608,08011-Jul-201110:14x64
Msvcp100.dll10.0.40219.332966,48011-Jul-201110:37IA-64
Msvcp100.dll10.0.40219.332421,20011-Jul-201110:57x86
Msvcp100d.dll10.0.40219.3321,979,21611-Jul-201111:56IA-64
Msvcp100d.dll10.0.40219.3321,014,60811-Jul-201112:31x64
Msvcp100d.dll10.0.40219.332743,76011-Jul-201113:05x86
Msvcr100.clr0400.dll10.0.40219.332829,26411-Jul-201110:14x64
Msvcr100.clr0400.dll10.0.40219.3321,499,47211-Jul-201110:37IA-64
Msvcr100.clr0400.dll10.0.40219.332773,96811-Jul-201110:57x86
Msvcr100d.clr0400.dll10.0.40219.3323,764,04811-Jul-201111:56IA-64
Msvcr100d.clr0400.dll10.0.40219.3321,873,23211-Jul-201112:31x64
Msvcr100d.clr0400.dll10.0.40219.3321,505,10411-Jul-201113:05x86
Vcomp100.dll10.0.40219.33257,16811-Jul-201110:14x64
Vcomp100.dll10.0.40219.332143,18411-Jul-201110:37IA-64
Vcomp100.dll10.0.40219.33251,02411-Jul-201110:57x86
Vcomp100d.dll10.0.40219.332316,75211-Jul-201111:51IA-64
Vcomp100d.dll10.0.40219.332106,83211-Jul-201112:18x64
Vcomp100d.dll10.0.40219.33287,88811-Jul-201112:52x86
Vcomp100ui.dll10.0.40219.33210,06412-Jul-201111:32x86
Vcomp100ui.dll10.0.40219.33210,57612-Jul-201111:32x86
Vcomp100ui.dll10.0.40219.33211,60012-Jul-201111:32x86
Vcomp100ui.dll10.0.40219.3329,55212-Jul-201111:32x86
Vcredist_ia64.exe10.0.40219.3323,030,36011-Jul-201114:45x86
Vcredist_x64.exe10.0.40219.33210,265,43211-Jul-201114:42x86
Vcredist_x86.exe10.0.40219.3328,979,28811-Jul-201114:48x86

Status

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

Article ID: 2545588 - Last Review: Aug 26, 2011 - Revision: 1

Feedback