FIX: You receive a 17883 error message when you run a complex query against SQL Server 2000 (909379)
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 #: 473858 (SQL Server 8.0) 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. SUMMARYThis article describes the following about this hotfix release:
- The issues that are fixed by the hotfix package
- The prerequisites for installing the hotfix package
- Whether you must restart the computer after you install the hotfix package
- Whether the hotfix package is replaced by any other hotfix package
- Whether you must make any registry changes
- The files that are contained in the hotfix package
SYMPTOMSWhen you run a complex query against Microsoft SQL Server 2000, the SQL Server scheduler may stop responding (hang). Additionally, you receive an error message that resembles the following: Date Time server Error: 17883 Severity: 1, State: 0
Date Time server Process 52:0 (94c) UMS Context 0x121A9C98 appears to be non-yielding on Scheduler 3. This problem occurs when one or more of the following conditions are true: - The query contains a UNION clause or a UNION ALL clause that affects many columns.
- The query contains several JOIN statements.
- The query has a large estimated cost.
For a list of all publicly released SQL Server 2000 post-Service Pack 4 hotfixes, click the following article number to view the article in the Microsoft Knowledge Base: 894905 Cumulative list of the hotfixes that are available for SQL Server 2000 Service Pack 4
RESOLUTIONHotfix informationA 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- Microsoft SQL Server 2000 Service Pack 4 (SP4)
For information about how to obtain SQL Server 2000 SP4, 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 informationThis hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain 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.32-bit hotfix |
Dtsui.dll | 2000.80.2187.0 | 1,593,344 | 09-Mar-2006 | 19:47 | x86 | Impprov.dll | 2000.80.2187.0 | 102,400 | 09-Mar-2006 | 19:47 | x86 | Msgprox.dll | 2000.80.2187.0 | 94,208 | 09-Mar-2006 | 19:47 | x86 | Msrpjt40.dll | 4.10.9424.0 | 188,473 | 24-Jan-2006 | 07:13 | x86 | Mssdi98.dll | 8.11.50523.0 | 239,104 | 06-Jun-2005 | 21:46 | x86 | Ntwdblib.dll | 2000.80.2187.0 | 290,816 | 09-Mar-2006 | 19:47 | x86 | Odsole70.dll | 2000.80.2187.0 | 69,632 | 09-Mar-2006 | 19:47 | x86 | Osql.exe | 2000.80.2187.0 | 57,344 | 09-Mar-2006 | 17:37 | x86 | Pfclnt80.dll | 2000.80.2187.0 | 430,080 | 09-Mar-2006 | 19:47 | x86 | Replmerg.exe | 2000.80.2187.0 | 163,840 | 09-Mar-2006 | 17:46 | x86 | Replprov.dll | 2000.80.2187.0 | 237,568 | 09-Mar-2006 | 19:47 | x86 | Replrec.dll | 2000.80.2187.0 | 315,392 | 09-Mar-2006 | 19:47 | x86 | Replsub.dll | 2000.80.2187.0 | 270,336 | 09-Mar-2006 | 19:47 | x86 | Semexec.dll | 2000.80.2187.0 | 856,064 | 09-Mar-2006 | 19:47 | x86 | Sqlagent.exe | 2000.80.2187.0 | 323,584 | 09-Mar-2006 | 17:26 | x86 | Sqldiag.exe | 2000.80.2187.0 | 118,784 | 09-Mar-2006 | 18:22 | x86 | Sqldmo.dll | 2000.80.2187.0 | 4,362,240 | 09-Mar-2006 | 19:47 | x86 | Sqlfth75.dll | 2000.80.2187.0 | 102,400 | 09-Mar-2006 | 17:35 | x86 | Sqlservr.exe | 2000.80.2187.0 | 9,162,752 | 09-Mar-2006 | 19:45 | x86 | Sqlsort.dll | 2000.80.2187.0 | 589,824 | 09-Mar-2006 | 19:47 | x86 | Stardds.dll | 2000.80.2187.0 | 176,128 | 09-Mar-2006 | 19:47 | x86 | Svrnetcn.dll | 2000.80.2187.0 | 110,592 | 09-Mar-2006 | 19:47 | x86 | Ums.dll | 2000.80.2187.0 | 35,328 | 09-Mar-2006 | 19:47 | x86 |
64-bit hotfix |
Dtsui.dll | 2000.80.2187.0 | 1,593,344 | 09-Mar-2006 | 19:47 | x86 | Impprov.dll | 2000.80.2187.0 | 102,400 | 09-Mar-2006 | 19:47 | x86 | Msgprox.dll | 2000.80.2187.0 | 94,208 | 09-Mar-2006 | 19:47 | x86 | Msrpjt40.dll | 4.10.9424.0 | 188,473 | 24-Jan-2006 | 07:13 | x86 | Mssdi98.dll | 8.11.50523.0 | 239,104 | 06-Jun-2005 | 21:46 | x86 | Ntwdblib.dll | 2000.80.2187.0 | 290,816 | 09-Mar-2006 | 19:47 | x86 | Odsole70.dll | 2000.80.2187.0 | 69,632 | 09-Mar-2006 | 19:47 | x86 | Osql.exe | 2000.80.2187.0 | 57,344 | 09-Mar-2006 | 17:37 | x86 | Pfclnt80.dll | 2000.80.2187.0 | 430,080 | 09-Mar-2006 | 19:47 | x86 | Replmerg.exe | 2000.80.2187.0 | 163,840 | 09-Mar-2006 | 17:46 | x86 | Replprov.dll | 2000.80.2187.0 | 237,568 | 09-Mar-2006 | 19:47 | x86 | Replrec.dll | 2000.80.2187.0 | 315,392 | 09-Mar-2006 | 19:47 | x86 | Replsub.dll | 2000.80.2187.0 | 270,336 | 09-Mar-2006 | 19:47 | x86 | Semexec.dll | 2000.80.2187.0 | 856,064 | 09-Mar-2006 | 19:47 | x86 | Sqlagent.exe | 2000.80.2187.0 | 323,584 | 09-Mar-2006 | 17:26 | x86 | Sqldiag.exe | 2000.80.2187.0 | 118,784 | 09-Mar-2006 | 18:22 | x86 | Sqldmo.dll | 2000.80.2187.0 | 4,362,240 | 09-Mar-2006 | 19:47 | x86 | Sqlfth75.dll | 2000.80.2187.0 | 102,400 | 09-Mar-2006 | 17:35 | x86 | Sqlservr.exe | 2000.80.2187.0 | 9,162,752 | 09-Mar-2006 | 19:45 | x86 | Sqlsort.dll | 2000.80.2187.0 | 589,824 | 09-Mar-2006 | 19:47 | x86 | Stardds.dll | 2000.80.2187.0 | 176,128 | 09-Mar-2006 | 19:47 | x86 | Svrnetcn.dll | 2000.80.2187.0 | 110,592 | 09-Mar-2006 | 19:47 | x86 | Ums.dll | 2000.80.2187.0 | 35,328 | 09-Mar-2006 | 19:47 | x86 |
64-bit hotfix for Itanium processors |
Impprov.dll | 2000.80.2187.0 | 244,736 | 10-Mar-2006 | 05:56 | Not Applicable | Msgprox.dll | 2000.80.2187.0 | 188,416 | 10-Mar-2006 | 05:56 | Not Applicable | Mssdi98.dll | 8.11.50523.0 | 758,784 | 10-Mar-2006 | 05:56 | Not Applicable | Msvcr71.dll | 7.10.3052.4 | 348,160 | 10-Mar-2006 | 05:56 | Not Applicable | Odsole70.dll | 2000.80.2187.0 | 150,528 | 10-Mar-2006 | 05:56 | Not Applicable | Osql.exe | 2000.80.2187.0 | 149,504 | 10-Mar-2006 | 05:56 | Not Applicable | Pfclnt80.dll | 2000.80.2187.0 | 1,187,840 | 10-Mar-2006 | 05:56 | Not Applicable | Pfclnt80.dll | 2000.80.2187.0 | 430,080 | 10-Mar-2006 | 05:56 | Not Applicable | Procsyst.sql | Not Applicable | 552,068 | 10-Mar-2006 | 05:56 | Not Applicable | Replmerg.exe | 2000.80.2187.0 | 375,296 | 10-Mar-2006 | 05:56 | Not Applicable | Replmerg.sql | Not Applicable | 1,151,450 | 10-Mar-2006 | 05:56 | Not Applicable | Replprov.dll | 2000.80.2187.0 | 538,624 | 10-Mar-2006 | 05:56 | Not Applicable | Replprov2.dll | 2000.80.2187.0 | 538,624 | 10-Mar-2006 | 05:56 | Not Applicable | Replrec.dll | 2000.80.2187.0 | 775,168 | 10-Mar-2006 | 05:56 | Not Applicable | Replrec2.dll | 2000.80.2187.0 | 775,168 | 10-Mar-2006 | 05:56 | Not Applicable | Replsub.dll | 2000.80.2187.0 | 641,024 | 10-Mar-2006 | 05:56 | Not Applicable | Repltran.sql | Not Applicable | 1,000,634 | 10-Mar-2006 | 05:56 | Not Applicable | Sqlagent.exe | 2000.80.2187.0 | 1,061,376 | 10-Mar-2006 | 05:56 | Not Applicable | Sqldiag.exe | 2000.80.2187.0 | 334,336 | 10-Mar-2006 | 05:56 | Not Applicable | Sqldmo.dll | 2000.80.2187.0 | 4,362,240 | 10-Mar-2006 | 05:56 | Not Applicable | Sqldmo.dll | 2000.80.2187.0 | 13,860,352 | 10-Mar-2006 | 05:56 | Not Applicable | Sqlevn70.rll | 2000.80.2187.0 | 35,328 | 10-Mar-2006 | 05:56 | Not Applicable | Sqlfth75.dll | 2000.80.2187.0 | 246,784 | 10-Mar-2006 | 05:56 | Not Applicable | Sqlservr.exe | 2000.80.2187.0 | 24,937,472 | 10-Mar-2006 | 05:56 | Not Applicable | Sqlservr.pdb | Not Applicable | 21,146,624 | 10-Mar-2006 | 05:56 | Not Applicable | Sqlsort.dll | 2000.80.2187.0 | 617,472 | 10-Mar-2006 | 05:56 | Not Applicable | Svrnetcn.dll | 2000.80.2187.0 | 427,520 | 10-Mar-2006 | 05:56 | Not Applicable |
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.MORE INFORMATIONThis problem occurs after a period of 60 seconds or more. After this time, the system server process ID (SPID) that performs the complex conditions that are mentioned in the "Symptoms" section does not yield control of the User Mode Scheduler (UMS). This behavior may cause query delays and time-outs. Additionally, you cannot log on during this time. There are many possible causes of error 17883. This hotfix addresses only the conditions that are mentioned in the "Symptoms" section. However, this hotfix is cumulative and contains prior fixes. Therefore, this hotfix may help because this hotfix includes other fixes for error conditions that are unrelated to these symptoms.
To distinguish this problem from the other possible causes of error 17883, review the stack information about the hung thread. This stack information is in the minidump file that is automatically created in the SQL Server Log folder when error 17883 occurs. For help reviewing the minidump file and determining whether this problem is the likely cause of error 17883, contact Microsoft Product Support Services.
Other possible causes of error 17883 include the following: - Other SQL Server bugs
- Orphaned latch structures that are left over after access violations or after assertion exceptions
- Many external factors, such as disk slowness, antivirus drivers, and lack of Windows resources
For more information about these other possible causes, read the white paper "How to diagnose and correct
errors 17883, 17884, 17887, and 17888." To obtain this white paper, visit the following Microsoft Web site: Stack informationWhen the SQL Server scheduler stops responding, SQL Server creates a minidump file in the Log folder. If you open the minidump file in a debugger and switch to the thread ID that is mentioned in the error message, you may notice the following stack information: 0:033> kpn 100
# ChildEBP RetAddr
00 12afbd40 00744dcb sqlservr!DRgCId::IMember(class CValRef * pvr = 0x4b786a20)+0x21 [R:\sql\ntdbms\query\qeoptim\dbi\optutil.cpp @ 14148]
01 12afbd80 0050f638 sqlservr!CLogOp_UnionAll::FMatchExpr(class COpArg * pOpArgOther = 0x000001a0)+0xdf [R:\sql\ntdbms\query\qeoptim\dbi\op_log.cpp @ 4343]
02 12afbda8 005660fb sqlservr!CGroupExpr::FMatchGrpExpr(class CGroupExpr * pgexpr = 0x5bad0290, class CGroupProperties * pgp = 0x00000000, int fGroupNumberOnly = 0)+0x2e [R:\sql\ntdbms\query\qeoptim\engine\memo.cpp @ 1705]
03 12afbdc8 005684c2 sqlservr!CGroup::FIsDupThroughMerging(class CGroupExpr * pgexpr = 0x59107748, class CGroupExpr * pgexprList = 0x5bf93dd8)+0x4e [R:\sql\ntdbms\query\qeoptim\engine\memo.cpp @ 1895]
04 12afbddc 0056845a sqlservr!CGroup::MarkDupThroughMerging(void)+0x21 [R:\sql\ntdbms\query\qeoptim\engine\memo.cpp @ 1841]
05 12afbe44 0070d06c sqlservr!CGroup::Merge(class CGroup * pgrpOther = 0x5171155c)+0x12d [R:\sql\ntdbms\query\qeoptim\engine\memo.cpp @ 1998]
06 12afc11c 0046f000 sqlservr!CMemo::PgexprIncludeRoot(class COptExpr * pexprQuery = 0x4b798160, int * rggrpnoChildren = 0x12afc158, int fCouldBeDup = 1, class CTaskContext * ptc = 0x475e8240, int grpnoRoot = 4253, int * rggrpnoLeaves = 0x00000000, int iTask = 99909, int iSubst = 0, int ruleidObtainedFrom = 1498413264, int * pfIsDuplicate = 0x12afc2d0, int * pfNewInRoot = 0x12afc664, int * pfMerged = 0x12afc66c, int * pfRemove = 0x12afc698)+0x1e5 [R:\sql\ntdbms\query\qeoptim\engine\memo.cpp @ 2782]
07 12afc2e4 00470650 sqlservr!CMemo::PgexprInclude(class COptExpr * pexprQuery = 0x00000001, class CTaskContext * ptc = 0x475e8240, int grpnoRoot = 4253, int * rggrpnoLeaves = 0x12afc318, int iTask = 99909, int iSubst = 0, int ruleidObtainedFrom = 49, int * pfIsDuplicate = 0x00000000, int * pfNewInRoot = 0x12afc664, int * pfMerged = 0x12afc66c, int * pfRemove = 0x12afc698)+0x15c [R:\sql\ntdbms\query\qeoptim\engine\memo.cpp @ 2599]
08 12afc6b8 00472de5 sqlservr!CTask_ApplyRule::Perform(int iTask = 99909)+0x2f9 [R:\sql\ntdbms\query\qeoptim\engine\tasks.cpp @ 1795]
09 12afc6e0 00472a8a sqlservr!CMemo::ExecuteTasks(class COptTask * potInitial = 0x51709660, int fPrintMemoInitial = 0, int fPrintMemoFinal = 0)+0x13c [R:\sql\ntdbms\query\qeoptim\engine\memo.cpp @ 3498]
0a 12afc7c0 00472640 sqlservr!CMemo::OptimizeQuery(class CQuery * pquery = 0x4b983ed8, class COptExpr * pexpr = 0x00000002, double * pcuFound = 0x4b798b10, int fPrintMemoInitial = 0, int fPrintMemoFinal = 0, struct s_OptimPlans * psPlans = 0x12afc80c)+0x501 [R:\sql\ntdbms\query\qeoptim\engine\memo.cpp @ 3824]
0b 12afc848 0045d1e4 sqlservr!COptContext::PexprSearchPlan(class COptExpr * pexpr = 0x4b734198)+0x141 [R:\sql\ntdbms\query\qeoptim\engine\qeoptim.cpp @ 1814]
0c 12afe9b8 0045c264 sqlservr!COptContext::PcxteOptimizeQuery(class COptExpr * pexpr = 0x4b734198, class DRgCId * pdrgcid = 0x518ecc98)+0xb38 [R:\sql\ntdbms\query\qeoptim\engine\qeoptim.cpp @ 1343]
0d 12afea60 0045c03f sqlservr!CQuery::Optimize(void)+0x3f9 [R:\sql\ntdbms\query\qeoptim\engine\qeoptim.cpp @ 596]
0e 12afea7c 0046158c sqlservr!CQuery::Optimize(unsigned long cExpectedRuns = 1)+0x30 [R:\sql\ntdbms\query\qecore\qryimp.cpp @ 1114]
0f 12afebf0 0046133a sqlservr!CCvtTree::PqryFromTree(class TREE * ptrIn = 0x73e28298, class IMemObj * pmoCompile = 0x4b738030, class CRangeCollection * prc = 0x4b983e98, unsigned long qprop = 0x40020, class CCompPlan * pcp = 0x4b798ac0)+0x29d [R:\sql\ntdbms\query\qeint\cvt_tree.cpp @ 1139]
10 12afecfc 004612a7 sqlservr!BuildQueryFromTree(class TREE * ptrIn = 0x73e28298, class IMemObj * pmo = 0x4b738030, class IMemObj * pmoTree = 0x73e28020, class IQueryObj ** ppqryObj = 0x4b738504, class CRangeCollection * prc = 0x4b983e98, unsigned long qprop = 0x40020, class CCompPlan * pcp = 0x4b738098)+0x46 [R:\sql\ntdbms\query\qeint\cvt_tree.cpp @ 545]
11 12afed3c 0046bb3f sqlservr!CStmtQuery::InitQuery(class CAlgStmt * ptrSeq = 0x73e28298, class CCompPlan * pcp = 0x4b738030, unsigned long qprop = 0x40020)+0x13e [R:\sql\ntdbms\msql\proc\stquery.cpp @ 678]
12 12afed64 00609910 sqlservr!CStmtDML::InitNormal(class CAlgStmt * ptrSeq = 0x73e28140, class CCompPlan * pcp = 0x4b738098, unsigned long qprop = 0x40020)+0x11b [R:\sql\ntdbms\msql\proc\stquery.cpp @ 1604]
13 12afed98 005e3d0a sqlservr!CStmtSelectInto::CStmtSelectInto(class CAlgStmt * ptrSeq = 0x73e28140, class CCompPlan * pcp = 0x4b738030)+0x9c [R:\sql\ntdbms\msql\proc\stquery.cpp @ 2977]
14 12afedd8 0044ca52 sqlservr!CCompPlan::FCompileStep(class CAlgStmt * ptrSeq = 0x73e28140, class CStatement ** ppst = 0x12aff458)+0xb46 [R:\sql\ntdbms\msql\proc\compplan.cpp @ 1695]
15 12aff490 0041b598 sqlservr!CProchdr::FCompile(class CCompPlan * pcp = 0x4b738098, class CParamExchange * pxp = 0x00000000)+0xd23 [R:\sql\ntdbms\msql\proc\compplan.cpp @ 1173]
16 12aff608 0044f575 sqlservr!CSQLSource::FTransform(class CParamExchange * pxp = 0x00000000)+0x34c [R:\sql\ntdbms\msql\proc\sqlsrc.cpp @ 889]
17 12aff878 0041af66 sqlservr!CSQLStrings::FTransform(class CParamExchange * pxp = 0x00000000)+0x1a1 [R:\sql\ntdbms\msql\proc\sqlsrc.cpp @ 1661]
18 12aff8c0 0048dae8 sqlservr!CSQLSource::Execute(class CParamExchange * pxp = 0x00000000)+0x15b [R:\sql\ntdbms\msql\proc\sqlsrc.cpp @ 1140]
19 12affa64 004292a5 sqlservr!language_exec(struct srv_proc * srvproc = 0x44246098)+0x3e1 [R:\sql\ntdbms\msql\ods\c_events.cpp @ 735]
1a 12affefc 41072838 sqlservr!process_commands(struct srv_proc * srvproc = 0x44246098)+0x10e [R:\sql\ntdbms\msql\ods\c_events.cpp @ 1771]
1b 12afff70 410725b3 ums!ProcessWorkRequests(class UmsWorkQueue * workque = 0x00c664a8)+0x272 [R:\sql\ums\src\umsworkq.cpp @ 451]
1c 12afff84 77bc90a2 ums!ThreadStartRoutine(void * parms = 0x514d68ff)+0x98 [R:\sql\ums\src\umsthrd.cpp @ 263]
1d 12afffb8 77e4a990 msvcrt!_threadstart(void * ptd = 0x11e45e70)+0x70 [d:\srv03rtm\base\crts\crtw32\startup\thread.c @ 242]
1e 12afffec 00000000 kernel32!BaseThreadStart(<function> * lpStartAddress = 0x77bc9032, void * lpParameter = 0x11e45e70)+0x34 [d:\srv03rtm\base\win32\client\support.c @ 533]
REFERENCES
For more information about error 17883, click the following article number to view the article in the Microsoft Knowledge Base:
319892
New concurrency and scheduling diagnostics have been added to SQL Server
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684
Description of the standard terminology that is used to describe Microsoft software updates
Modification Type: | Minor | Last Reviewed: | 7/26/2006 |
---|
Keywords: | kbHotfixServer kbBug kbfix kbtshoot kbQFE kbpubtypekc KB909379 kbAudITPRO kbAudDeveloper |
---|
|