FIX: A memory leak occurs in Rpcrt4.dll during suspend and resume operations when a Windows Embedded Compact 7-based device communicates with a remote server

Article ID: 2731955 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario:
  • You have a Windows Embedded Compact 7-based device that is communicating with a remote server on a network. For example, you run the following command on the device to ping the remote server continuously:
    ping -t remote_server_IP
    Note The placeholder remote_server_IP represents the IP address of the remote server.

  • You repeatedly suspend and then resume the system on the device.

In this scenario, a memory leak occurs in the Rpcrt4.dll module.

Note To detect the memory leak on your device, run Resource Leak Detector tool.

Cause

This problem occurs because the cleanup function is not called to release the resources in remote procedure call (RPC) kernel-mode calls.

Resolution

Software update information

A supported software update is now available from Microsoft as Windows Embedded Compact 7 Monthly Update August 2012. In the "File information" section, the package file name contains the processor type.

Note This Windows Embedded Compact 7 monthly update is available for download from the following Microsoft Download Center website: 
Windows Embedded Compact 7 Updates

Prerequisites

This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this software update package has the file attributes (or later file attributes) 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 item in Control Panel.
Files that are included in this update package
Collapse this tableExpand this table
File nameFile sizeDateTimePath
Rpcrt4.dll638,97631-Jul-201219:04Public\Common\Oak\Target\Armv5\Checked
Rpcrt4.dll1,101,82431-Jul-201219:04Public\Common\Oak\Target\Armv5\Debug
Rpcrt4.dll356,35231-Jul-201219:03Public\Common\Oak\Target\Armv5\Retail
Rpcrt4.dll634,88031-Jul-201219:10Public\Common\Oak\Target\Armv6\Checked
Rpcrt4.dll1,097,72831-Jul-201219:09Public\Common\Oak\Target\Armv6\Debug
Rpcrt4.dll356,35231-Jul-201219:09Public\Common\Oak\Target\Armv6\Retail
Rpcrt4.dll622,59231-Jul-201219:15Public\Common\Oak\Target\Armv7\Checked
Rpcrt4.dll1,081,34431-Jul-201219:15Public\Common\Oak\Target\Armv7\Debug
Rpcrt4.dll352,25631-Jul-201219:14Public\Common\Oak\Target\Armv7\Retail
Rpcrt4.dll847,87231-Jul-201219:21Public\Common\Oak\Target\Mipsii\Checked
Rpcrt4.dll1,257,47231-Jul-201219:20Public\Common\Oak\Target\Mipsii\Debug
Rpcrt4.dll475,13631-Jul-201219:20Public\Common\Oak\Target\Mipsii\Retail
Rpcrt4.dll847,87231-Jul-201219:26Public\Common\Oak\Target\Mipsii_fp\Checked
Rpcrt4.dll1,257,47231-Jul-201219:26Public\Common\Oak\Target\Mipsii_fp\Debug
Rpcrt4.dll475,13631-Jul-201219:25Public\Common\Oak\Target\Mipsii_fp\Retail
Rpcrt4.dll569,34431-Jul-201219:31Public\Common\Oak\Target\Sh4\Checked
Rpcrt4.dll856,06431-Jul-201219:31Public\Common\Oak\Target\Sh4\Debug
Rpcrt4.dll331,77631-Jul-201219:30Public\Common\Oak\Target\Sh4\Retail
Rpcrt4.dll471,04031-Jul-201219:36Public\Common\Oak\Target\X86\Checked
Rpcrt4.dll753,66431-Jul-201219:36Public\Common\Oak\Target\X86\Debug
Rpcrt4.dll253,95231-Jul-201219:35Public\Common\Oak\Target\X86\Retail

References

For more information about software update terminology, 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

Properties

Article ID: 2731955 - Last Review: September 11, 2012 - Revision: 1.0
Applies to
  • Windows Embedded Compact 7
Keywords: 
kbqfe kbfix kbpubtypekc kbexpertiseinter kbsurveynew KB2731955

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com