FIX: Replication Initialize Method Causes Handle Leak on Failure (243741)



The information in this article applies to:

  • Microsoft SQL Server 7.0

This article was previously published under Q243741
BUG #: 56599 (SQLBUG_70)

SYMPTOMS

When the Replication Initialize method fails, some handles are not closed properly, resulting in handle leaks within the application that activates the method. This may result in an increased memory consumption by this application and may result in abnormal termination of the process.

RESOLUTION

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next SQL Server service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone 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 typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:
   File name      Version     Platform
   ------------------------------------
   s70889i.exe    7.00.889    Intel
   s70889s.exe    7.00.889    Alpha
				
NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.


WORKAROUND

All the handles opened by an application will be closed when the application stops. When the application detects an error with Initialize, the application could be stopped and restarted after fixing the problem that generated the failure.

If the application using the Initialize method cannot be stopped for business reasons, consider activating the method from outside the application.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0.

Modification Type:MinorLast Reviewed:10/5/2005
Keywords:kbBug kbfix kbQFE KB243741