IIS application pool may be terminated while collecting dump

Consider the following scenario: You are running a web application on IIS and you need to collect a memory dump of the application pool process (w3wp.exe). W3wp.exe in subject consumes huge memory, for example, around 40 GB, and it takes some time to write the dump file. When you try to collect a memory dump…

0

How to configure Debug Diagnostic to capture Stack Overflow exceptions

I have just found that one of my colleauges, Spike, posted a nice blog article here explaining how to create a StackOverflowException using .NET Framework. He also explained how to find the root cause of the issue with live debugging using WinDBG. In some of cases, especially where live debugging is not possible, you may…

0

Debug Diagnostic Tool (DebugDiag) 1.2 is released

Debug Diagnostic Tool (a.k.a. “Debug Diag” or “DebugDiag”) version 1.1 is one of the most popular debugging tools which helps us to collect/analyze crash or hang dumps. However most of the features of the v1.1 is not working on Windows 7 or Windows Server 2008 / R2. Today, we have released Debug Diagnostic 1.2 which works on Windows…

4

Do not collect 32bit process’ dumps with 64bit task manager

What is a dump file? A dump file is a snapshot of a process’ memory written on the disk. You can use a dump file to troubleshoot several issues including crashes, hangs and performance problems. Basically, you collect “crash dumps” if a process quits unexpectadly or “manual dumps” if there is a hang or performance issues with…

6

Free download – PSSCOR2 – New WinDBG extension for debugging .NET 4.0 applications

PSSCOR extension is a debugger extension which is super-set of SOS.DLL. It is used for debugging .NET issues with WinDBG, such as high memory / CPU usage, crashes, etc… We have released PSSCOR2 for .NET 2.0 related issues before and we were using PSSCOR4 for a long time in Microsoft for .NET 4.0 related issues and…

4

WinDBG ve dump analizi – Bölüm 1: WinDBG kurulumu ve temel ayarlar

Geliştirmiş olduğumuz uygulamalarda karşılaştığımız sorunları gidermek için analiz yaparken kullandığımız pek çok faydalı araçtan bir tanesi, “dump analizi” yapmamıza yardımcı olan WinDBG aracıdır.   WinDBG ve dump analizi, oldukça detaylı ve derin olan bir konudur bu yüzden bu yazı serimde kısaca WinDBG’nin kurulumu, konfigürasyonu ve .NET ile geliştirilmiş uygulamalarda yaşanan sorunları gidermede nasıl kullanılacağı hakkında…

0