MSMQ: Access Violation in the QMRemoteStartReceive Routine (306737)



The information in this article applies to:

  • Microsoft Message Queue Server (MSMQ) 1.0

This article was previously published under Q306737

SYMPTOMS

When you debug a dump, you may receive notice of an access violation in the QMRemoteStartReceive routine in Microsoft Message Queue Server (MSMQ).

CAUSE

This behavior can occur if the pointer to the queue object is not properly counted. In this case, a race condition may occur that causes memory corruption and access violations on the server that hosts the remote read session.

RESOLUTION

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

The English-language version of this fix should have the following file attributes or later:
   Date             Time    Version  Size      File name         Platform
   -----------------------------------------------------------------------
   02/14/2001       05:04            11KB      crdbsp7.sql          x86
   02/14/2001       05:03            20KB      mq2ndnd.exe          x86
   02/14/2001       05:04   319      60KB      mqac.sys             x86
   02/14/2001       04:40   319      34KB      mqcertui.dll         x86
   02/14/2001       04:40   319      34KB      mqdbmgr.dll          x86
   02/14/2001       04:40   319      58KB      mqdscli.dll          x86
   02/14/2001       04:40   319      56KB      mqdsrv.dll           x86
   02/14/2001       04:40   319     222KB      mqis.dll             x86
   02/14/2001       04:40   319      16KB      mqkeyhlp.dll         x86
   02/14/2001       04:40   319     139KB      mqoa.dll             x86
   02/14/2001       04:40   319       9KB      mqperf.dll           x86
   02/14/2001       04:40   319     494KB      mqqm.dll             x86
   02/14/2001       04:40   319     108KB      mqrt.dll             x86
   02/14/2001       04:40   319   1,789KB      mqsetup.exe          x86
   02/14/2001       04:40   319      14KB      mqsvc.exe            x86
   02/14/2001       04:40   319     105KB      mqutil.dll           x86
   02/14/2001       04:40   319      61KB      msmq.cpl             x86
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MajorLast Reviewed:10/16/2002
Keywords:kbprb kbQFE KB306737