Visual Studio Crashes When Trying to analyze profiling report
-
Monday, March 07, 2011 8:07 PM
I am trying to do Profiling on ASP.Net4.0 application. The profiler runs fine. After it finishes and generates report, everytime I click on any of the method name links, Visual Studio 2010 will crash and retstart. And this happens consistently. Here is the entry in event log, everytime VS2010 crash.
************************
Fault bucket 1737401164, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: devenv.exe
P2: 10.0.30319.1
P3: 4ba1fab3
P4: Microsoft.VisualStudio.Platform.VSEditor
P5: 10.0.0.0
P6: 4ba1d76c
P7: 1867
P8: 2e
P9: System.NullReferenceException
P10:
Attached files:
These files may be available here:
C:\Users\ThisUser\AppData\Local\Microsoft\Windows\WER\ReportArchive\Critical_devenv.exe_a7bc3408b4b355a53bdde27b8a2e141875a904c_30d816e9
Analysis symbol:
Rechecking for solution: 0
Report Id: cdc5335c-48f5-11e0-b45c-002590125181
ByteBlocks http://www.byteblocks.com
All Replies
-
Tuesday, March 08, 2011 11:10 AMModerator
Could you please repair Visual Studio and then open the analysis report again?
Eric Yang [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
Wednesday, March 09, 2011 12:54 PM
I am experiencing the same issue using Visual Studio 2010 on Windows 7 x64. Repairing VS did not help.
My log entry:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: devenv.exe
P2: 10.0.30319.1
P3: 4ba1fab3
P4: Microsoft.VisualStudio.Platform.VSEditor
P5: 10.0.0.0
P6: 4ba1d76c
P7: 1867
P8: 2e
P9: System.NullReferenceException
P10:
Attached files:
C:\Users\heinrichj\AppData\Local\debuggee.mdmp
These files may be available here:
C:\Users\heinrichj\AppData\Local\Microsoft\Windows\WER\ReportArchive\Critical_devenv.exe_a7bc3408b4b355a53bdde27b8a2e141875a904c_12b67f4d
Analysis symbol:
Rechecking for solution: 0
Report Id: dd32126e-4a4a-11e0-9632-f04da2dceff4
Report Status: 0
-
Friday, March 11, 2011 8:05 PMSame problem. SP1 installed
-
Saturday, March 12, 2011 5:21 PMModerator
Would it be possible for you to share out the VSP in question. ASP.NET profiling has been mentioned. Have you experienced this in any other profiling experience? Can you elaborate on how you collected this report? Also it would be interesting to see if VSPerfReport.exe crashes.
From a VS command prompt please run the following on the VSP in question:
VSPerfReport.exe /summary:all <vsp_report>
Aaron
- Proposed As Answer by eryangModerator Wednesday, March 16, 2011 1:52 AM
- Marked As Answer by eryangModerator Monday, March 21, 2011 8:33 AM
-
Monday, March 14, 2011 1:18 PMI forgot to mention that I'm actually profiling a C#/WPF solution; sorry about that. I collected the report using the performance wizard and its default settings (sample-based profiling). I tried the VSPerfReport from the command-line as you suggested and it seems to work fine. I will check if the VSP can be shared.
-
Monday, March 21, 2011 12:59 PM
I have these same issues as well, in both C# and C++. Everything works fine until the very moment I click on a function to investigate in the summary, at which point visual studio just crashes. It always crashes in the function detail screen. The screen shows up for a moment with everything shown except the source itself which never shows up (even when its a function within the current project), so the problem might arise when it's trying to built up that part of the screen.
-
Monday, April 04, 2011 10:47 AMI noticed that after I turned on "enable source server support" and compiled my project with debug information to full (it was set to none before), that the crash problems went away for me.
-
Wednesday, April 20, 2011 5:51 AM
I got the same problem. I also get an error when I first try to add a target to the performance session: "Unable to cast object of type 'System.IntPtr' to type 'System.IConvertible'".
I try to profile a Windows Forms application
VB.NET Visual Studio 2010 SP1.
Using VSPerfReport.exe does not crash, a few .CSV files are created
Marco.
-
Friday, November 18, 2011 9:37 PM
Having this problem in VS2010SP1. When loading a vsp file (any vsp file), it analyzes for a bit, then attempts to display (I assume the summary page), then crashes VS. Error dialog presents this data:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe
Problem Signature 02: 10.0.40219.1
Problem Signature 03: 4d5f2a73
Problem Signature 04: Microsoft.VisualStudio.VirtualTreeGrid
Problem Signature 05: 10.0.0.0
Problem Signature 06: 4ba217f0
Problem Signature 07: 425
Problem Signature 08: 43
Problem Signature 09: System.ArgumentException
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 1033
Additional information about the problem:
LCID: 1033
From the Windows Application Event Log:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
Stack:
at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
at System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
at System.Windows.Forms.Control.Invoke(System.Delegate)
at Microsoft.VisualStudio.PerformanceTools.Visualization.AnalysisFrame.LoadViewsComplete(System.Object, VSPerfReader.CompletedEventArgs)
at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
at VSPerfPresentation.ProfileDataProvider.AnalysisCompleteNotify()
at VSPerfPresentation.ProfileDataProvider.AnalyzeFinished(System.IAsyncResult)
at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
- Edited by Jason D. Smith1 Monday, November 21, 2011 4:40 PM

