Sign In
If broken it is, fix it you should
Using the powers of the debugger to solve the problems of the world - and a bag of chips by Tess Ferrandez, ASP.NET Escalation Engineer (Microsoft)
Tess Ferrandez
I work as as an Escalation Engineer in the ASP.NET developer support team at Microsoft.
My job is to help developers fix problems (memory leaks, hangs, crashes etc.) in their applications, using troubleshooting tools like debuggers and profilers.
In this blog I share tips and tricks for troubleshooting those issues, along with random tidbits about computing and my life at MS.
If you are new here, start with:
My debugging labs (Buggy Bits)
My Silverlight labs (building a game)
Thanks for visiting my blog
@TessFerrandez
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search this blog
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
ASP.NET
Crash scenarios
Debugging
Debugging Labs
General debugging tidbits
Kinect SDK
Memory issues
Pages
Performance issues and hangs
presentation
Silverlight
SOSEX
Archive
Archives
August 2011
(3)
May 2011
(1)
December 2010
(1)
November 2010
(1)
September 2010
(3)
August 2010
(2)
June 2010
(1)
May 2010
(1)
April 2010
(3)
March 2010
(4)
February 2010
(2)
January 2010
(2)
December 2009
(2)
November 2009
(2)
October 2009
(4)
September 2009
(4)
August 2009
(2)
July 2009
(1)
June 2009
(3)
May 2009
(3)
April 2009
(5)
March 2009
(9)
February 2009
(2)
January 2009
(6)
November 2008
(8)
October 2008
(7)
September 2008
(7)
August 2008
(5)
July 2008
(1)
June 2008
(7)
May 2008
(12)
April 2008
(14)
March 2008
(12)
February 2008
(17)
January 2008
(5)
December 2007
(2)
November 2007
(1)
October 2007
(8)
September 2007
(3)
August 2007
(7)
June 2007
(5)
May 2007
(1)
April 2007
(5)
March 2007
(4)
January 2007
(1)
December 2006
(1)
November 2006
(2)
October 2006
(4)
September 2006
(3)
August 2006
(3)
June 2006
(1)
May 2006
(1)
April 2006
(5)
March 2006
(2)
February 2006
(8)
January 2006
(7)
December 2005
(3)
November 2005
(6)
May, 2008
MSDN Blogs
>
If broken it is, fix it you should
>
May, 2008
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
If broken it is, fix it you should
ASP.NET Memory: Thou shalt not store UI objects in cache or session scope
Posted
over 4 years ago
by
Tess1
28
Comments
ASP.NET Memory: Thou shalt not store UI objects in cache or session scope Surprisingly the issue I wrote about in " the eventhandlers that made the memory baloon " (Jan 2006) is something that still happens very frequently, I reference it in cases at least a few times a month. Just this last week I had different variations of it crop up in different cases so in this post I will show a different variation, what to look out for and how to identify it. Problem description: The issue...
If broken it is, fix it you should
My presentation on Troubleshooting ASP.NET applications at Oredev
Posted
over 4 years ago
by
Tess1
1
Comments
The guys at Oredev are in the midst of preparing for the next Oredev conference in November. Sadly I won't be presenting there this year because of other comittments. I say sadly because it was an awesome event last year. If you want to check out my presentation from last year you can do that here . The page says "Due to technical problems with our video equipment, this session was never recorded" but that is incorrect. The video is there... Disclaimer: I had some issues with the mike not fitting...
If broken it is, fix it you should
The 21 most popular blog posts
Posted
over 4 years ago
by
Tess1
15
Comments
I started this blog 2.5 years ago today, mostly because I felt that the same types of issues came up over and over and over in our support cases. I figured that if I started writing about them, a lot of people would be able to resolve them on their own, or even better avoid them in the first place. A lot of water passed under the bridge since then, but looking back at some of those earlier posts they are still very applicable today, and they still seem to continue to get a lot of hits. Here is a...
If broken it is, fix it you should
DebugDiag 1.1 or Windbg, which one should I use? and how do I gather memory dumps
Posted
over 4 years ago
by
Tess1
14
Comments
If you have read any of my posts you have probably noticed that I am very partial to windbg and the debugging tools for windows. I often get friendly nudges from the developers of debugdiag when I suggest using adplus and windbg on internal discussion lists, and to be fair I have to beat on the drum a bit for debug diag as well. My answer to the question "Should I use DebugDiag 1.1 or Windbg" is both... it just depends on the scenario. I often lean towards windbg but to a large extent that is because...
If broken it is, fix it you should
ASP.NET Performance issue: Large number of application restarts due to virus scanning
Posted
over 4 years ago
by
Tess1
12
Comments
Issues caused by frequent application restarts are pretty common. If you are interested in what causes application restarts in general, and how you can monitor application restarts and what causes them you should read this post: ASP.NET Case Study: Lost session variables and appdomain recycles The most recent one was one where the ASP.NET site would respond slowly at regular intervals (read: it grinded to a halt every few hours). First shot at gathering data: We started off by getting a memory dump...
If broken it is, fix it you should
IIS7 Breaking Changes for ASP.NET 2.0
Posted
over 4 years ago
by
Tess1
1
Comments
I just came across this great post from Mike Volodarsky (a program manager in the IIS team) about breaking changes when you move 2.0 applications to IIS 7 . It is definitely worth a read before you make the switch so you can take appropriate actions to avoid running into problems. Laters, Tess
If broken it is, fix it you should
"Failed to start stack walk: 80004005", "Following frames may be wrong" and other errors you may see in windbg
Posted
over 4 years ago
by
Tess1
23
Comments
When you debug .net applications you will sometimes get error messages in windbg. Here are a few of the ones I most commonly get questions around... Failed to start stack walk If you run the sos command !clrstack to display the .net stack on a thread, and this thread is a .net thread but it is not currently running any .net code, sos will spit out Failed to start stack walk: 80004005. This does not mean that there is anything wrong with the process or with the debugger. It simply means that sos can...
If broken it is, fix it you should
ASP.NET Hang: Authenticode signed assemblies
Posted
over 4 years ago
by
Tess1
2
Comments
When you use authenticode signed assemblies in an application, the application needs to go out and check the certificate revocation lists (CRLs) to verify that the signature is still valid the first time it loads up the authenticode signed assembly. If the server, serving your asp.net application, doesn't have internet access or if the internet connection is slow this can lead to issues where you stall the process during startup or when the assembly in question first loads. What you will typically...
If broken it is, fix it you should
Blog Interesting - 32 Ways to Keep Your Blog from Sucking
Posted
over 4 years ago
by
Tess1
6
Comments
Today I came across a really good article for bloggers, Scott Hanselmans post on " Blog Interesting - 32 Ways to Keep Your Blog from Sucking " (update: for some reason the link gives an xml error, should be http://www.hanselman.com/blog/BlogInteresting32WaysToKeepYourBlogFromSucking.aspx if the link above doesn't work) I realize that most of you are not bloggers, and also that I am breaking rule #7 and #8 on the list here:) 7. Don't post throwaways I try to have a minimum length...
If broken it is, fix it you should
How do I get a hotfix for .net or Visual Studio?
Posted
over 4 years ago
by
Tess1
3
Comments
I very frequently get emails like the one I got this morning: "Tess, It sounds like the hotfix for kb946644 may resolve a problem we've been having for some time in .Net 2.0. How, exactly, can we get this hotfix? Can you provide it?" This particular hotfix was one i blogged about here, regarding a deadlock with the GC when using XmlSchemaSet.Add... but the answer will be the same for any hotfix. Many new hotfixes in the Visual Studio or .net framework area are available for public download by the...
If broken it is, fix it you should
ntdll!kifastSystemcallret, SharedUserData!SystemCallStub and search engines...
Posted
over 4 years ago
by
Tess1
7
Comments
If I were to pick out ten keywords for my blog I would pick, in no particular order, ASP.net, windbg, sos, debugging, .net exceptions, memory leaks, performance issues, OutOfMemory exceptions, garbage collection, troubleshooting. Those are the things that I think, but I might be wrong, that people who visit my blog are most interested in. As with most other technical blogs (I think), about half of the traffic to my blog comes from people searching on various search engines, but what really surprised...
If broken it is, fix it you should
ASP.NET Crash: StackOverflowException with Server.Transfer
Posted
over 4 years ago
by
Tess1
13
Comments
I have written a few posts about stackoverflow exceptions, here, here , here and here . The one I am going to talk about today is one of those unfortunate cases where you are trying to do the right thing and still shoot yourself in the foot. Problem description: Randomly when browsing the application we get the "Internet Explorer cannot display the webpage" page, and the following event is found in the system eventlog Event Type: Warning Event Source: W3SVC Event Category: None Event ID: 1009...
Page 1 of 1 (12 items)