Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: A deadlock occurs between two threads in Windows Embedded CE 6.0 R3


Symptoms

Consider the following scenario:
  • You run a Windows Embedded CE 6.0 R3-based image that contains the Storage Manager components on a target device. 
  • A thread calls the DismountStore function or the DismountPartition function. For example, this happens when you unmount an external storage device from the Windows Embedded CE 6.0 R3-based device.
  • Another thread calls the CeResyncFilesys function or the PNPThread function. For example, this happens when you remount the external storage device to the Windows Embedded CE 6.0 R3-based device.
In this scenario, a deadlock may occur between the two threads. Additionally, the applications that produce these threads may stop responding.

↑ Back to the top


Resolution

Software update information

A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Platform Builder Monthly Update (February 2011). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:
Product version-yymmdd-kbnnnnnn-processor type
For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows Embedded 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 obtaining Windows Embedded CE Platform Builder and core operating system software updates:
837392 How to locate core operating system fixes for Microsoft Windows Embedded CE Platform Builder products
Note This Windows Embedded CE 6.0 Monthly Update is also available for download from the following Microsoft Download Center website:

Prerequisites

To apply this software update, you must have all previously issued software updates for this product installed.

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 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
File nameFile sizeDateTime
Wincepb60-110211-kb2495580-armv4i.msi1,557,50411-Feb-201119:29
Wincepb60-110211-kb2495580-mipsii.msi1,545,72811-Feb-201119:29
Wincepb60-110211-kb2495580-mipsii_fp.msi1,545,72811-Feb-201119:29
Wincepb60-110211-kb2495580-mipsiv.msi1,554,43211-Feb-201119:29
Wincepb60-110211-kb2495580-mipsiv_fp.msi1,554,94411-Feb-201119:29
Wincepb60-110211-kb2495580-sh4.msi1,509,88811-Feb-201119:29
Wincepb60-110211-kb2495580-x86.msi1,414,65611-Feb-201119:29
Files that are included in this hotfix package
File nameFile sizeDateTimePath
Windows embedded ce 6.0_update_kb2495580.htm7,82611-Feb-201119:24110211_kb2495580
Stgapi.cpp31,67231-Jan-201115:53Private\Winceos\Coreos\Storage\Fsdmgr
Fsdmgr_lib.lib1,524,56231-Jan-201115:52Public\Common\Oak\Lib\Armv4i\Debug
Fsdmgr_lib.lib1,238,70431-Jan-201115:52Public\Common\Oak\Lib\Armv4i\Retail
Fsdmgr_lib.lib1,499,31631-Jan-201115:52Public\Common\Oak\Lib\Mipsii\Debug
Fsdmgr_lib.lib1,246,87431-Jan-201115:52Public\Common\Oak\Lib\Mipsii\Retail
Fsdmgr_lib.lib1,499,62031-Jan-201115:52Public\Common\Oak\Lib\Mipsii_fp\Debug
Fsdmgr_lib.lib1,247,30431-Jan-201115:52Public\Common\Oak\Lib\Mipsii_fp\Retail
Fsdmgr_lib.lib1,522,54831-Jan-201115:53Public\Common\Oak\Lib\Mipsiv\Debug
Fsdmgr_lib.lib1,264,26231-Jan-201115:52Public\Common\Oak\Lib\Mipsiv\Retail
Fsdmgr_lib.lib1,522,85231-Jan-201115:53Public\Common\Oak\Lib\Mipsiv_fp\Debug
Fsdmgr_lib.lib1,264,68031-Jan-201115:53Public\Common\Oak\Lib\Mipsiv_fp\Retail
Fsdmgr_lib.lib1,345,59031-Jan-201115:53Public\Common\Oak\Lib\Sh4\Debug
Fsdmgr_lib.lib1,137,62631-Jan-201115:53Public\Common\Oak\Lib\Sh4\Retail
Fsdmgr_lib.lib1,269,97631-Jan-201115:51Public\Common\Oak\Lib\X86\Debug
Fsdmgr_lib.lib1,068,92431-Jan-201115:51Public\Common\Oak\Lib\X86\Retail

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about software update terminology, 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

↑ Back to the top


Keywords: kb, atdownload, kbexpertiseadvanced, kbsurveynew, kbfix, kbqfe

↑ Back to the top

Article Info
Article ID : 2495580
Revision : 2
Created on : 4/9/2020
Published on : 4/9/2020
Exists online : False
Views : 249