Microsoft KB Archive/867775

= FIX: A deadlock may occur when two file system drivers are loaded after each other in Windows CE .NET 4.2 =

Article ID: 867775

Article Last Modified on 5/27/2005

-

APPLIES TO


 * Microsoft Windows CE .NET 4.2

-





SYMPTOMS
A configuration with a file system driver (FSD) is loaded and active in Microsoft Windows CE .NET 4.2. When a second FSD is loaded, a deadlock may occur.

For example, a platform with the binary ROM image file system (BinFS) may experience a deadlock when a storage device that uses the FAT file system (FATFS) is mounted or is unmounted.



CAUSE
This problem occurs when two threads that are in the file system module try to take a critical section at the same time.



Hotfix information
A supported software update is now available from Microsoft as Windows CE .NET 4.2 Core OS QFE 867775. 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 hotfix is supported only if all previously issued hotfixes for this product have also been installed.

Restart requirement
After you install this hotfix, you must perform a clean build of the whole operating system. To perform a clean build of the operating system, follow these steps:
 * 1) On the Build menu, click Clean.
 * 2) On the Build menu, click Build Platform.

You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this package has the file attributes (or later file attributes) that are listed in the following table.   Date         Time   Version    Size     File name ---   20-Jul-2004  00:50  4.2.4.719  916,216  Wincepb42-040719-kb867775-armv4.exe 20-Jul-2004 00:51  4.2.4.719  916,216  Wincepb42-040719-kb867775-armv4i.exe 20-Jul-2004 00:51  4.2.4.719  932,600  Wincepb42-040719-kb867775-mipsii.exe 20-Jul-2004 00:50  4.2.4.719  932,600  Wincepb42-040719-kb867775-mipsii_fp.exe 20-Jul-2004 00:51  4.2.4.719  940,792  Wincepb42-040719-kb867775-mipsiv.exe 20-Jul-2004 00:51  4.2.4.719  940,792  Wincepb42-040719-kb867775-mipsiv_fp.exe 20-Jul-2004 00:50  4.2.4.719  903,928  Wincepb42-040719-kb867775-sh3.exe 20-Jul-2004 00:50  4.2.4.719  903,928  Wincepb42-040719-kb867775-sh4.exe 20-Jul-2004 00:50  4.2.4.719  862,968  Wincepb42-040719-kb867775-x86.exe The English version of this hotfix 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 29-Jun-2004 22:06   76,956  Fsdmain.lib 29-Jun-2004 22:06   86,016  Fsdmain.pdb 29-Jun-2004 22:06  245,422  Fsdserv.lib 29-Jun-2004 22:06   94,208  Fsdserv.pdb 29-Jun-2004 22:05  197,694  Fsmain.lib 29-Jun-2004 22:05   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Armv4\Retail 29-Jun-2004 22:06   59,492  Fsdmain.lib 29-Jun-2004 22:06   86,016  Fsdmain.pdb 29-Jun-2004 22:06  224,992  Fsdserv.lib 29-Jun-2004 22:06   94,208  Fsdserv.pdb 29-Jun-2004 22:05  169,416  Fsmain.lib 29-Jun-2004 22:05   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Armv4i\Debug 29-Jun-2004 22:06   77,028  Fsdmain.lib 29-Jun-2004 22:06   86,016  Fsdmain.pdb 29-Jun-2004 22:07  245,878  Fsdserv.lib 29-Jun-2004 22:07   94,208  Fsdserv.pdb 29-Jun-2004 22:06  197,976  Fsmain.lib 29-Jun-2004 22:06   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Armv4i\Retail 29-Jun-2004 22:06   59,586  Fsdmain.lib 29-Jun-2004 22:06   86,016  Fsdmain.pdb 29-Jun-2004 22:07  224,752  Fsdserv.lib 29-Jun-2004 22:07   94,208  Fsdserv.pdb 29-Jun-2004 22:06  169,630  Fsmain.lib 29-Jun-2004 22:06   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Mipsii\Debug 29-Jun-2004 22:07   79,528  Fsdmain.lib 29-Jun-2004 22:07   86,016  Fsdmain.pdb 29-Jun-2004 22:07  254,100  Fsdserv.lib 29-Jun-2004 22:07   94,208  Fsdserv.pdb 29-Jun-2004 22:07  216,238  Fsmain.lib 29-Jun-2004 22:07   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Mipsii\Retail 29-Jun-2004 22:07   61,348  Fsdmain.lib 29-Jun-2004 22:07   86,016  Fsdmain.pdb 29-Jun-2004 22:07  235,446  Fsdserv.lib 29-Jun-2004 22:07   94,208  Fsdserv.pdb 29-Jun-2004 22:07  164,412  Fsmain.lib 29-Jun-2004 22:07   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Mipsii_fp\Debug 29-Jun-2004 22:08   79,564  Fsdmain.lib 29-Jun-2004 22:08   86,016  Fsdmain.pdb 29-Jun-2004 22:08  254,162  Fsdserv.lib 29-Jun-2004 22:08   94,208  Fsdserv.pdb 29-Jun-2004 22:08  216,250  Fsmain.lib 29-Jun-2004 22:08   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Mipsii_fp\Retail 29-Jun-2004 22:08   61,374  Fsdmain.lib 29-Jun-2004 22:08   86,016  Fsdmain.pdb 29-Jun-2004 22:08  235,482  Fsdserv.lib 29-Jun-2004 22:08   94,208  Fsdserv.pdb 29-Jun-2004 22:08  164,420  Fsmain.lib 29-Jun-2004 22:08   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Mipsiv\Debug 29-Jun-2004 22:09   79,832  Fsdmain.lib 29-Jun-2004 22:09   86,016  Fsdmain.pdb 29-Jun-2004 22:09  257,712  Fsdserv.lib 29-Jun-2004 22:09   94,208  Fsdserv.pdb 29-Jun-2004 22:09  218,848  Fsmain.lib 29-Jun-2004 22:09   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Mipsiv\Retail 29-Jun-2004 22:09   61,560  Fsdmain.lib 29-Jun-2004 22:09   86,016  Fsdmain.pdb 29-Jun-2004 22:09  237,568  Fsdserv.lib 29-Jun-2004 22:09   94,208  Fsdserv.pdb 29-Jun-2004 22:09  165,588  Fsmain.lib 29-Jun-2004 22:09   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug 29-Jun-2004 22:10   79,868  Fsdmain.lib 29-Jun-2004 22:10   86,016  Fsdmain.pdb 29-Jun-2004 22:10  257,774  Fsdserv.lib 29-Jun-2004 22:10   94,208  Fsdserv.pdb 29-Jun-2004 22:10  218,860  Fsmain.lib 29-Jun-2004 22:10   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail 29-Jun-2004 22:10   61,586  Fsdmain.lib 29-Jun-2004 22:10   86,016  Fsdmain.pdb 29-Jun-2004 22:10  237,604  Fsdserv.lib 29-Jun-2004 22:10   94,208  Fsdserv.pdb 29-Jun-2004 22:09  165,596  Fsmain.lib 29-Jun-2004 22:09   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Sh3\Debug 29-Jun-2004 22:11   73,572  Fsdmain.lib 29-Jun-2004 22:11   86,016  Fsdmain.pdb 29-Jun-2004 22:11  228,600  Fsdserv.lib 29-Jun-2004 22:11   94,208  Fsdserv.pdb 29-Jun-2004 22:11  176,322  Fsmain.lib 29-Jun-2004 22:11   69,632  Fsmain.pdb

PPath: Public\Common\Oak\Lib\Sh3\Retail 29-Jun-2004 22:11   58,524  Fsdmain.lib 29-Jun-2004 22:11   86,016  Fsdmain.pdb 29-Jun-2004 22:11  215,338  Fsdserv.lib 29-Jun-2004 22:11   94,208  Fsdserv.pdb 29-Jun-2004 22:10  136,824  Fsmain.lib 29-Jun-2004 22:10   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Sh4\Debug 29-Jun-2004 22:12   73,572  Fsdmain.lib 29-Jun-2004 22:12   86,016  Fsdmain.pdb 29-Jun-2004 22:12  228,600  Fsdserv.lib 29-Jun-2004 22:12   94,208  Fsdserv.pdb 29-Jun-2004 22:12  176,296  Fsmain.lib 29-Jun-2004 22:12   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\Sh4\Retail 29-Jun-2004 22:12   58,506  Fsdmain.lib 29-Jun-2004 22:12   86,016  Fsdmain.pdb 29-Jun-2004 22:12  215,218  Fsdserv.lib 29-Jun-2004 22:12   94,208  Fsdserv.pdb 29-Jun-2004 22:11  136,796  Fsmain.lib 29-Jun-2004 22:11   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\X86\Debug 29-Jun-2004 22:05   72,178  Fsdmain.lib 29-Jun-2004 22:05   86,016  Fsdmain.pdb 29-Jun-2004 22:05  205,612  Fsdserv.lib 29-Jun-2004 22:05   94,208  Fsdserv.pdb 29-Jun-2004 22:04  161,682  Fsmain.lib 29-Jun-2004 22:04   69,632  Fsmain.pdb

Path: Public\Common\Oak\Lib\X86\Retail 29-Jun-2004 22:05   55,908  Fsdmain.lib 29-Jun-2004 22:05   86,016  Fsdmain.pdb 29-Jun-2004 22:05  186,662  Fsdserv.lib 29-Jun-2004 22:05   94,208  Fsdserv.pdb 29-Jun-2004 22:04  115,116  Fsmain.lib 29-Jun-2004 22:04   69,632  Fsmain.pdb

Path: Public\Common\Sdk\Inc 29-Jun-2004 22:13   13,946  Fsdmgr.h



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

