Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: AV When You Call MSXML 2.6 Parser from a Stored Procedure


View products that this article applies to.

This article was previously published under Q314125

↑ Back to the top


Symptoms

When you use the MSXML 2.6 parser from a stored procedure, you may encounter an access violation in the parser (Msxml2.dll). This particular exception is characterized by the call stack shown in the "More Information" section of this article.

↑ Back to the top


Cause

This is an issue with the garbage collection subsystem of MSXML2.

↑ Back to the top


Resolution

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 MDAC service pack that contains this hotfix.

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 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 typical 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         Version      File name    Size
   ------------------------------------------------
   26-NOV-2001  8.2.8126.0   Msxml2.dll   689,424
   26-NOV-2001  8.2.8126.0   Msxml2a.dll   22,288
   26-NOV-2001  8.2.8126.0   Msxml2r.dll   38,160
   26-NOV-2001  8.2.8126.0   Xmlinst.exe   26,384
				
To install this fix, follow these steps:
  1. Close all applications that might be using the XML parser.
  2. Rename the original files, which can be found in the %windir%\System32 folder.
  3. Copy the files provided by the fix into the same folder.
NOTE: If the files to be replaced are still in use, you can restart the computer in Safe Mode to make sure that the files are not locked by any running processes.

↑ Back to the top


Status

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

↑ Back to the top


More information

The call stack for the exception is as follows:
0:024> kb500
ChildEBP RetAddr  Args to Child              
2aadc954 2b1ee4ee 2b7d127c 194683b0 194683c0 msxml2!_NDNodeFactory__bufferAttach+0x18
2aadc96c 2b1ef8a6 1946d701 2aa2a030 00000000 msxml2!NodeDataNodeFactory__EndChildren+0x60
2aadc9f8 2b1d552c 194683b0 2aa2a030 00000000 msxml2!NameSpaceNodeFactory__EndChildren+0x44
2aadca78 2b1dc024 2aa2a000 00001000 2aa2a030 msxml2!XMLParser__Run+0x6bf 2aadcacc 2b1db7cd 2b3a5130 2b3a5150 193c1f78 msxml2!Document__run+0x9a 2aadcb6c 2b1db45f 00000001 00000000 00000000 msxml2!Document___load+0x1f0 2aadcbb0 2b227cf1 1945a2c0 00000000 1945a2c0 msxml2!Document__Load+0x58 2aadcc08 0065a896 1946dbe8 1945a2c0 1945a250 msxml2!IPersistStreamWrapper__Load+0x6a
2aadcc58 0065add7 1945a020 1945c640 00000000 sqlservr!CXMLDocsList__Load+0x1f3 2aadcc70 00659ab9 1945a020 1945c640 00000000 sqlservr!CXMLDocsList__LoadXMLDocument+0x1b
2aadccec 005e208e 1945a1f0 2aadcd08 1945a250 sqlservr!SpXmlPrepareDocument+0x423
2aadcd4c 005e1a9f 1945a250 00000027 00000000 sqlservr!CSpecProc__ExecuteSpecial+0x334
2aadcdcc 005e3cdd 1945a250 00000000 00000000 sqlservr!CXProc__Execute+0xa3 2aadce18 0049e8d2 1945a250 2aadd438 1945c520 sqlservr!CSQLSource__Execute+0x37b
2aadd3f4 0049e76e 1945a020 2aadd40c 0000002c sqlservr!CStmtExec__XretLocalExec+0x14d
2aadd9bc 00412774 1945a060 1928d200 1945a060 sqlservr!CStmtExec__XretExecute+0x31a
2aadda28 00411e6f 1928d510 00000000 2aadddf8 sqlservr!CMsqlExecContext__ExecuteStmts+0x2d2
2aadda6c 004137fa 00000000 00000000 2aaddf64 sqlservr!CMsqlExecContext__Execute+0x1b6
2aaddab8 005f4776 00000000 1928d200 1928ddc8 sqlservr!CSQLSource__Execute+0x331
2aaddf90 00412774 1943a060 1928d200 1943a060 sqlservr!CStmtExecStr__XretExecute+0x32e
2aaddffc 00411e6f 1928d510 00000000 2aade3cc sqlservr!CMsqlExecContext__ExecuteStmts+0x2d2
2aade040 004137fa 00000000 00000000 2aade538 sqlservr!CMsqlExecContext__Execute+0x1b6
2aade08c 005f4776 00000000 1928d200 1928ddc8 sqlservr!CSQLSource__Execute+0x331
2aade564 00412774 193ee060 1928d200 193ee060 sqlservr!CStmtExecStr__XretExecute+0x32e
2aade5d0 00411e6f 1928d510 00000000 2aade9a0 sqlservr!CMsqlExecContext__ExecuteStmts+0x2d2
2aade614 004137fa 00000000 00000000 2aadeb0c sqlservr!CMsqlExecContext__Execute+0x1b6
2aade660 005f4776 00000000 1928d200 1928ddc8 sqlservr!CSQLSource__Execute+0x331
2aadeb38 00412774 193cc060 1928d200 193cc060 sqlservr!CStmtExecStr__XretExecute+0x32e
2aadeba4 00411e6f 1928d510 00000000 2aadec4c sqlservr!CMsqlExecContext__ExecuteStmts+0x2d2
2aadebe8 004137fa 00000000 193da8b0 00000000 sqlservr!CMsqlExecContext__Execute+0x1b6
2aadec34 0049e8d2 193da8b0 2aadf23e 193a29b0 sqlservr!CSQLSource__Execute+0x331
2aadf210 0049e76e 192cc020 2aadf228 00000016 sqlservr!CStmtExec__XretLocalExec+0x14d
2aadf7c4 00412774 192cc060 1928d200 192cc060 sqlservr!CStmtExec__XretExecute+0x31a
2aadf830 00411e6f 1928d510 193b6090 2aadf8d8 sqlservr!CMsqlExecContext__ExecuteStmts+0x2d2
2aadf874 004137fa 193b6090 00000000 1928d200 sqlservr!CMsqlExecContext__Execute+0x1b6
2aadf8c0 0044c0dd 00000000 00000001 19290090 sqlservr!CSQLSource__Execute+0x331
2aadfa64 00412ca7 19290090 00000000 29975810 sqlservr!language_exec+0x3e1 2aadfefc 41073379 19290090 2aadfe90 00000000 sqlservr!process_commands+0xe0 2aadff68 41073071 00bc66b0 00bc66b0 00bc6618 UMS!ProcessWorkRequests+0x24a [S:\sql\ums\src\umsworkq.cpp @ 432] 2aadff80 7800a27b 29975b18 00000000 00000000 UMS!ThreadStartRoutine+0xbd [S:\sql\ums\src\umsthrd.cpp @ 263] 2aadffb4 77e8758a 29975810 00000000 00000000 MSVCRT!_beginthread+0xce 2aadffec 00000000 7800a224 29975810 00000000 KERNEL32!BaseThreadStart+0x52
				

↑ Back to the top


Keywords: KB314125, kbfix, kbbug, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 314125
Revision : 8
Created on : 10/12/2005
Published on : 10/12/2005
Exists online : False
Views : 487