FIX: The Log Reader Agent may fail and you receive an assertion error message (872843)



The information in this article applies to:

  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Personal Edition
  • Microsoft SQL Server 2000 Enterprise Evaluation Edition
  • Microsoft SQL Server 2000 Workgroup Edition
  • Microsoft SQL Server 2000 Desktop Engine (MSDE)
  • Microsoft SQL Server 2000 Developer Edition 64 bit
  • Microsoft SQL Server 2000 Enterprise Edition 64-bit

Bug #: 354992 (Shiloh_bugs)
Bug #: 471942 (Shiloh_bugs)
Bug #: 470792 (Shiloh_bugs)
Bug #: 471919 (Shiloh_bugs)





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.
  • Whether you must restart your 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.

back to the top

SYMPTOMS

The Log Reader Agent may fail and an assertion error message is written to the SQL Server error log. When the error occurs, the Log Reader Agent connection is dropped.

For a list of previous hotfixes, see the "Microsoft SQL Server 2000 post-Service Pack 3 or Microsoft SQL Server 2000 post-Service Pack 3a hotfixes" section in the following Microsoft Knowledge Base article:

290211 How to obtain the most recent SQL Server 2000 service pack

back to the top

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For more information, 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

Hotfix information

Prerequisites

This hotfix requires Microsoft SQL Server 2000 Service Pack 3 (SP3). For information about how to obtain SQL Server 2000 SP3, see the following article in the Microsoft Knowledge Base:

290211 How to obtain the most recent SQL Server 2000 Service Pack

back to the top

Restart information

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

back to the top

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 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) 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
   ------------------------------------------------------------------------
   16-Jul-2004  04:42  2000.80.961.0     664,128  Autoplt.dll      
   16-Jul-2004  04:57  2000.80.961.0      78,400  Console.exe      
   16-Jul-2004  05:14  2000.80.961.0     315,968  Custtask.dll     
   16-Jul-2004  04:42  2000.80.961.0      33,340  Dbmslpcn.dll     
   08-Apr-2004  21:42                    786,432  Distmdl.ldf
   08-Apr-2004  21:42                  2,359,296  Distmdl.mdf
   10-Oct-2003  18:48                        180  Drop_repl_hotfix.sql
   16-Jul-2004  05:10  2000.80.961.0   1,905,216  Dtspkg.dll       
   16-Jul-2004  05:07  2000.80.961.0     528,960  Dtspump.dll      
   16-Jul-2004  05:23  2000.80.961.0   1,557,052  Dtsui.dll        
   16-Jul-2004  05:22  2000.80.961.0     639,552  Dtswiz.dll       
   10-Oct-2003  18:48                    747,927  Instdist.sql
   10-Oct-2003  18:48                      1,581  Inst_repl_hotfix.sql
   16-Jul-2004  05:29  2000.80.961.0     352,828  Isqlw.exe        
   16-Jul-2004  05:23  2000.80.961.0      82,492  Itwiz.exe        
   16-Jul-2004  04:41  2000.80.961.0      90,692  Msgprox.dll      
   19-May-2004  23:43  8.11.40209.0      209,408  Mssdi98.dll      
   16-Jul-2004  04:44  2000.80.961.0      62,024  Odsole70.dll     
   16-Jul-2004  05:02  2000.80.961.0      25,144  Opends60.dll     
   16-Jul-2004  04:43  2000.80.961.0      57,904  Osql.exe         
   16-Jul-2004  05:11  2000.80.961.0     279,104  Pfutil80.dll     
   10-Oct-2003  18:37                    550,780  Procsyst.sql
   08-Apr-2004  21:42                     12,305  Qfe469315.sql
   08-Apr-2004  21:42                     19,195  Qfe469571.sql
   16-Jul-2004  06:13                  1,105,167  Replmerg.sql
   16-Jul-2004  04:51  2000.80.961.0     221,768  Replprov.dll     
   16-Jul-2004  04:53  2000.80.961.0     307,784  Replrec.dll      
   16-Jul-2004  04:44  2000.80.961.0     159,813  Replres.rll
   10-Oct-2003  18:48                  1,087,150  Replsys.sql
   10-Oct-2003  18:48                    986,603  Repltran.sql
   16-Jul-2004  04:57  2000.80.961.0     287,304  Rinitcom.dll     
   16-Jul-2004  04:42  2000.80.961.0      78,416  Sdiclnt.dll      
   16-Jul-2004  04:31  2000.80.961.0      66,112  Semmap.dll       
   16-Jul-2004  04:36  2000.80.961.0      57,916  Semnt.dll        
   16-Jul-2004  05:20  2000.80.961.0     492,096  Semobj.dll       
   16-Jul-2004  05:15  2000.80.961.0     172,032  Semobj.rll
   16-Jul-2004  04:50  2000.80.961.0      53,832  Snapshot.exe     
   13-Jul-2004  20:59                    117,834  Sp3_serv_uni.sql
   16-Jul-2004  04:36  2000.80.961.0      28,672  Sqlagent.dll     
   16-Jul-2004  04:40  2000.80.961.0     311,872  Sqlagent.exe     
   16-Jul-2004  04:46  2000.80.961.0     168,001  Sqlakw32.dll     
   16-Jul-2004  04:46  2000.80.961.0      33,344  Sqlctr80.dll     
   16-Jul-2004  05:22  2000.80.961.0   4,215,360  Sqldmo.dll       
   16-Jul-2004  04:49                     25,172  Sqldumper.exe    
   16-Jul-2004  04:32  2000.80.961.0      28,672  Sqlevn70.rll
   16-Jul-2004  04:52  2000.80.961.0     156,224  Sqlmaint.exe     
   16-Jul-2004  04:55  2000.80.961.0     180,792  Sqlmap70.dll     
   16-Jul-2004  05:20  2000.80.961.0     188,992  Sqlmmc.dll       
   16-Jul-2004  05:16  2000.80.961.0     479,232  Sqlmmc.rll
   16-Jul-2004  05:14  2000.80.961.0     401,984  Sqlqry.dll       
   16-Jul-2004  04:53  2000.80.961.0      57,920  Sqlrepss.dll     
   16-Jul-2004  04:46  2000.80.961.0   7,512,640  Sqlservr.exe     
   16-Jul-2004  04:34  2000.80.961.0     590,396  Sqlsort.dll      
   16-Jul-2004  04:53  2000.80.961.0      45,644  Sqlvdi.dll       
   16-Jul-2004  04:53  2000.80.961.0     106,588  Sqsrvres.dll     
   16-Jul-2004  04:42  2000.80.961.0      33,340  Ssmslpcn.dll     
   16-Jul-2004  04:43  2000.80.961.0      82,492  Ssnetlib.dll     
   16-Jul-2004  05:00  2000.80.961.0      25,148  Ssnmpn70.dll     
   16-Jul-2004  04:55  2000.80.961.0     123,456  Stardds.dll      
   16-Jul-2004  04:56  2000.80.961.0     158,240  Svrnetcn.dll     
   16-Jul-2004  04:56  2000.80.961.0      76,416  Svrnetcn.exe     
   16-Jul-2004  05:00  2000.80.961.0      53,808  Ums.dll          
   16-Jul-2004  04:57  2000.80.961.0      98,872  Xpweb70.dll      

Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.
back to the top

STATUS

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

This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.

back to the top

MORE INFORMATION

For additional information about the naming schema for Microsoft SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:

822499 New naming schema for Microsoft SQL Server software update packages

For additional information about the terminology that Microsoft uses when correcting software after it is released, 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

Stack information

When this behavior occurs, the SQL Server error log will contain the following stack dumps and error messages:
* -------------------------------------------------------------------------------
* Short Stack Dump
* 0088199C Module(sqlservr+0048199C) (CStackDump::GetContextAndDump+0000002E)
* 008834AD Module(sqlservr+004834AD) (stackTrace+00000223)
* 00937A94 Module(sqlservr+00537A94) (utassert_fail+000002E3)
* 00862A0C Module(sqlservr+00462A0C) (LogIterForward::ProcessLog+0000003E)
* 0045E378 Module(sqlservr+0005E378) (LogIterForward::WaitforLogAvailable+000000AF)
* 0045E2A9 Module(sqlservr+0005E2A9) (LogIterForward::GetNextBlock+000000A5)
* 0045E148 Module(sqlservr+0005E148) (LogIterForward::GetNext+0000007A)
* 007EDFD8 Module(sqlservr+003EDFD8) (get_trans_cmds+000001B3)
* 007EDDA4 Module(sqlservr+003EDDA4) (repl_cmds+000001C6)
* 007ECCAD Module(sqlservr+003ECCAD) (xp_replcmds+0000018A)
* 005F48F6 Module(sqlservr+001F48F6) (CSpecProc::ExecuteSpecial+00000119)
* 005F454D Module(sqlservr+001F454D) (CXProc::Execute+000000A3)
* 005F6842 Module(sqlservr+001F6842) (CSQLSource::Execute+000003C0)
* 0043A179 Module(sqlservr+0003A179) (execrpc+00000507)
* 004393DB Module(sqlservr+000393DB) (execute_rpc+00000019)
* 00428884 Module(sqlservr+00028884) (process_commands+00000232)
* 41072838 Module(UMS+00002838) (ProcessWorkRequests+00000272)
* 410725B3 Module(UMS+000025B3) (ThreadStartRoutine+00000098)
* 77BC90A2 Module(MSVCRT+000290A2) (endthread+000000A6)
* 77E4A990 Module(kernel32+0000A990) (FlsSetValue+00000779)
* -------------------------------------------------------------------------------

Stack Signature for the dump is 0x52072145
SQL Server Assertion: File: <logscan.cpp>, line=1903 
Failed Assertion = 'startLSN >= m_curLSN'.
Error: 3624, Severity: 20, State: 1.

* -------------------------------------------------------------------------------
* Short Stack Dump
* 0088199C Module(sqlservr+0048199C) (CStackDump::GetContextAndDump+0000002E)
* 008834AD Module(sqlservr+004834AD) (stackTrace+00000223)
* 00937A94 Module(sqlservr+00537A94) (utassert_fail+000002E3)
* 00862C1F Module(sqlservr+00462C1F) (LogIterForward::Close+0000008A)
* 00441007 Module(sqlservr+00041007) (LogIterForward::~LogIterForward+00000020)
* 77BB7AE7 Module(MSVCRT+00017AE7) (_unDNameEx+000007B6)
* 007ECCAD Module(sqlservr+003ECCAD) (xp_replcmds+0000018A)
* 005F48F6 Module(sqlservr+001F48F6) (CSpecProc::ExecuteSpecial+00000119)
* 005F454D Module(sqlservr+001F454D) (CXProc::Execute+000000A3)
* 005F6842 Module(sqlservr+001F6842) (CSQLSource::Execute+000003C0)
* 0043A179 Module(sqlservr+0003A179) (execrpc+00000507)
* 004393DB Module(sqlservr+000393DB) (execute_rpc+00000019)
* 00428884 Module(sqlservr+00028884) (process_commands+00000232)
* 41072838 Module(UMS+00002838) (ProcessWorkRequests+00000272)
* 410725B3 Module(UMS+000025B3) (ThreadStartRoutine+00000098)
* 77BC90A2 Module(MSVCRT+000290A2) (endthread+000000A6)
* 77E4A990 Module(kernel32+0000A990) (FlsSetValue+00000779)
* -------------------------------------------------------------------------------
Stack Signature for the dump is 0x3F63EDFB
SQL Server Assertion: File: <logscan.cpp>, line=2137 
Failed Assertion = 'm_noOfScAlloc == 0'.
back to the top

Modification Type:MinorLast Reviewed:6/1/2006
Keywords:kbbug kbfix kbSQLServ2000preSP4fix kbHotfixServer kbQFE KB872843 kbAudDeveloper