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)
March, 2008
MSDN Blogs
>
If broken it is, fix it you should
>
March, 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
.NET Case Study: Stackoverflow Exception when using a complex rowfilter
Posted
over 4 years ago
by
Tess1
7
Comments
When you use very complex Rowfilters or expressions on datasets or datatables you may end up getting a stackoverflow exception. Eber was running into this and posted a comment here. Since it is something we see from time to time and it was a bit to long to answer in the comments, here is the why and the how... Problem description: When browsing an ASP.NET site, intermittently we get "Internet Explorer cannot display the webpage" accompanied by the following event in the eventlog: Event Type: Error...
If broken it is, fix it you should
Welcome to a blog chat on Wednesday about ASP.NET and Debugging
Posted
over 4 years ago
by
Tess1
7
Comments
On Wednesday (April 2nd) me and Tom from the ASP.NET Debugging Blog will co-host a live blog chat on our blogs where you can ask questions about ASP.NET and Debugging with windbg and sos. The chat client will be hosted on our blogs for an hour starting at 10 AM EST (Eastern Standard Time) /4 PM CET (Central European Time) so you can just browse to either http://blogs.msdn.com/Tess or http://blogs.msdn.com/Tom to attend and ask any questions you want about ASP.NET and debugging with windbg and...
If broken it is, fix it you should
ASP.NET Case Study: Hang with mixed-mode dlls
Posted
over 4 years ago
by
Tess1
4
Comments
If you use mixed mode dlls (assemblies with .net and c++ code) you need to take care to not have any .net entry points so that you don't end up with a GC/LoaderLock deadlock like this one . What is a managed/.net entry point you might ask... it basically means that during the loading of the assembly the assembly may call some .net methods. For example, if you have a dllmain that calls into managed code, or if you have managed constructors for static value types. In esscence, anything that would allow...
If broken it is, fix it you should
.NET Debugging Demos Lab 7: Memory Leak
Posted
over 4 years ago
by
Tess1
3
Comments
This is the last debugging lab in the .NET Debugging Demos series. By now you should have the basics down for troubleshooting hangs, perf issues, memory leaks and crashes in .net applications. Hope you have enjoyed your debugging sessions. The last one in the series is a managed memory leak caused by holding on to resources in an unexpected way. Since it is the last one I have tried to make the questions a little bit less leading than the previous ones:) Previous demos and setup instructions If you...
If broken it is, fix it you should
ASP.NET Viewstate error - Validation of viewstate MAC failed
Posted
over 4 years ago
by
Tess1
9
Comments
Last week I was working with on a case where they were getting this error message HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster Typically this occurrs if the application is on a webfarm and autogenerate is used as the validation key. This is because if you request a page and click a button for example...
If broken it is, fix it you should
.NET Debugging Demos Lab 6: Memory Leak - Review
Posted
over 4 years ago
by
Tess1
10
Comments
Since it took me so long to get Lab 6 out the door i'll post the review right away... After this we only have one memory leak lab to go before you have gone through the whole lab set. Previous demos and setup instructions If you are new to the debugging labs, here you can find information on how to set up the labs as well as links to the previous labs in the series. Information and setup instructions Lab 1: Hang Lab 1: Hang - review Lab 2: Crash Lab 2: Crash - review Lab 3: Memory Lab 3: Memory ...
If broken it is, fix it you should
.NET Debugging Demos Lab 6:_Memory Leak
Posted
over 4 years ago
by
Tess1
3
Comments
It's been about a week since I posted the debugging challenge for this lab, things have been a bit busy lately so sorry about the tardiness on posting the lab. I have a love-hate relationship with statistics, I like them cause you can use them to get a point across and they can help you analyse things, but at the same time I hate them because people have a tendency to rely on them blindly and use them out of context without understanding the meaning behind them. The classic example is of course the...
If broken it is, fix it you should
ASP.NET Case Study: Hang on WaitOne, WaitAny or WaitMultiple
Posted
over 4 years ago
by
Tess1
9
Comments
One of the synchronization methods in .NET is the ResetEvent. It comes in two flavors, the AutoResetEvent which resets itself immediately after it is set, and the ManualResetEvent which as the name suggests you have to manually reset. Lets say you have a team of developers that can implement different parts of an application simultaneously without interaction, then the work order might look something like this Ask Bob to implement X Ask Belinda to implement Y Ask Ben to implement Z Integrate X, Y...
If broken it is, fix it you should
.NET Debugging Demos Lab 6: Debugging Challenge (Memory leak)
Posted
over 4 years ago
by
Tess1
4
Comments
Here is the debugging challenge for lab 6... this one is really tricky... I will post the step-by-step instructions and review in about a week, but for now I will only post a problem description. As with lab 5, your mission, should you choose to accept it, is to troubleshoot the problem with only that problem description. Post intermediate findings, questions, potential solutions etc. in the comments, and don't worry if you go down the wrong path a couple of times (that's just part of the debugging...
If broken it is, fix it you should
.NET Debugging Demos Lab 5: Crash
Posted
over 4 years ago
by
Tess1
7
Comments
Last week I published a debugging challenge for Lab 5. It was really interesting to see the results and I have to say I was really happy to see the excellent results from the poeple who commented on the debugging challenge (sounds like my work here is done:)). Quick Poll, for the next one (a memory leak), do you want a debugging challenge or do you want the lab steps at once? As usual it is using the Buggy Bits site, and this time we are dealing with a crash. You can read the problem description...
If broken it is, fix it you should
.NET Debugging Demos Lab5: Crash - Review
Posted
over 4 years ago
by
Tess1
26
Comments
Since I already posted a challenge for this lab earlier I didn't want to wait too long with publishing the review... Previous demos and setup instructions If you are new to the debugging labs, here you can find information on how to set up the labs as well as links to the previous labs in the series. Information and setup instructions Lab 1: Hang Lab 1: Hang - review Lab 2: Crash Lab 2: Crash - review Lab 3: Memory Lab 3: Memory - review Lab 4: High CPU hang Lab 4: High CPU hang - review...
Page 1 of 1 (11 items)