You are currently offline, waiting for your internet to reconnect

FIX: A Windows CE 5.0-based device may stop responding when two or more applications access the RegSaveKey function and a GWES API function at the same time

This article has been archived. It is offered "as is" and will no longer be updated.
A Microsoft Windows CE 5.0-based device may stop responding when you run two or more applications that call the RegSaveKey function and a Graphics, Windowing, and Events Subsystem (GWES) API function at the same time. Consider the following scenario:
  • You create a Windows CE 5.0-based application that calls the RegSaveKey function.
  • You create another Windows CE 5.0-based application that calls a function in the GWES API. For example, the application calls the CreateFontIndirectW function.
In this scenario, a deadlock condition may occur. When the deadlock condition occurs, the Windows CE 5.0-based device stops responding. You must complete a soft reset for the device.
This problem occurs because of a deadlock condition between the Filesys process and the GWES process:
  • The RegSaveKey function enters the registry critical section, and then calls the CloseHandle Filesys function.
  • The CloseHandle function calls the ReplNotify function.
  • The ReplNotify function calls into the GWES process and tries to enter the GWES critical section.
At the same time, another application calls a GWES API function that owns the GWES critical section. If the GWES API function tries to access the registry, this function cannot enter the registry critical section. The other application already owns the registry critical section. This behavior creates a deadlock condition between the Filesys process and the GWES process.

Software update information

A supported software update is now available from Microsoft as Windows CE 5.0 Core OS QFE 918013. 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


This update is supported only if all previously issued updates for this product have also been applied.

Restart requirement

After you apply 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 package has the file attributes (or later file attributes) that are listed in the following table.
File nameFile sizeDateTime
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 item in Control Panel.
File nameFile sizeDateTimePath
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
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

Article ID: 918013 - Last Review: 01/17/2015 14:22:40 - Revision: 2.3

Microsoft Windows CE 5.0

  • kbnosurvey kbarchive kbbug kbfix kbqfe kbpubtypekc KB918013