FIX: The SELECT Statement with Parallelism Enabled May Cause an Assertion

This article was previously published under Q311104
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 355925 (SHILOH_BUGS)
The following assertion may occur if you run a SELECT statement on a multiprocessor computer where SQL Server permits parallel plan generation:
   Short Stack Dump   00866627 Module(sqlservr+00466627) (CStackDump::GetContextAndDump+0000002E)   0086804E Module(sqlservr+0046804E) (stackTrace+0000021D)   0091D108 Module(sqlservr+0051D108) (utassert_fail+000002E3)   006ED026 Module(sqlservr+002ED026) CQScanXProducer::GetBitmapData+0000007D)   006EC60E Module(sqlservr+002EC60E) (CQScanXProducer::Open+00000094)   006EC1FD Module(sqlservr+002EC1FD) (FnProducerThread+0000020E)   0053C403 Module(sqlservr+0013C403) (subproc_main+000000C2)   41073379 Module(UMS+00003379) (ProcessWorkRequests+0000024A)   41073071 Module(UMS+00003071) (ThreadStartRoutine+000000BD)   7800A27B Module(MSVCRT+0000A27B) (beginthread+000000CE)   77E8758A Module(KERNEL32+0000758A) (SetFilePointer+0000018A)   -------------------------------------------------------------------------------   2001-10-18 13:45:09.57 spid54    SQL Server Assertion: File: qsxchng.cpp, line=2104    Failed Assertion = 'pbmData->FCompleted() == fTrue'.   2001-10-18 13:45:09.58 spid54    Error: 3624, Severity: 20, State: 1.				
Check your SQL Server error log file for this assertion.
A supported hotfix is 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.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language. 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          Version      Size                File name   ------------------------------------------------------------   OCT-08-02     8.00.690     7,467,092 bytes     Sqlservr.exe 				
NOTE: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.

To work around this problem, use one of the following methods:
  • Add the OPTION (MAXDOP 1) to the SELECT statement to disable parallel plan generation for the query.

  • Set the max degree of parallelism configuration option to 1. If you set max degree of parallelism to a value of 1, this suppresses parallel plan generation for all queries that are run on the server.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Microsoft is researching this problem and will post more information in this article when the information becomes available.


For more information about how to set these options, see the "Setting Configuration Options" and "OPTION Clause" topics in SQL Server Books Online.
maxdop parallel plan

Article ID: 311104 - Last Review: 01/17/2015 00:10:20 - Revision: 4.7

Microsoft SQL Server 2000 Standard Edition

  • kbnosurvey kbarchive kbautohotfix kbhotfixserver kbqfe kbsqlserv2000sp3fix kbsqlserv2000presp3fix kbbug kbpending KB311104