Microsoft KB Archive/913483

= 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 =

Article ID: 913483

Article Last Modified on 7/26/2006

-

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.



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.

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.



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
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

Keywords: kbbug kbfix kbqfe kbpubtypekc KB913483

-

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

© Microsoft Corporation. All rights reserved.