FIX: You may intermittently experience an access violation error when a query is executed in a parallel plan and the execution plan contains either a HASH JOIN operation or a Sort operation in SQL Server 2000 (915328)



The information in this article applies to:

  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Personal Edition
  • Microsoft SQL Server 2000 Standard Edition

Bug #: 415 (SQL Hotfix)
Microsoft distributes Microsoft SQL Server 2000 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2000 fix release.

SUMMARY

This article describes the following about this hotfix release:
  • The issues that are fixed by this hotfix package
  • The prerequisites for installing the hotfix package
  • Information about whether you must restart the computer after you install the hotfix package
  • Information about whether the hotfix package is replaced by any other hotfix package
  • Information about whether you must make any registry changes
  • The files that are contained in the hotfix package

SYMPTOMS

When you run a query in Microsoft SQL Server 2000, you may intermittently experience an access violation error in the CQList::Remove function.

You experience this problem if the following conditions are true:
  • The query is executed in a parallel plan.
  • The execution plan of the query contains either a HASH JOIN operation or a Sort operation.
For a list of all publicly released SQL Server 2000 Post-Service Pack hotfixes, see the following article in the Microsoft Knowledge Base:

894905 Cumulative list of the hotfixes that are available for SQL Server 2000 SP4

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 SQL Server 2000 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: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

You must be running SQL Server 2000 Service Pack 3 (SP3) together with hotfix build 8.00.1007 or a later SQL Server 2000 service pack to apply this hotfix.

For more information about how to obtain SQL Server 2000 Service Pack 3, click the following article number to view the article in the Microsoft Knowledge Base:

290211 How to obtain the latest SQL Server 2000 service pack

Restart information

You do not have to restart the computer after you apply this hotfix.

Registry information

You do not have to change the registry.

Hotfix file information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.SQL Server 2005, 32-bit x86 versions
File nameFile versionFile sizeDateTimePlatform
Spupdsvc.exe6.1.22.522,75201-Jun-200516:22x86
Autoplt.dll2000.80.1034.0664,12823-Feb-200618:47x86
Console.exe2000.80.1034.078,40023-Feb-200618:47x86
Ctasksui.dll2000.80.1034.0332,35223-Feb-200618:47x86
Custtask.dll2000.80.1034.0315,96823-Feb-200618:47x86
Dbmslpcn.dll2000.80.1034.033,34023-Feb-200618:47x86
Dtspkg.dll2000.80.1034.01,905,21623-Feb-200618:47x86
Dtspump.dll2000.80.1034.0528,96023-Feb-200618:47x86
Dtsui.dll2000.80.1034.01,557,05223-Feb-200618:47x86
Dtswiz.dll2000.80.1034.0639,55223-Feb-200618:47x86
Impprov.dll2000.80.1034.0102,99223-Feb-200618:47x86
Isqlw.exe2000.80.1034.0352,82823-Feb-200618:47x86
Itwiz.exe2000.80.1034.082,49223-Feb-200618:47x86
Msgprox.dll2000.80.1034.090,69223-Feb-200618:47x86
Mssdi98.dll8.11.41022.0226,30414-Apr-200523:59x86
Odsole70.dll2000.80.1034.062,02423-Feb-200618:47x86
Opends60.dll2000.80.1034.025,14423-Feb-200618:48x86
Osql.exe2000.80.1034.057,90423-Feb-200618:47x86
Pfutil80.dll2000.80.1034.0279,10423-Feb-200618:47x86
Qrdrsvc.exe2000.80.1034.0143,94023-Feb-200618:47x86
Replprov.dll2000.80.1034.0221,76823-Feb-200618:47x86
Replrec.dll2000.80.1034.0307,78423-Feb-200618:47x86
Replres.rll2000.80.1034.0159,81323-Feb-200617:51Not Applicable
Rinitcom.dll2000.80.1034.0287,30423-Feb-200618:47x86
Sdiclnt.dll2000.80.1034.078,41623-Feb-200618:47x86
Semexec.dll2000.80.1034.0823,87223-Feb-200618:47x86
Semmap.dll2000.80.1034.066,11223-Feb-200618:47x86
Semnt.dll2000.80.1034.057,91623-Feb-200618:47x86
Semobj.dll2000.80.1034.0492,09623-Feb-200618:47x86
Semobj.rll2000.80.1034.0172,03223-Feb-200618:01Not Applicable
Snapshot.exe2000.80.1034.053,83223-Feb-200618:47x86
Sqlagent.dll2000.80.1034.028,67223-Feb-200618:46x86
Sqlagent.exe2000.80.1034.0311,87223-Feb-200618:47x86
Sqlakw32.dll2000.80.1034.0168,00123-Feb-200618:46x86
Sqlctr80.dll2000.80.1034.033,34423-Feb-200618:47x86
Sqldiag.exe2000.80.1034.090,11223-Feb-200618:00x86
Sqldmo.dll2000.80.1034.04,215,36023-Feb-200618:47x86
Sqlevn70.rll2000.80.1034.028,67223-Feb-200617:50Not Applicable
Sqlmaint.exe2000.80.1034.0156,22423-Feb-200618:47x86
Sqlmap70.dll2000.80.1034.0180,79223-Feb-200618:47x86
Sqlmmc.dll2000.80.1034.0188,99223-Feb-200618:47x86
Sqlmmc.rll2000.80.1034.0479,23223-Feb-200617:57Not Applicable
Sqlqry.dll2000.80.1034.0401,98423-Feb-200618:47x86
Sqlrepss.dll2000.80.1034.057,92023-Feb-200618:47x86
Sqlservr.exe2000.80.1034.07,725,13723-Feb-200618:48x86
Sqlsort.dll2000.80.1034.0590,39623-Feb-200618:48x86
Sqlvdi.dll2000.80.1034.045,64423-Feb-200618:48x86
Sqsrvres.dll2000.80.1034.0106,58823-Feb-200618:48x86
Ssmsgnet.dll2000.80.1034.033,34023-Feb-200618:48x86
Ssmslpcn.dll2000.80.1034.033,34023-Feb-200618:48x86
Ssmsqlgc.dll2000.80.1034.033,34023-Feb-200618:48x86
Ssnetlib.dll2000.80.1034.082,49223-Feb-200618:48x86
Ssnmpn70.dll2000.80.1034.025,14823-Feb-200618:48x86
Stardds.dll2000.80.1034.0123,45623-Feb-200618:48x86
Svrnetcn.dll2000.80.1034.0158,26823-Feb-200618:48x86
Svrnetcn.exe2000.80.1034.076,41623-Feb-200618:47x86
Ums.dll2000.80.1034.049,22823-Feb-200618:48x86
Xplog70.dll2000.80.1034.074,30423-Feb-200618:48x86
Xpweb70.dll2000.80.1034.098,87223-Feb-200618:48x86
Osql.exe2000.80.1034.057,90423-Feb-200618:47x86
Sqlstpcustomdll.dll1.0.128.0943,10401-Aug-200521:55x86
SQL Server 2005, 64-bit IA-64 versions
File nameFile versionFile sizeDateTimePlatform
Dbmslpcn.dll2000.80.1034.056,83224-Feb-200615:35Not Applicable
Impprov.dll2000.80.1034.0244,73624-Feb-200615:35Not Applicable
Msgprox.dll2000.80.1034.0185,85624-Feb-200615:35Not Applicable
Mssdi98.dll8.11.41022.0742,91224-Feb-200615:35Not Applicable
Odsole70.dll2000.80.1034.0150,52824-Feb-200615:35Not Applicable
Opends60.dll2000.80.1034.027,13624-Feb-200615:35Not Applicable
Osql.exe2000.80.1034.0148,99224-Feb-200615:35Not Applicable
Qrdrsvc.exe2000.80.1034.0353,28024-Feb-200615:35Not Applicable
Replprov.dll2000.80.1034.0535,55224-Feb-200615:35Not Applicable
Replprov2.dll2000.80.1034.0535,55224-Feb-200615:35Not Applicable
Replrec.dll2000.80.1034.0769,02424-Feb-200615:35Not Applicable
Replrec2.dll2000.80.1034.0769,02424-Feb-200615:35Not Applicable
Replres.rll2000.80.1034.0146,43224-Feb-200615:35Not Applicable
Replres2.rll2000.80.1034.0146,43224-Feb-200615:35Not Applicable
Rinitcom.dll2000.80.1034.0650,24024-Feb-200615:35Not Applicable
Semmap.dll2000.80.1034.0160,76824-Feb-200615:35Not Applicable
Semmap.dll2000.80.1034.066,11224-Feb-200615:35Not Applicable
Semmap.dll2000.80.1034.0160,76824-Feb-200615:35Not Applicable
Semnt.dll2000.80.1034.0132,60824-Feb-200615:35Not Applicable
Semnt.dll2000.80.1034.0132,60824-Feb-200615:35Not Applicable
Snapshot.exe2000.80.1034.088,57624-Feb-200615:35Not Applicable
Sqlagent.dll2000.80.1034.010,24024-Feb-200615:35Not Applicable
Sqlagent.exe2000.80.1034.01,055,23224-Feb-200615:35Not Applicable
Sqlboot.dll2000.80.1034.090,11224-Feb-200615:35Not Applicable
Sqlboot.dll2000.80.1034.090,11224-Feb-200615:35Not Applicable
Sqlctr80.dll2000.80.1034.032,25624-Feb-200615:35Not Applicable
Sqldiag.exe2000.80.1034.0235,00824-Feb-200615:35Not Applicable
Sqldmo.dll2000.80.1034.04,215,36024-Feb-200615:35Not Applicable
Sqldmo.dll2000.80.1034.013,845,50424-Feb-200615:35Not Applicable
Sqlevn70.rll2000.80.1034.019,96824-Feb-200615:35Not Applicable
Sqlmaint.exe2000.80.1034.0493,56824-Feb-200615:35Not Applicable
Sqlmap70.dll2000.80.1034.023,04024-Feb-200615:35Not Applicable
Sqlrepss.dll2000.80.1034.0152,06424-Feb-200615:35Not Applicable
Sqlservr.exe2000.80.1034.025,635,84024-Feb-200615:35Not Applicable
Sqlsort.dll2000.80.1034.0616,96024-Feb-200615:35Not Applicable
Sqlsort.dll2000.80.1034.0616,96024-Feb-200615:35Not Applicable
Sqlsort.dll2000.80.1034.0616,96024-Feb-200615:35Not Applicable
Sqlvdi.dll2000.80.1034.0120,32024-Feb-200615:35Not Applicable
Sqlvdi.dll2000.80.1034.045,64424-Feb-200615:35Not Applicable
Sqsrvres.dll2000.80.1034.0227,32824-Feb-200615:35Not Applicable
Ssmslpcn.dll2000.80.1034.053,76024-Feb-200615:35Not Applicable
Ssmsqlgc.dll2000.80.1034.059,90424-Feb-200615:35Not Applicable
Ssnetlib.dll2000.80.1034.0256,00024-Feb-200615:35Not Applicable
Ssnmpn70.dll2000.80.1034.020,99224-Feb-200615:35Not Applicable
Svrnetcn.dll2000.80.1034.0430,08024-Feb-200615:35Not Applicable
Svrnetcn.exe2000.80.1034.0185,85624-Feb-200615:35Not Applicable
Xplog70.dll2000.80.1034.0183,29624-Feb-200615:35Not Applicable
Xpweb70.dll2000.80.1034.0187,39224-Feb-200615:35Not Applicable

WORKAROUND

To work around this problem, add indexes or hints to the query to prevent a HASH JOIN operation or a Sort operation in the execution plan. Alternatively, use a MAXDOP 1 hint to cause the query to run serially.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

916653 FIX: An access violation may occur intermittently in the CQList::Remove function when you run a query in SQL Server 2000


Modification Type:MajorLast Reviewed:8/9/2006
Keywords:kbHotfixServer kbQFE kbpubtypekc KB915328 kbAudDeveloper kbAudITPRO