Questions tagged [debugdiag]

The Debug Diagnostic Tool (DebugDiag) is designed to assist in troubleshooting issues such as hangs, slow performance, memory leaks or fragmentation, and crashes in any user-mode process. The tool includes additional debugging scripts focused on Internet Information Services (IIS) applications, web data access components, COM+ and related Microsoft technologies.

The Debug Diagnostic Tool (DebugDiag) is designed to assist in troubleshooting issues such as hangs, slow performance, memory leaks or fragmentation, and crashes in any user-mode process. The tool includes additional debugging scripts focused on Internet Information Services (IIS) applications, web data access components, COM+ and related Microsoft technologies.

95 questions
0
votes
0 answers

memory issues on a native c++ app on windows

I'm investigating a bad_alloc crashes for a multithreaded native cpp app, from WinDbg it's clearly happening on allocating large object on heap (mostly basic_string ctor or some array allocation with new operator). From the !address -summary and…
Divyank S
  • 57
  • 1
  • 1
  • 10
0
votes
1 answer

IIS Application Pool Crashing - Safe handle has been closed - IAsync

We have a production issue that is crashing the IIS application pool for a .NET 4.8 application. The EventViewer shows the application pool crashing and a corresponding error: An unhandled exception occurred and the process was…
sagosto
  • 13
  • 1
  • 7
0
votes
0 answers

How to know the OperationContract was called by request using debug diagnostic tool

I have been monitoring the working process in IIS server, in current requests in application pools it show request that taking time elapsed (more than 100sec). For example url Service/RequestService time elapse 100000 because the url above is url of…
Weanich Sanchol
  • 144
  • 1
  • 12
0
votes
0 answers

debugging hang with DebugDiag - GC hang?

I'm debugging a hang issue with one of our apps via a dump analysis in DebugDiag. The long running (1-2 hrs), .Net console app, not consistently, will get to a state where it appears to be doing nothing but doesn't exit (i.e. hangs). There are…
jd314159
  • 365
  • 2
  • 14
0
votes
0 answers

DebugDiag Analysis hangs while "Dumping Thread Data"

I'm trying to run DebugDiag Analysis (v2.3) on my Windows 10 laptop using crash-dump files generated from a w3wp.exe process on a Windows Server 2016 box... but the application never passes "Dumping Thread Data" (the progress animation continues, so…
freefaller
  • 19,368
  • 7
  • 57
  • 87
0
votes
1 answer

ASP.NET .NET 4.5 Application crashes in IIS periodically and I can't figure out the cause

I have a .net 4.5 ASP.NET WebAPI application. Deployed in IIS using 1 worker on an 8gig VM with 4 CPUs. I made changes to it recently (upgraded ServiceStack.Interfaces, ServiceStack.Common, ServiceStack.Redis and a bunch of dependencies) and…
DKhanaf
  • 365
  • 1
  • 4
  • 18
0
votes
0 answers

Problems with Debug Diag trying to get a memory dump

I'm having some problems with an ASP.Net app running on IIS 10 because it's crashing some times giving me a generic WebException with no more data inside it. I was following this article to get a memory dump with Debug Diag Tool so i can get more…
Ruben Aguilar
  • 1,205
  • 11
  • 19
0
votes
0 answers

Understanding debugDiag report

We are facing an issue with IIS. Our .net 4.5 Web API application hosted on IIS 8.5 stop serving response. if we look at the worker process, request are queued up. Any subsequent request to same url is blocked by IIS. The memory and CPU usage on…
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
0
votes
1 answer

MVC5 app hangs on starting application pool on IIS / Windows 2019 Server

I have an MVC5 application which uses various nugets (autofac, devextreme, automapper, entity framework). I have 15 other MVC apps which also use all of these and work fine, but this one..... Locally, either on IISExpress or IIS (Windows 10) it…
Dave R
  • 1,626
  • 19
  • 28
0
votes
0 answers

Debugdiag on a .NET program - Leak Probability

I've very recently started working with .NET for the first time and have been tasked with locating a memory leak in a web-based program. After trying a variety of different methods and using a number of tools, I found Debugdiag and it seems…
0
votes
1 answer

Can DebugDiag be configured not to generate dumps for a scheduled IIS app pool recycle?

Our production application pools (IIS 8.0-8-5, .Net 4.5 integrated pipeline) are set to recycle daily, this is unlikely to change in the short term. Is there a way to prevent a DebugDiag (2.2.0.14) creating a dump at this time and blowing out our…
Shaun
  • 1,293
  • 16
  • 19
0
votes
0 answers

How to reduce the size of dump files generated by DebugDiag on second chance exception

I'm investigating an "Access Violation" exception in my application (c++ native & CLI and .net). We installed the DebugDiag tool in production to capture dump files, but the issue is that the generated files are huge (30Gb+). And we're having…
Baccarios
  • 1
  • 1
0
votes
0 answers

To find the real function name from DebugDiag memleak report

i have memory leak that is being analyzed using the DebugDiag tool 2.0 and the report points to "Top 5 Functions by Allocation count" and "Top 5 functions by Allocation size" both pointing to the following…
0
votes
1 answer

DebugDiag - Instrument stack like windbg 'kp' command

Is it possible to get the DebugDiag Analysis to provide stack trace info like the windbg 'kp' command ? i.e. 'kp' has the source file path, line number and values of arguments (i have confirmed that for a valid DMP that our symbol server correctly…
Greg B Roberts
  • 173
  • 4
  • 14
0
votes
1 answer

DebugDiag not completing analysis

I have been trying to find high cpu usage, for a .NET web application. I used the DebugDiag tool as explained in this article: https://www.iis.net/learn/troubleshoot/performance-issues/troubleshooting-high-cpu-in-an-iis-7x-application-poolThe dump…
zak
  • 310
  • 3
  • 19