Microsoft KB Archive/921337

= The computer may restart when you add a manifest that has the Windows Vista extension to an .exe file or to a .dll file in Windows XP Service Pack 2 (SP2) =

Article ID: 921337

Article Last Modified on 10/18/2006

-

APPLIES TO

 Microsoft Windows XP Service Pack 2, when used with:  Microsoft Windows XP Professional

 Microsoft Windows XP Home Edition 

-





SYMPTOMS
When you add a manifest that has the Microsoft Windows Vista extension to an .exe file or to a .dll file, the computer may restart. This problem occurs on a Microsoft Windows XP Service Pack 2 (SP2)-based computer. Additionally, this problem occurs when the .exe file runs or when the .dll file loads. The following is a sample of a manifest segment that has the Microsoft Windows Vista extension. //The section between >>>>> and <<<< is the problematic section.

 <assemblyIdentity version=&quot;1.0.0.0&quot; processorArchitecture=&quot;X86&quot; name=&quot;Synergex.Synergyde.lm&quot; type=&quot;win32&quot;> </assemblyIdentity> <dependentAssembly> <assemblyIdentity type=&quot;win32&quot; name=&quot;Microsoft.VC80.CRT&quot; version=&quot;8.0.50608.0&quot; processorArchitecture=&quot;x86&quot; publicKeyToken=&quot;1fc8b3b9a1e18e3b&quot;> </assemblyIdentity> </dependentAssembly>

>>>>>>>>>>>

<ms_asmv3:trustInfo xmlns:ms_asmv3=&quot;urn:schemas-microsoft-com:asm.v3&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v3&quot;> <ms_asmv3:security xmlns:ms_asmv3=&quot;urn:schemas-microsoft-com:asm.v3&quot;> <requestedPrivileges> <requestedExecutionLevel level=&quot;requireAdministrator&quot; uiAccess=&quot;false&quot;> </requestedExecutionLevel> </requestedPrivileges> </ms_asmv3:security> </ms_asmv3:trustInfo>

<<<<<<<<<<<

<div class="cause_section">

CAUSE
This problem occurs when Csrss.exe is loading an .exe file or a .dll file that contains a manifest that has Windows Vista extensions. When parsing the embedded manifest, its internal memory can be corrupted if it finds a single tag that has two schema properties. Here is the tag from the example earlier in this article that has two schema properties:

<ms_asmv3:trustInfo xmlns:ms_asmv3=&quot;urn:schemas-microsoft-com:asm.v3&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v3&quot;>

When Csrss.exe encounters such a tag, the memory corruption causes an access violation in Csrss.exe. This causes Windows to restart. End-users can resolve this by obtaining the hotfix that is mentioned in this article. Software developers can avoid this problem by making sure that only a single schema exists for all properties in a manifest. For this example, the following tag would avoid this problem.

<ms_asmv3:trustInfo xmlns:ms_asmv3=&quot;urn:schemas-microsoft-com:asm.v3&quot;>

Manifests that are created by Visual Studio 2005 can exhibit this behavior. This issue will be addressed by an updated Mt.exe file in Visual Studio 2005 Service Pack 1.

<div class="resolution_section">

Prerequisites
To apply this hotfix, you must have Windows XP Service Pack 2 installed on the computer.

Restart requirement
You must restart the computer after you apply this hotfix.

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

File information
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 item in Control Panel.

<div class="status_section">

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

<div class="moreinformation_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

Additional query words: Content Maintenance 58716 manifest

Keywords: kbfix kbbug kbhotfixserver kbqfe kbpubtypekc KB921337

-

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

© Microsoft Corporation. All rights reserved.