Microsoft KB Archive/840942

= FIX: Applications become unreliable after inserting CD-ROM =

Article ID: 840942

Article Last Modified on 5/27/2005

-

APPLIES TO


 * Microsoft Windows CE .NET 4.2

-





SYMPTOMS
When a CD-ROM disc that contains many files and directories is inserted into a Microsoft Windows CE platform, the Universal Disc File System (UDFS) driver may allocate large buffers. Sometimes, these buffers can grow to consume sufficient memory to affect other applications.



Software update information
A supported software update is now available from Microsoft as Windows CE 4.2 Core OS QFE 840942. To resolve this problem immediately, click the following article number for information about obtaining 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 update is supported only if all previously issued updates for this product have also been installed.

Restart requirement
After you install this update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart your computer after you apply this update.

Update replacement information
This update does not replace any other updates.

File information
The English version of this software update 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 tool in Control Panel.   Date         Time   Version  Size     File name -  22-May-2004  01:04  4.21     703,224  Wincepb42-040521-kb840942-armv4.exe 22-May-2004 01:04  4.21     703,224  Wincepb42-040521-kb840942-armv4i.exe 22-May-2004 01:04  4.21     711,416  Wincepb42-040521-kb840942-mipsii.exe 22-May-2004 01:04  4.21     711,416  Wincepb42-040521-kb840942-mipsii_fp.exe 22-May-2004 01:04  4.21     711,416  Wincepb42-040521-kb840942-mipsiv.exe 22-May-2004 01:04  4.21     711,416  Wincepb42-040521-kb840942-mipsiv_fp.exe 22-May-2004 01:04  4.21     695,032  Wincepb42-040521-kb840942-sh3.exe 22-May-2004 01:04  4.21     695,032  Wincepb42-040521-kb840942-sh4.exe 22-May-2004 01:04  4.21     682,744  Wincepb42-040521-kb840942-x86.exe The English version of this software update 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 tool in Control Panel.   Date         Time   Size     File name --

Path: Public\Common\Oak\Lib\Armv4\Debug 15-May-2004 00:28  359,674  Udfs.lib 15-May-2004 00:28   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Armv4\Retail 15-May-2004 00:28  270,880  Udfs.lib 15-May-2004 00:28   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Armv4i\Debug 15-May-2004 00:29  360,198  Udfs.lib 15-May-2004 00:29   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Armv4i\Retail 15-May-2004 00:29  271,210  Udfs.lib 15-May-2004 00:29   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Mipsii\Debug 15-May-2004 00:29  362,222  Udfs.lib 15-May-2004 00:29   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Mipsii\Retail 15-May-2004 00:29  278,384  Udfs.lib 15-May-2004 00:29   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Mipsii_fp\Debug 15-May-2004 00:29  362,306  Udfs.lib 15-May-2004 00:29   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Mipsii_fp\Retail 15-May-2004 00:29  278,530  Udfs.lib 15-May-2004 00:29   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Mipsiv\Debug 15-May-2004 00:29  365,580  Udfs.lib 15-May-2004 00:29   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Mipsiv\Retail 15-May-2004 00:29  280,382  Udfs.lib 15-May-2004 00:29   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug 15-May-2004 00:30  365,666  Udfs.lib 15-May-2004 00:30   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail 15-May-2004 00:30  280,530  Udfs.lib 15-May-2004 00:30   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Sh3\Debug 15-May-2004 00:30  341,084  Udfs.lib 15-May-2004 00:30   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Sh3\Retail 15-May-2004 00:30  263,702  Udfs.lib 15-May-2004 00:30   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Sh4\Debug 15-May-2004 00:30  341,084  Udfs.lib 15-May-2004 00:30   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\Sh4\Retail 15-May-2004 00:30  263,598  Udfs.lib 15-May-2004 00:30   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\X86\Debug 15-May-2004 00:28  322,260  Udfs.lib 15-May-2004 00:28   94,208  Udfs.pdb

Path: Public\Common\Oak\Lib\X86\Retail 15-May-2004 00:28  245,202  Udfs.lib 15-May-2004 00:28   94,208  Udfs.pdb



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
This software update changes the heap allocation code within UDFS. You can now limit the heap size, and the heap can be deallocated upon media removal. By default, these changes are not active. To enable and to configure this software update, you must add the following registry keys to the OEM platform:

Note In these registry keys,  is the maximum heap size that you want, in kilobytes. A value of 0 means that the heap is unbounded.  is set to 1 to enable the destruction and recreation of the whole heap when media change occurs.

Keywords: kbbug kbfix kbqfe KB840942

-

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

© Microsoft Corporation. All rights reserved.