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: Test controller crashes when a Web test returns a large result file in Visual Studio 2010 or in Test Manager 2010


View products that this article applies to.

Symptoms

Assume that you try to run a Web test in Microsoft Visual Studio 2010 or in Microsoft Test Manager 2010. However, the test controller (Qtcontroller.exe) crashes with an OutOfMemoryException exception or an unhandled exception if the test result file is large. Specifically, this issue occurs when the test results (.webtestresults) file is 1.5 gigabytes (GB) or larger.

Note Additionally, when the test controller crashes with an unhandled exception, you receive the following error message:
(QTController.exe, PID <n>, Thread <n>) TcmRunner: Unhandled exception for run [90]: Internal Error!
Failed to acquire a ReaderLock

↑ Back to the top


Cause

This issue occurs because the Web test runs multiple iterations, and then produces a large result file. This behavior may consume a large amount of memory. However, Qtcontroller.exe is a 32-bit process. 

Note The memory space of 32-bit processes is limited to 2 GB.

↑ Back to the top


Resolution

After you apply the hotfix, Qtcontroller.exe runs as a 64-bit process in x64-based operating systems.

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To apply this hotfix, you must have Visual Studio 2010 Service Pack 1 (SP1) installed.

Restart requirement

You may have to restart the computer after you apply this hotfix if the affected files are being used. We recommend that you exit Visual Studio 2010 before you apply this hotfix.

File information

The global 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.
File nameFile versionFile sizeDateTimePlatform
Ddconfig.dll10.0.40219.413112,71211-Aug-20129:01x64
Pkconfig.xrm-msNot applicable64,00623-Jul-201221:09Not applicable
QTController.exe.configNot applicable5,50523-Jul-201223:13Not applicable
Leviewer.exe10.0.40219.413118,34411-Aug-20129:01x86
Microsoft.teamfoundation.build.client.dll10.0.40219.413436,3607-Aug-20126:20x86
Microsoft.teamfoundation.build.controls.dll10.0.40219.4131,365,10411-Aug-20129:01x86
Microsoft.teamfoundation.client.dll10.0.40219.4131,595,5127-Aug-20126:20x86
Microsoft.teamfoundation.common.dll10.0.40219.413525,4327-Aug-20126:20x86
Microsoft.teamfoundation.common.library.dll10.0.40219.413334,9847-Aug-20126:20x86
Microsoft.teamfoundation.controls.dll10.0.40219.413938,60011-Aug-20129:01x86
Microsoft.teamfoundation.dll10.0.40219.413675,4327-Aug-20126:20x86
Microsoft.teamfoundation.lab.activities.dll10.0.40219.413772,74411-Aug-20129:01x86
Microsoft.teamfoundation.lab.client.dll10.0.40219.413153,2167-Aug-20126:20x86
Microsoft.teamfoundation.lab.uiutils.dll10.0.40219.413266,88011-Aug-20129:01x86
Microsoft.teamfoundation.lab.workflow.activities.dll10.0.40219.413440,45611-Aug-20129:01x86
Microsoft.teamfoundation.officeintegration.common.dll10.0.40219.413375,94411-Aug-20129:01x86
Microsoft.teamfoundation.officeintegration.project.dll10.0.40219.413517,28011-Aug-20129:01x86
Microsoft.teamfoundation.sync.mapping.dll10.0.40219.41372,30411-Aug-20129:01x86
Microsoft.teamfoundation.sync.provisioning.dll10.0.40219.413194,16811-Aug-20129:01x86
Microsoft.teamfoundation.testmanagement.activities.common.dll10.0.40219.413315,05611-Aug-20129:01x86
Microsoft.teamfoundation.testmanagement.activities.dll10.0.40219.4131,512,09611-Aug-20129:01x86
Microsoft.teamfoundation.testmanagement.activityruntime.dll10.0.40219.413219,82411-Aug-20129:01x86
Microsoft.teamfoundation.testmanagement.client.dll10.0.40219.413685,2087-Aug-20126:20x86
Microsoft.teamfoundation.testmanagement.client.themes.dll10.0.40219.4133,059,36811-Aug-20129:01x86
Microsoft.teamfoundation.testmanagement.client.wpfcontrols.dll10.0.40219.413257,71211-Aug-20129:01x86
Microsoft.teamfoundation.testmanagement.clientpackage.dll10.0.40219.41373,87211-Aug-20129:01x86
Microsoft.teamfoundation.testmanagement.common.dll10.0.40219.41334,4567-Aug-20126:20x86
Microsoft.teamfoundation.testmanagement.controller.dll10.0.40219.413120,96811-Aug-20129:01x86
Microsoft.teamfoundation.testmanagement.controls.dll10.0.40219.413496,28811-Aug-20129:01x86
Microsoft.teamfoundation.testmanagement.controls.wpfworkitemcontrols.dll10.0.40219.413100,04011-Aug-20129:01x86
Microsoft.teamfoundation.versioncontrol.client.dll10.0.40219.413706,1767-Aug-20126:20x86
Microsoft.teamfoundation.versioncontrol.common.dll10.0.40219.413233,0887-Aug-20126:20x86
Microsoft.teamfoundation.versioncontrol.controls.dll10.0.40219.4134,439,20011-Aug-20129:01x86
Microsoft.teamfoundation.workitemtracking.client.dll10.0.40219.413699,0407-Aug-20126:20x86
Microsoft.teamfoundation.workitemtracking.controls.dll10.0.40219.4131,215,13611-Aug-20129:01x86
Microsoft.teamfoundation.workitemtracking.proxy.dll10.0.40219.413390,7927-Aug-20126:20x86
Microsoft.visualstudio.qualitytools.agentobject.dll10.0.40219.413106,64811-Aug-20129:01x86
Microsoft.visualstudio.qualitytools.common.dll10.0.40219.4131,355,40811-Aug-20129:01x86
Microsoft.visualstudio.qualitytools.controllerobject.dll10.0.40219.413276,13611-Aug-20129:01x86
Microsoft.visualstudio.qualitytools.datacollectionagentobject.dll10.0.40219.41337,04811-Aug-20129:01x86
Microsoft.visualstudio.qualitytools.executioncommon.dll10.0.40219.413481,44011-Aug-20129:01x86
Microsoft.visualstudio.qualitytools.testcasemanagement.dll10.0.40219.4131,280,16811-Aug-20129:01x86
Microsoft.visualstudio.qualitytools.tmi.dll10.0.40219.413398,47211-Aug-20129:01x86
Microsoft.visualstudio.teamfoundation.build.dll10.0.40219.413142,45611-Aug-20129:01x86
Microsoft.visualstudio.teamfoundation.dll10.0.40219.41393,80811-Aug-20129:01x86
Microsoft.visualstudio.teamfoundation.teamexplorer.dll10.0.40219.413799,90411-Aug-20129:01x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.41363,65611-Aug-20129:01x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.413942,24811-Aug-20129:01x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.41359,02411-Aug-20129:01x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.41359,53611-Aug-20129:01x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.41359,56011-Aug-20129:01x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.41361,07211-Aug-20129:01x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll10.0.40219.41361,09611-Aug-20129:01x86
Microsoft.visualstudio.teamfoundation.workitemtracking.dll10.0.40219.413460,96811-Aug-20129:01x86
Microsoft.visualstudio.teamsystem.integration.dll10.0.40219.413193,15211-Aug-20129:01x86
Microsoft.visualstudio.teamsystem.licensing.dll10.0.40219.41332,88811-Aug-20129:01x86
Microsoft.visualstudio.testtools.manualtest.common.dll10.0.40219.413813,21611-Aug-20129:01x86
Microsoft.visualstudio.testtools.uitest.codegeneration.dll10.0.40219.413155,30411-Aug-20129:01x86
Microsoft.visualstudio.testtools.uitest.extension.dll10.0.40219.413193,67211-Aug-20129:01x86
Microsoft.visualstudio.testtools.uitest.extension.ie.dll10.0.40219.413252,07211-Aug-20129:01x86
Microsoft.visualstudio.testtools.uitest.extension.uia.dll10.0.40219.413107,15211-Aug-20129:01x86
Microsoft.visualstudio.testtools.uitest.playback.dll10.0.40219.41366,20811-Aug-20129:01x86
Microsoft.visualstudio.testtools.uitest.recorder.dll10.0.40219.413230,04811-Aug-20129:01x86
Microsoft.visualstudio.testtools.uitesting.dll10.0.40219.413339,60011-Aug-20129:01x86
Msdiff.dll10.0.40219.413485,44811-Aug-20129:01x86
Mtm.exe10.0.40219.413449,08811-Aug-20129:01x86
Pidgenx.dll6.0.5469.1391,094,72811-Aug-20129:01x64
Qtagent.exe10.0.40219.41321,06411-Aug-20129:01x86
Qtagent.exe10.0.40219.41321,07211-Aug-20129:01x86
Qtagent32.exe10.0.40219.41321,04811-Aug-20129:01x86
Qtagent32.exe10.0.40219.41321,07211-Aug-20129:01x86
Qtagentservice.exe10.0.40219.41399,92811-Aug-20129:01x86
Qtcontroller.exe10.0.40219.41322,60811-Aug-20129:01x86
Tf.exe10.0.40219.413325,67211-Aug-20129:01x86

↑ Back to the top


References

For more information about how to install and configure Visual Studio agents, test controllers, and build controllers, go to the following MSDN website:

↑ 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


Keywords: kbqfe, kbhotfixserver, kbfix, kbseo, kbsurveynew, kbexpertiseadvanced, kbhotfixdev, kb

↑ Back to the top

Article Info
Article ID : 2616171
Revision : 1
Created on : 1/7/2017
Published on : 9/19/2012
Exists online : False
Views : 225