Microsoft KB Archive/314425

From BetaArchive Wiki
Knowledge Base


Multi-Threaded Program Under Stress Generates Access Violation with MSXML 3.0

Article ID: 314425

Article Last Modified on 11/15/2007



APPLIES TO

  • Microsoft XML Parser 3.0
  • Microsoft XML Parser 3.0 Service Pack 1
  • Microsoft XML Parser 3.0 Service Pack 2



This article was previously published under Q314425

SYMPTOMS

A complex multi-threaded program that runs for a long time under stress and that makes extensive use of the MSXML 3.0 parser may generate an access violation error. The call stack for the crash that your program experiences is as follows:

ChildEBP RetAddr  Args to Child              
0a4be8ac 69b5d6e1 0622483c 0caabcc0 00000001 msxml3!QueryHelper__validateContextNode+0x1f
0a4be8c4 69b5daa1 09677760 00000001 0caabcc0 msxml3!XQLSelection__setContext+0x1b
0a4be8f8 69b5dc70 00677710 00000001 0caabcc0 msxml3!XQLSelection__initSelection+0xdd
0a4be93c 69b53e3d 09677710 00000001 0caabcc0 msxml3!XQLSelection__newXQLSelection+0x63
0a4be994 7c0042f3 061bfd88 0b928ee4 0a4be9c8 msxml3!DOMNode__selectNodes+0x96
                

CAUSE

This problem occurs because of a rare concurrency bug.

RESOLUTION

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

The English version of this fix should have the following file attributes or later:

   File name    Size (bytes)       Date       Version
   --------------------------------------------------
   Msxml3.dll   1,105,408   13-Dec-2001   8.20.9213.0
   Msxml3a.dll     24,576   13-Dec-2001   8.20.9213.0
   Msxml3r.dll     44,032   13-Dec-2001   8.20.9213.0
   Xmlinst.exe     28,672   13-Dec-2001    6.0.2462.0
                



STATUS

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

Keywords: kbhotfixserver kbqfe kbbug kbfix kbqfe KB314425