Article ID: 2423109 - Last Review: December 14, 2010 - Revision: 1.0

Memory leak when images are encoded in the PNG format on a Windows Embedded CE 6.0-based device

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.

On This Page

Expand all | Collapse all

SYMPTOMS

You run an application that encodes an image in the Portable Network Graphics (PNG) format on a Windows Embedded CE 6.0-based device. However, a memory leak of 4 or 8 kilobytes (KB) occurs every time that the application calls the IImage::PushIntoSink method. If this method is called many times, an “out of memory” exception may occur.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Platform Builder Monthly Update (November 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  (http://support.microsoft.com/kb/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-101101-kb2423109-armv4i.msi828,92801-Nov-201019:04
Wincepb60-101101-kb2423109-mipsii.msi805,37601-Nov-201019:04
Wincepb60-101101-kb2423109-mipsii_fp.msi806,40001-Nov-201019:04
Wincepb60-101101-kb2423109-mipsiv.msi811,52001-Nov-201019:04
Wincepb60-101101-kb2423109-mipsiv_fp.msi810,49601-Nov-201019:04
Wincepb60-101101-kb2423109-sh4.msi784,89601-Nov-201019:04
Wincepb60-101101-kb2423109-x86.msi759,29601-Nov-201019:04
Files that are included in this hotfix package
Collapse this tableExpand this table
File nameFile sizeDateTimePath
Windows embedded ce 6.0_update_kb2423109.htm7,63701-Nov-201018:41101101_kb2423109
Img_libpng.lib896,95425-Oct-201014:00Public\Gdiex\Oak\Lib\Armv4i\Debug
Img_libpng.lib713,48625-Oct-201014:00Public\Gdiex\Oak\Lib\Armv4i\Retail
Img_libpng.lib863,79025-Oct-201014:01Public\Gdiex\Oak\Lib\Mipsii\Debug
Img_libpng.lib683,46025-Oct-201014:01Public\Gdiex\Oak\Lib\Mipsii\Retail
Img_libpng.lib865,81825-Oct-201014:02Public\Gdiex\Oak\Lib\Mipsii_fp\Debug
Img_libpng.lib683,82025-Oct-201014:01Public\Gdiex\Oak\Lib\Mipsii_fp\Retail
Img_libpng.lib874,10625-Oct-201014:02Public\Gdiex\Oak\Lib\Mipsiv\Debug
Img_libpng.lib693,53425-Oct-201014:02Public\Gdiex\Oak\Lib\Mipsiv\Retail
Img_libpng.lib870,98225-Oct-201014:03Public\Gdiex\Oak\Lib\Mipsiv_fp\Debug
Img_libpng.lib690,86225-Oct-201014:03Public\Gdiex\Oak\Lib\Mipsiv_fp\Retail
Img_libpng.lib798,36225-Oct-201014:03Public\Gdiex\Oak\Lib\Sh4\Debug
Img_libpng.lib651,73625-Oct-201014:03Public\Gdiex\Oak\Lib\Sh4\Retail
Img_libpng.lib802,80425-Oct-201014:00Public\Gdiex\Oak\Lib\X86\Debug
Img_libpng.lib685,82025-Oct-201014:00Public\Gdiex\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  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

APPLIES TO
  • Windows Embedded CE 6.0
  • Windows Embedded CE 6.0 R2
  • Windows Embedded CE 6.0 R3
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2423109