FIX: A volume is corrupted when multiple threads in a process write to different files under the same directory in Windows CE .NET 4.2 (913483)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.2

SYMPTOMS

In Microsoft Windows CE .NET 4.2, when multiple threads in a process write to different files under the same directory, a volume is corrupted.

Typically, when this problem occurs and you call the ScanVolume function, you receive one of the following error messages:

Error message 1

Lost clusters

Error message 2

Lost chains

Error message 3

Invalid files

CAUSE

An incorrectly positioned critical section causes a timing-related problem in the transaction-safe file allocation table (TFAT) component. The timing-related problem lets a thread in the TFAT component free a cluster that is being used by another TFAT thread. This causes the volume to be corrupted.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE .NET 4.2 Core OS QFE 913483. 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 previous updates for this product are also 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 the computer after you apply this update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this package has the file attributes (or later file attributes) that are listed in the following table.
File nameFile sizeDateTime
Wincepb42-060124-kb913483-armv4.msi7,742,46425-Jan-200602:24
Wincepb42-060124-kb913483-armv4i.msi7,745,53625-Jan-200602:25
Wincepb42-060124-kb913483-mipsii.msi7,761,92025-Jan-200602:25
Wincepb42-060124-kb913483-mipsii_fp.msi7,761,92025-Jan-200602:25
Wincepb42-060124-kb913483-mipsiv.msi7,771,64825-Jan-200602:25
Wincepb42-060124-kb913483-mipsiv_fp.msi7,771,64825-Jan-200602:25
Wincepb42-060124-kb913483-sh3.msi7,715,32825-Jan-200602:25
Wincepb42-060124-kb913483-sh4.msi7,713,79225-Jan-200602:25
Wincepb42-060124-kb913483-x86.msi7,663,10425-Jan-200602:24
The English version of this 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.
File nameFile sizeDateTimePath
Tfat.lib738,04618-Jan-200623:37public\common\oak\lib\armv4\debug
Tfat.lib415,54818-Jan-200623:37public\common\oak\lib\armv4\retail
Tfat.lib738,84418-Jan-200623:37public\common\oak\lib\armv4i\debug
Tfat.lib416,04418-Jan-200623:37public\common\oak\lib\armv4i\retail
Tfat.lib753,15218-Jan-200623:38public\common\oak\lib\mipsii\debug
Tfat.lib424,86218-Jan-200623:37public\common\oak\lib\mipsii\retail
Tfat.lib753,24218-Jan-200623:38public\common\oak\lib\mipsii_fp\debug
Tfat.lib425,01418-Jan-200623:38public\common\oak\lib\mipsii_fp\retail
Tfat.lib763,43418-Jan-200623:38public\common\oak\lib\mipsiv\debug
Tfat.lib428,42418-Jan-200623:38public\common\oak\lib\mipsiv\retail
Tfat.lib763,52418-Jan-200623:38public\common\oak\lib\mipsiv_fp\debug
Tfat.lib428,57418-Jan-200623:38public\common\oak\lib\mipsiv_fp\retail
Tfat.lib645,75218-Jan-200623:38public\common\oak\lib\sh3\debug
Tfat.lib385,57618-Jan-200623:38public\common\oak\lib\sh3\retail
Tfat.lib645,37018-Jan-200623:39public\common\oak\lib\sh4\debug
Tfat.lib384,79018-Jan-200623:38public\common\oak\lib\sh4\retail
Tfat.lib631,22818-Jan-200623:37public\common\oak\lib\x86\debug
Tfat.lib341,71818-Jan-200623:37public\common\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, 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


Modification Type:MinorLast Reviewed:7/26/2006
Keywords:kbBug kbfix kbQFE kbpubtypekc KB913483