Message Queuing access violation after remote read timeout (305230)



The information in this article applies to:

  • Microsoft Message Queuing 2.0

This article was previously published under Q305230

SYMPTOMS

You may receive an access violation in the Message Queuing QMRemoteStartReceive routine.

CAUSE

The pointer to the queue object is not properly counted, and a race condition sometimes occurs that causes memory corruption.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

The English version of this fix should have the following file attributes or later:
   Date           Time   Version       Size   File name     
   -----------------------------------------------------
   Aug-09-2001   14:12   5.0.0.720   273 KB   Mq1repl.dll
   May-29-2001   15:22   5.0.0.720    14 KB   Mq1sync.dll
   Aug-09-2001   15:22   5.0.0.735    70 KB   Mqac.sys
   Aug-09-2001   14:12   5.0.0.735   210 KB   Mqads.dll
   May-29-2001   15:23   5.0.0.720    22 KB   Mqbkup.exe
   Aug-09-2001   14:12   5.0.0.720    29 KB   Mqcertui.dll
   Aug-09-2001   14:12   5.0.0.720    49 KB   Mqclus.dll
   Aug-09-2001   14:12   5.0.0.720    30 KB   Mqdbodbc.dll
   Aug-09-2001   14:12   5.0.0.720    74 KB   Mqdscli.dll
   Aug-09-2001   14:12   5.0.0.735    41 KB   Mqdssrv.dll
   May-29-2001   15:23   5.0.0.720    96 KB   Mqmig.exe
   Aug-09-2001   14:12   5.0.0.720   258 KB   Mqmigrat.dll
   Aug-09-2001   14:12   5.0.0.720   219 KB   Mqoa.dll
   Aug-09-2001   14:12   5.0.0.720     8 KB   Mqperf.dll
   Aug-09-2001   14:12   5.0.0.739   409 KB   Mqqm.dll
   Aug-09-2001   14:12   5.0.0.720     9 KB   Mqrperf.dll
   Aug-09-2001   14:12   5.0.0.738    90 KB   Mqrt.dll
   Aug-09-2001   14:12   5.0.0.738    69 KB   Mqsec.dll
   Aug-09-2001   14:12   5.0.0.720   391 KB   Mqsnap.dll
   May-29-2001   15:23   5.0.0.720    14 KB   Mqsvc.exe
   Aug-09-2001   14:12   5.0.0.720    24 KB   Mqupgrd.dll
   Aug-09-2001   14:12   5.0.0.738   106 KB   Mqutil.dll
   Aug-09-2001   14:12   5.0.0.720    64 KB   Msmq.cpl
   Aug-09-2001   14:12   5.0.0.720   156 KB   Msmqocm.dll
				

STATUS

Microsoft has confirmed that this is a problem in Message Queuing version 2.0. This problem was first corrected in Windows 2000 Service Pack 3.

MORE INFORMATION

This fix corrects the reference counting for the queue object in a remote read environment so that it is not deleted before all threads that reference the object are done.

Modification Type:MinorLast Reviewed:9/23/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbWin2000sp3fix KB305230