Questions tagged [procdump]

ProcDump is a command line tool that can be used to capture a memory dump of an application when the application crashes, hangs or you can also use it to capture a memory dump for performance reasons.

ProcDump is a process utility originally developed for Microsoft Windows, as part of the Sysinternals web site. It's primary purpose is monitoring an application for CPU spikes and creating crash dumps so the cause of the spike can be investigated, but it can also be used to monitor for hung windows, unhandled exceptions, or excessive use of system resources (by monitoring system performance counters).

A version for Linux has also been created.

Documentation (including a download link) for the Windows version is available on the Microsoft documentation web site.

The Linux version is available on GitHub.

59 questions
19
votes
2 answers

procdump not dumping on unhandled exception

I just started playing around with procdump and and I want to have a full dump of an application when an unhanded second chance exception occurs. According to the documentation I run it likes this: procdump.exe -ma -e -x C:\CrashDumps…
NKnusperer
  • 974
  • 1
  • 11
  • 31
8
votes
1 answer

Procdump Error writing dump file: 0x80070005 Error 0x80070005 (-2147024891): Access is denied

Recently we have had issues when trying to capture a memory dump for various IIS application pools on a 2012 R2 server. I've tried using task manager, but it generates an error, as well as using procdump in an Administrative console: PS…
Greg Bray
  • 14,929
  • 12
  • 80
  • 104
6
votes
1 answer

Auto generate w3wp.exe process dump file when CPU threshold is reached even when PID changes

I'm trying to troubleshoot an issue with one of our websites which causes the CPU to spike intermittently. The site sits on a farm of web servers and it intermittently happens across all servers at different times. The process which causes the spike…
phil
  • 61
  • 2
6
votes
1 answer

How is procdump -t -- dump on process termination -- used?

The question may be a bit awkward, but here's my detailed problem: Currently I'm looking into setting up SysInternals' procdump.exe to monitor an application of ours that exhibits spurious disappearances -- that is, the user reports that the…
Martin Ba
  • 37,187
  • 33
  • 183
  • 337
6
votes
1 answer

Windbg crash dump analysis

I'm having a hard time getting any meaningful information from a crash dump I created with ProcDump, but I'm pretty sure it's relevant to a seemingly random crash I've been having. I have a VB6 application running on Windows 7 64-bit. Every once in…
Geo Ego
  • 1,315
  • 7
  • 27
  • 53
5
votes
3 answers

Using ProcDump to obtain the dump of a service?

Does anybody know if its possible/ how to use ProcDump to obtain the dump of a windows service? The command I want to run is like this: ProcDump -e -mp -x myservice.exe mydump.dmp However I get the Cannot Start Service from command line or debugger…
DukeOfMarmalade
  • 2,680
  • 10
  • 41
  • 70
4
votes
1 answer

Procdump -e creating dumps on non-fatal exceptions

I've always considered myself to be reasonably experienced with capturing dumps, but this one has really confused me. I have a .net process which is crashing periodically ... I don't know what it's crashing on, whether it's crashing in native or…
another_one
  • 356
  • 4
  • 13
4
votes
2 answers

Sysinternals ProcDump -e usage

I am rather new to using the procdump.exe utility and I am trying to find out why a process I am running is crashing without generating a crash dump or writing out an unhandled exception to the log. I am using the following command line procdump.exe…
Marek
  • 863
  • 4
  • 12
  • 19
3
votes
1 answer

Error with running ProcDump

There is a ProcDump tutorial here: http://drdobbs.com/blogs/parallel/229300328 I have an application that crashes, so I want to see if ProcDump can help. The application is in C:\Program Files\MyCompanyName\thebadapp.exe so I copied ProdCump.exe to…
Bohn
  • 26,091
  • 61
  • 167
  • 254
3
votes
1 answer

how to analyze memory leaks for "azure web apps" (PaaS)

I am looking to analyze memory leaks for the web app deployed in azure. Referring to following…
3
votes
1 answer

How is ProcDump implemented? Is it essentially a debugger?

I am interested in the internals of ProcDump (a Sysinternals utility): is it essentially a debugger? How does it manage to dump a process on exceptions, first chance exceptions and even managed (CLR) exceptions? I can see that it has imports such as…
qpp
  • 95
  • 8
3
votes
2 answers

Generate dumps on first chance exceptions of multiple instances of an application

I would like to generate a dump for first chance exceptions for a specific application that get's launched at random intervals several times a day, running multiple instances at any one time. What have I tried Procdump To use procdump I have to know…
Lieven Keersmaekers
  • 57,207
  • 13
  • 112
  • 146
2
votes
1 answer

Automatic Crash Dump for .Net process

I'm trying to set up a Windows Server 2016 instance to automatically create a crash dump when a .Net process exits with an unhandled exception. I've tried the following: Windows Error Reporting (as described here:…
2
votes
1 answer

Does ProcDump use the debug heap?

When we start an application under a debugger like Visual Studio 2013 or WinDbg, Windows will use the debug heap for it. However, it seems possible to turn that behavior off, as it's done in Visual Studio 2015 or WinDbg when started with the -hd…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
2
votes
3 answers

procdump not creating dumps for StackOverflow exception

I am trying to create crash dump for .Net C# application. For this I have written a code which will crash the application for Stack Overflow exception: namespace Crashme { class Program { static void Main(string[] args) { …
Kallol
  • 302
  • 4
  • 16
1
2 3 4