FIX: The fn_get_sql System Table Function May Cause Various Handled Access Violations

This article has been archived. It is offered "as is" and will no longer be updated.
The Microsoft SQL Server 2000 Service Pack 2 based hotfix build 8.00.0652 adds the fn_get_sql system table function and adds columns to the sysprocesses system table. If you use the fn_get_sql system table function, handled access violations may occur that end the client's connection and that report a stack trace to the SQL Server error log.

NOTE: The following addresses are based on SQL Server 2000 hotfix build 8.00.0652.

Here is a list of functions that can occur at the top of the stack trace:
  • 0049894E Module(sqlservr+0009894E) (SimpleUncompress+0000002A)
  • 0044317C Module(sqlservr+0004317C) (CCacheObject::Release+00000025)
  • 00821854 Module(sqlservr+00421854) (DBMgr::StartDBsInParallel+0000011E)
  • 0040AB89 Module(sqlservr+0000AB89) (CVariableInfo::CVarBlock::PvbUse+0000000D)
  • 006638C8 Module(sqlservr+002638C8) (COpenXMLRange::ReleaseXMLRowset+00000009)
  • 00403248 Module(sqlservr+00003248) (DES::LookupIDes+00000087)
  • 0040AB2C Module(sqlservr+0000AB2C) (CVariableInfo::PbGetBlock+0000002A)
  • 00655074 Module(sqlservr+00255074) (tcpyconst+00000020)
  • 005DC026 Module(sqlservr+001DC026) (CParamExchange::ExtractOutParams+00000079)
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 INF: How To Obtain the Latest SQL Server 2000 Service Pack
NOTE: The following hotfix was created before the release of Microsoft SQL Server 2000 Service Pack 3.

The English version of this fix 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--------------------------------------------------------------------------2002-11-01  00:01:43  2000.80.696.0  7,467,089 bytes  Sqlservr.exe2002-11-10  20:07:40                    10,794 bytes  Sp2_qfe_serv_uni.sql 

NOTE: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.

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 Microsoft SQL Server 2000 Service Pack 3.

Article ID: 810010 - Last Review: 11/02/2013 02:24:00 - Revision: 6.0

  • kbnosurvey kbarchive kbhotfixserver kbqfe kbsqlserv2000presp3fix kbfix KB810010