Article ID: 243599 - Last Review: August 7, 2007 - Revision: 5.1 FIX: You receive a "The memory could not be 'read'" error message and Visual C++ debugger fails on some long namesThis article was previously published under Q243599 SYMPTOMS
When stopping at a breakpoint or stepping over a line in the Visual C++ debugger, you may receive an error like one of the following:
The instruction at "0x52512627" referenced memory at "0x00000000". The memory could not be "read".
The instruction at "0x5251263e" referenced memory at "0x00000003". The memory could not be "read".
CAUSE
An internal buffer overflow occurs on some long undecorated symbol names of functions or variables. The name won't necessarily appear to be long in the C++ source code. RESOLUTION
A supported fix for Visual C++ 6.0 that corrects this problem is now available from Microsoft, but it has not been fully regression tested and should be applied only to systems experiencing this specific problem. To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, visit the following address on the World Wide Web: http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS
(http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms)
The English version of this fix should have the following file attributes or later:Collapse this table
Note If this product was already installed on your computer when you purchased it from the Original Equipment Manufacturer (OEM) and you need this fix, please call the Pay Per Incident number listed on the above Web site. If you contact Microsoft to obtain this fix, a fee may be charged. This fee is refundable if it is determined that you only require the fix you requested. However, this fee is nonrefundable if you request additional technical support, if your no-charge technical support period has expired, or if you are not eligible for standard no-charge technical support. STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
This bug was corrected in the latest service pack for Visual Studio 6.0.
For more information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base: 194022
(http://support.microsoft.com/kb/194022/
)
INFO: Visual Studio 6.0 Service packs, What, Where, Why To download the latest Visual Studio service pack, visit the following Microsoft Web site:194295 (http://support.microsoft.com/kb/194295/ ) HOWTO: Tell That a Visual Studio service Pack Is Installed http://msdn2.microsoft.com/en-us/vstudio/Aa718353.aspx
(http://msdn2.microsoft.com/en-us/vstudio/Aa718353.aspx)
| Article Translations
|

Back to the top
