Microsoft KB Archive/328840

= XADM: A Memory Leak Occurs in EMSMTA emsmta!CCryptContext::HrInit =

Article ID: 328840

Article Last Modified on 2/20/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition

-



This article was previously published under Q328840





SYMPTOMS
The message transfer agent (MTA) may leak memory from allocations that are made in emsmta!CCryptContext::HrInit. If you obtain a UMDH dump file, it shows a consecutive increase in memory usage with stacks that are similar to:

ntdll!RtlDebugAllocateHeap+000000FD ntdll!RtlAllocateHeapSlowly+0000005A ntdll!RtlAllocateHeap+000008C2 KERNEL32!LocalAlloc+00000074 rsabase!MakeNewKey+00000014 rsabase!CPInflateKey+000001CB ADVAPI32!CryptGetUserKey+00000068 emsmta!CCryptContext::HrInit+000000C3

ntdll!RtlDebugAllocateHeap+000000FD ntdll!RtlAllocateHeapSlowly+0000005A ntdll!RtlAllocateHeap+000008C2 KERNEL32!LocalAlloc+00000074 ADVAPI32!BuildVKey+0000000A emsmta!CCryptContext::HrInit+000000C3

ntdll!RtlDebugAllocateHeap+000000FD ntdll!RtlAllocateHeapSlowly+0000005A ntdll!RtlAllocateHeap+000008C2 KERNEL32!LocalAlloc+00000074 rsabase!SetCSPInfo+0000008F ADVAPI32!CryptGetUserKey+00000068 emsmta!CCryptContext::HrInit+000000C3



CAUSE
This problem may occur if a handle is allocated, but is never released. This causes the leak.



Cumulative Patch Information
To resolve this problem, obtain the March 2003 Exchange 2000 Server Post-Service Pack 3 (SP3) Rollup. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

813840 XGEN: March 2003 Exchange 2000 Server Post-Service Pack 3 Rollup

Hotfix Information
A 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 Microsoft Exchange 2000 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:

http://support.microsoft.com/contactus/?ws=support

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.

Component: MTA

The English version of this fix 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 ---  17-SEP-2002   13:55   6.0.6326.0   1,798,144   Emsmta.exe 01-AUG-2002  01:37   6.0.6300.1      84,480   Spuninst.exe 19-SEP-2001  19:00                   25,407   Eula.txt 01-AUG-2002  01:37   6.0.6300.1     288,768   Update.exe 18-SEP-2002  20:42                    6,411   Update.inf 18-SEP-2002  20:42                       88   Update.ver NOTE: Because of file dependencies, this update requires Microsoft Exchange 2000 Server Service Pack 3 (SP3). For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

301378 How to Obtain the Latest Exchange 2000 Server Service Pack



STATUS
Microsoft has confirmed that this is a problem in Microsoft Exchange 2000 Server.

Additional query words: kbExchange2000preSP4marchbarFix

Keywords: kbhotfixserver kbqfe kbbug kbexchange2000presp4fix kbfix kbqfe KB328840

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.