A memory leak occurs on a device that is running a Windows Embedded CE 6.0 image that includes the "SYSGEN_DCOM" variable

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

On This Page

SYMPTOMS

Consider the following scenario. You have a device that is running a Windows Embedded CE 6.0 image that includes the SYSGEN_DCOM variable. On this device, you run an application that uses the Ole32.dll module and the Oleaut32.dll module. In this scenario, a memory leak may occur. Because of the memory leak, you encounter some unexpected issues. For example, the application crashes or the system performance decreases.

CAUSE

This problem occurs because of the order in which the threads of the Ole32.dll module and the Oleaut32.dll module are terminated. These two modules share thread state data, but only the Ole32.dll module maintains the memory allocation for the data structure. When both of the modules are linked, they are linked in alphabetical order. Therefore, the Oleaut32.dll module is linked after the Ole32.dll module. If both of the modules receive a DLL_THREAD_DETACH message and the Oleaut32.dll module processes the message later, a memory leak occurs.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Platform Builder Monthly Update (August 2010). You can confirm this by scrolling to the "File information" section. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is as follows:
Product version-yymmdd-kbnnnnnn-processor type
For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about how to obtain Windows CE Platform Builder and core operating system software updates:
837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites

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

Restart requirement

After you install this software 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.
Installer files
Collapse this tableExpand this table
File nameFile sizeDateTime
Wincepb60-100817-kb2249270-armv4i.msi930,30417-Aug-201017:56
Wincepb60-100817-kb2249270-mipsii.msi919,04017-Aug-201017:56
Wincepb60-100817-kb2249270-mipsii_fp.msi920,57617-Aug-201017:56
Wincepb60-100817-kb2249270-mipsiv.msi925,69617-Aug-201017:56
Wincepb60-100817-kb2249270-mipsiv_fp.msi923,13617-Aug-201017:56
Wincepb60-100817-kb2249270-sh4.msi894,46417-Aug-201017:56
Wincepb60-100817-kb2249270-x86.msi863,74417-Aug-201017:56
Files that are included in this hotfix package
Collapse this tableExpand this table
File nameFile sizeDateTimePath
Windows embedded ce 6.0_update_kb2249270.htm7,61917-Aug-201017:43100817_kb2249270
Class.lib681,78412-Aug-201014:56Public\Dcom\Oak\Lib\Armv4i\Debug
Mcombase.lib70,60612-Aug-201014:56Public\Dcom\Oak\Lib\Armv4i\Debug
Class.lib517,86812-Aug-201014:56Public\Dcom\Oak\Lib\Armv4i\Retail
Mcombase.lib62,27212-Aug-201014:56Public\Dcom\Oak\Lib\Armv4i\Retail
Class.lib666,76012-Aug-201014:57Public\Dcom\Oak\Lib\Mipsii\Debug
Mcombase.lib70,22812-Aug-201014:57Public\Dcom\Oak\Lib\Mipsii\Debug
Class.lib510,60812-Aug-201014:57Public\Dcom\Oak\Lib\Mipsii\Retail
Mcombase.lib62,96412-Aug-201014:57Public\Dcom\Oak\Lib\Mipsii\Retail
Class.lib666,91012-Aug-201014:57Public\Dcom\Oak\Lib\Mipsii_fp\Debug
Mcombase.lib70,24812-Aug-201014:57Public\Dcom\Oak\Lib\Mipsii_fp\Debug
Class.lib510,74412-Aug-201014:57Public\Dcom\Oak\Lib\Mipsii_fp\Retail
Mcombase.lib62,99812-Aug-201014:57Public\Dcom\Oak\Lib\Mipsii_fp\Retail
Class.lib673,69812-Aug-201014:57Public\Dcom\Oak\Lib\Mipsiv\Debug
Mcombase.lib70,78412-Aug-201014:57Public\Dcom\Oak\Lib\Mipsiv\Debug
Class.lib514,85412-Aug-201014:57Public\Dcom\Oak\Lib\Mipsiv\Retail
Mcombase.lib63,70012-Aug-201014:57Public\Dcom\Oak\Lib\Mipsiv\Retail
Class.lib673,84812-Aug-201014:58Public\Dcom\Oak\Lib\Mipsiv_fp\Debug
Mcombase.lib70,80412-Aug-201014:58Public\Dcom\Oak\Lib\Mipsiv_fp\Debug
Class.lib514,99012-Aug-201014:58Public\Dcom\Oak\Lib\Mipsiv_fp\Retail
Mcombase.lib63,73412-Aug-201014:58Public\Dcom\Oak\Lib\Mipsiv_fp\Retail
Class.lib613,76612-Aug-201014:58Public\Dcom\Oak\Lib\Sh4\Debug
Mcombase.lib64,92412-Aug-201014:58Public\Dcom\Oak\Lib\Sh4\Debug
Class.lib480,57012-Aug-201014:58Public\Dcom\Oak\Lib\Sh4\Retail
Mcombase.lib59,47412-Aug-201014:58Public\Dcom\Oak\Lib\Sh4\Retail
Class.lib592,62012-Aug-201014:56Public\Dcom\Oak\Lib\X86\Debug
Mcombase.lib63,86412-Aug-201014:56Public\Dcom\Oak\Lib\X86\Debug
Class.lib475,83812-Aug-201014:56Public\Dcom\Oak\Lib\X86\Retail
Mcombase.lib59,72612-Aug-201014:56Public\Dcom\Oak\Lib\X86\Retail

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

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: 2249270 - Last Review: September 14, 2010 - Revision: 2.0
APPLIES TO
  • Windows Embedded CE 6.0
Keywords: 
kbqfe kbfix kbexpertiseadvanced kbsurveynew KB2249270

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