Microsoft KB Archive/834104

= An ASP.NET application crashes in the .NET Framework when it is running on a multiple processor computer and it is using the ArrayList class =

Article ID: 834104

Article Last Modified on 4/7/2006

-

APPLIES TO


 * Microsoft .NET Framework 1.1

-





SYMPTOMS
A Microsoft ASP.NET application crashes with an access violation in mscorsvr!ArrayList::GetPtr when the application is running on a computer with multiple processors and is using the ArrayList class.



CAUSE
In a pool of objects, the Dequeue function uses the CMPXCHG8B instruction but the Microsoft .NET Framework only adds the lock prefix on computers with multiple processors when the process affinity mask is set to more than one processor. This means that if the process affinity mask of the application changes while the application runs, an access violation will occur when the same object is returned two times. This behavior occurs because the synchronized function that returned the objects from the pool was not really synchronized. The software update that is mentioned in the &quot;Resolution&quot; section of this article adds the lock prefix whenever a computer has more than one processor.



Software update 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 .NET Framework 1.1 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:

http://support.microsoft.com/contactus/?ws=support

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
No prerequisites are required.

Restart requirement
You do not have to restart your computer after you apply this software update.

Software update replacement information
This software update does not replace any other software updates.

File information
The English version of this software update has the file attributes (or later) 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 tool in Control Panel.   Date         Time   Version       Size       File name --  24-Dec-2003  03:40  1.1.4322.984     77,824  Corperfmonext.dll 24-Dec-2003 03:40  1.1.4322.984    311,296  Mscorjit.dll 24-Dec-2003 03:34  1.1.4322.984  2,093,056  Mscorlib.dll 24-Dec-2003 03:36                   10,756  Mscorlib.ldo 24-Dec-2003 03:41  1.1.4322.984  2,617,344  Mscorsvr.dll 24-Dec-2003 03:41  1.1.4322.984  2,613,248  Mscorwks.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article.



MORE INFORMATION
For additional 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

Additional query words: AV multiprocessor

Keywords: kbbug kbfix kbqfe kbnetframe110presp1fix kbhotfixserver KB834104

-

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

© Microsoft Corporation. All rights reserved.