Article ID: 925362
Article Last Modified on 10/31/2006
APPLIES TO
- Microsoft Visual C++ .NET 2003 Standard Edition
SYMPTOMS
Consider the following scenario:
- You create a C++ application in Microsoft Visual C++ .NET 2003. The following conditions are true:
- The C++ application is a multithreaded application.
- Multiple threads call the _fopen function in the C run-time library.
- You compile and then run the application
- A thread calls the _fopen function.
- Another thread calls the _fopen function before the first call is completed successfully.
In this scenario, you may experience poor performance.
Note This problem is more noticeable when the file that is opened by the first thread takes a long time to open. For example, if this file is located on a remote network, you may experience poor performance.
CAUSE
This problem occurs because of a race condition in the C run-time library.
RESOLUTION
Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it 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 Microsoft Visual Studio .NET 2003 service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product 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.
Restart requirement
You do not have to restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
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.
File name | File version | File size | Date | Time |
---|---|---|---|---|
A_map.c | Not Applicable | 13,858 | 21-Sep-2006 | 01:40 |
Eh.lib | Not Applicable | 363,744 | 21-Sep-2006 | 01:56 |
Io.h | Not Applicable | 10,456 | 21-Sep-2006 | 01:40 |
Ios.cpp | Not Applicable | 4,246 | 06-Feb-2004 | 19:29 |
Libc.lib | Not Applicable | 2,707,612 | 21-Sep-2006 | 01:57 |
Libcd.lib | Not Applicable | 3,023,960 | 21-Sep-2006 | 02:00 |
Libcmt.lib | Not Applicable | 2,937,932 | 21-Sep-2006 | 01:58 |
Libcmtd.lib | Not Applicable | 3,305,620 | 21-Sep-2006 | 02:01 |
Libcp.lib | Not Applicable | 3,601,406 | 21-Sep-2006 | 01:58 |
Libcpd.lib | Not Applicable | 4,433,774 | 21-Sep-2006 | 02:00 |
Libcpmt.lib | Not Applicable | 3,651,698 | 21-Sep-2006 | 01:59 |
Libcpmtd.lib | Not Applicable | 4,449,888 | 21-Sep-2006 | 02:01 |
Msvcp71.dll | 7.10.5054.0 | 499,712 | 21-Sep-2006 | 02:23 |
Msvcp71d.dll | 7.10.5054.0 | 765,952 | 21-Sep-2006 | 02:02 |
Msvcprt.lib | Not Applicable | 1,360,324 | 21-Sep-2006 | 01:59 |
Msvcprtd.lib | Not Applicable | 1,369,260 | 21-Sep-2006 | 02:02 |
Msvcr71.dll | 7.10.7020.4 | 344,064 | 16-Sep-2006 | 02:51 |
Msvcr71d.dll | 7.10.5054.0 | 544,768 | 21-Sep-2006 | 02:02 |
Msvcrt.lib | Not Applicable | 431,200 | 21-Sep-2006 | 01:59 |
Msvcrtd.lib | Not Applicable | 442,910 | 21-Sep-2006 | 02:02 |
Popen.c | Not Applicable | 17,400 | 21-Sep-2006 | 01:40 |
Read.c | Not Applicable | 9,948 | 21-Sep-2006 | 01:40 |
Vc_user_crt71_rtl_x86_---.msm | Not Applicable | 202,240 | 21-Sep-2006 | 09:17 |
Vc_user_stl71_rtl_x86_---.msm | Not Applicable | 151,040 | 21-Sep-2006 | 09:17 |
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, 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
Keywords: kbfix kbbug kbhotfixserver kbqfe kbpubtypekc KB925362