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.

An access violation exception occurs in the "NdrClientCall2" function in Windows Vista or in Windows Server 2008


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a computer that is running Windows Vista or Windows Server 2008.
  • You use some remote procedure calls (RPC) to send data between an RPC client and an RPC server.
  • Some callback functions are called between the RPC client and the RPC server.
In this scenario, an access violation exception occurs in the NdrClientCall2�function on the RPC client. This access violation exception may cause data loss. Additionally, the memory usage of the RPC client keeps increasing.�

↑ Back to the top


Cause

This issue occurs because the RPC driver (Rpcrt4.dll) handles an RPC call that involves the callback functions incorrectly.

When the call back function is called, the RPC client allows the RPC server to access some data of the RPC client. However, the RPC server does not notify the RPC client to free a buffer that may be used later when the callback function returns. This behavior causes a memory leak on the RPC client. Additionally, an access violation occurs when the RPC client tries to use the buffer again.��

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:
  • Windows Vista Service Pack 1 (SP1)
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008
  • Windows Server 2008 Service Pack 2 (SP2)
For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack
For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
968849 How to obtain the latest service pack for Windows Server 2008

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    VersionProductSR_LevelService branch
    6.0.600 1 . 22xxxWindows Vista and Windows Server 2008SP1LDR
    6.0.600 2 . 22xxxWindows Vista and Windows Server 2008SP2LDR
  • Service Pack 1 is integrated into the release version of Windows Server 2008. Therefore, RTM milestone files apply only to Windows Vista. RTM milestone files have a 6.0.0000.xxxxx version number.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Rpcrt4.dll6.0.6001.22685785,40804-May-201018:27x86
Rpcrt4.dll6.0.6002.22398784,89604-May-201019:37x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Rpcrt4.dll6.0.6001.226851,318,40004-May-201018:59x64
Rpcrt4.dll6.0.6002.223981,311,23204-May-201019:42x64
Rpcrt4.dll6.0.6001.22685677,88804-May-201018:28x86
Rpcrt4.dll6.0.6002.22398677,88804-May-201019:38x86
For all supported IA-64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Rpcrt4.dll6.0.6001.226853,304,44804-May-201018:24IA-64
Rpcrt4.dll6.0.6002.223983,304,44804-May-201019:25IA-64
Rpcrt4.dll6.0.6001.22685677,88804-May-201018:28x86
Rpcrt4.dll6.0.6002.22398677,88804-May-201019:38x86

↑ 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 the NdrClientCall2 function, visit the following Microsoft Developer Network (MSDN) website: For more information about how to use RPC callback functions, click the following article number to view the article in the Microsoft Knowledge Base:
96781 How To Use RPC Callback Functions
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
949887 A memory leak occurs on an RPC server that is running Windows Server 2008 after the RPC server function runs an RPC client callback function
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

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
File nameUpdate.mum
File versionNot applicable
File size3,577
Date (UTC)05-May-2010
Time (UTC)12:02
PlatformNot applicable
File nameX86_21c030c683b57ea6073767813c16bf41_31bf3856ad364e35_6.0.6001.22685_none_5ebface990cd25c7.manifest
File versionNot applicable
File size697
Date (UTC)05-May-2010
Time (UTC)12:02
PlatformNot applicable
File nameX86_bbddbea8ff6138518eeafd8e415351e7_31bf3856ad364e35_6.0.6002.22398_none_6ae4dd53a903dd5a.manifest
File versionNot applicable
File size697
Date (UTC)05-May-2010
Time (UTC)12:02
PlatformNot applicable
File nameX86_microsoft-windows-rpc-local_31bf3856ad364e35_6.0.6001.22685_none_b432c7725e6e3f27.manifest
File versionNot applicable
File size28,463
Date (UTC)05-May-2010
Time (UTC)08:18
PlatformNot applicable
File nameX86_microsoft-windows-rpc-local_31bf3856ad364e35_6.0.6002.22398_none_b6116a4c5b99fc41.manifest
File versionNot applicable
File size28,463
Date (UTC)05-May-2010
Time (UTC)05:47
PlatformNot applicable
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameAmd64_6fdd428ae16f3c749a51a05baea6e7dd_31bf3856ad364e35_6.0.6001.22685_none_c67fb5d1aa360042.manifest
File versionNot applicable
File size1,044
Date (UTC)05-May-2010
Time (UTC)12:02
PlatformNot applicable
File nameAmd64_a4441799060ded623c56e91922666b7f_31bf3856ad364e35_6.0.6001.22685_none_dd8d0e280e60861b.manifest
File versionNot applicable
File size701
Date (UTC)05-May-2010
Time (UTC)12:02
PlatformNot applicable
File nameAmd64_f936f57b59f16df955653c859df74880_31bf3856ad364e35_6.0.6002.22398_none_bcf9d9ba4eb9cf77.manifest
File versionNot applicable
File size1,044
Date (UTC)05-May-2010
Time (UTC)12:02
PlatformNot applicable
File nameAmd64_microsoft-windows-rpc-local_31bf3856ad364e35_6.0.6001.22685_none_105162f616cbb05d.manifest
File versionNot applicable
File size28,503
Date (UTC)05-May-2010
Time (UTC)08:34
PlatformNot applicable
File nameAmd64_microsoft-windows-rpc-local_31bf3856ad364e35_6.0.6002.22398_none_123005d013f76d77.manifest
File versionNot applicable
File size28,503
Date (UTC)05-May-2010
Time (UTC)06:23
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size3,605
Date (UTC)05-May-2010
Time (UTC)12:02
PlatformNot applicable
File nameWow64_microsoft-windows-rpc-local_31bf3856ad364e35_6.0.6001.22685_none_1aa60d484b2c7258.manifest
File versionNot applicable
File size26,089
Date (UTC)05-May-2010
Time (UTC)08:09
PlatformNot applicable
File nameWow64_microsoft-windows-rpc-local_31bf3856ad364e35_6.0.6002.22398_none_1c84b02248582f72.manifest
File versionNot applicable
File size26,089
Date (UTC)05-May-2010
Time (UTC)05:39
PlatformNot applicable
Additional files for all supported IA-64-based versions of Windows Server 2008
File nameIa64_09a220739f2a70d437eb1cb27440fac2_31bf3856ad364e35_6.0.6001.22685_none_ee150ad2c9c5f8c6.manifest
File versionNot applicable
File size699
Date (UTC)05-May-2010
Time (UTC)12:02
PlatformNot applicable
File nameIa64_bb8f28f9dd7cbc51573688fccba2477e_31bf3856ad364e35_6.0.6002.22398_none_322918df68fcf066.manifest
File versionNot applicable
File size1,042
Date (UTC)05-May-2010
Time (UTC)12:02
PlatformNot applicable
File nameIa64_c51a651e9d09fc315f8a6990a6821a55_31bf3856ad364e35_6.0.6001.22685_none_b201066408624b88.manifest
File versionNot applicable
File size1,042
Date (UTC)05-May-2010
Time (UTC)12:02
PlatformNot applicable
File nameIa64_microsoft-windows-rpc-local_31bf3856ad364e35_6.0.6001.22685_none_b4346b685e6c4823.manifest
File versionNot applicable
File size28,481
Date (UTC)05-May-2010
Time (UTC)08:13
PlatformNot applicable
File nameIa64_microsoft-windows-rpc-local_31bf3856ad364e35_6.0.6002.22398_none_b6130e425b98053d.manifest
File versionNot applicable
File size28,481
Date (UTC)05-May-2010
Time (UTC)06:35
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size2,758
Date (UTC)05-May-2010
Time (UTC)12:02
PlatformNot applicable
File nameWow64_microsoft-windows-rpc-local_31bf3856ad364e35_6.0.6001.22685_none_1aa60d484b2c7258.manifest
File versionNot applicable
File size26,089
Date (UTC)05-May-2010
Time (UTC)08:09
PlatformNot applicable
File nameWow64_microsoft-windows-rpc-local_31bf3856ad364e35_6.0.6002.22398_none_1c84b02248582f72.manifest
File versionNot applicable
File size26,089
Date (UTC)05-May-2010
Time (UTC)05:39
PlatformNot applicable

↑ Back to the top


Keywords: kbqfe, kbhotfixserver, kbfix, kbautohotfix, kbsurveynew, kbexpertiseadvanced, KB2023170

↑ Back to the top

Article Info
Article ID : 2023170
Revision : 1
Created on : 6/28/2010
Published on : 6/28/2010
Exists online : False
Views : 660