Microsoft KB Archive/259148

= Random &quot;Access Violation&quot; Error Messages in EnumProtocolsW Under Stress =

Article ID: 259148

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Server 4.0 Enterprise Edition

-



This article was previously published under Q259148



SYMPTOMS
Under stress, Microsoft Exchange or other programs may stop working and may generate Dr. Watson error messages (&quot;Access violation&quot;).

If symbols are installed, the stack traces in the Dr. Watson log show that the problem occurs near the EnumProtocolsW function. The stack traces may vary in different situations. Two sample stack traces are listed here:   *> Stack Back Trace <* ReturnAd Param#1 Param#2  Param#3  Param#4  Function Name 77673a3a 00c70000 00000000 00000208 3ff2f2c0 ntdll!RtlAllocateHeap 77673d4b 00000000 3ff2f2e0 3ff2f2bc 3ff2f2c0 mswsock!EnumProtocolsW 00495a93 00000000 3ff2f2c0 3ff2f2bc 00000010 mswsock!EnumProtocolsA 00000000 00000000 00000000 00000000 00000000 store!

*> Stack Back Trace <* ReturnAd Param#1 Param#2  Param#3  Param#4  Function Name 77f64e17 00c70000 00c730f8 04a2f21c 00000000 ntdll!RtlDestroyHeap 77673b22 00c70000 00000000 00c73100 04a2f2c0 ntdll!RtlFreeHeap 77673d4b 00000000 04a2f2e0 04a2f2bc 04a2f2c0 mswsock!EnumProtocolsW 00495a93 00000000 04a2f2c0 04a2f2bc 00000010 mswsock!EnumProtocolsA 00000000 00000000 00000000 00000000 00000000 store!



CAUSE
The EnumProtocols function in Windows Sockets (Mswsock.dll) is calculating a buffer length incorrectly, resulting in heap corruption.



Windows 2000
To resolve this problem for Windows 2000, obtain the latest service pack for Windows 2000. For additional information, please see the following article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

Windows NT 4.0
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

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.

The English version of this fix should have the following file attributes or later:   Date      Time   Size     File name    Platform ---  21/03/00  21:48   76,560  Mswsock.dll  Intel 21/03/00 21:48   20,752  Wsock32.dll  Intel 21/03/00 21:46  120,592  Mswsock.dll  Alpha 21/03/00 21:46   25,360  Wsock32.dll  Alpha



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Windows 2000 Service Pack 1.

Keywords: kbhotfixserver kbqfe kbbug kbfix kbwin2000sp1fix KB259148

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.