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
1
vote
1 answer

Executing procdump from within application to create dump of application itself

I am trying to get my application (VB.NET compiled against framework .NET 4.0) to write a process dump of itself to help me with debugging. To this end, I am using Procdump from Sysinternals. To get started, I simply execute the following code on a…
Andreas
  • 1,751
  • 2
  • 14
  • 25
1
vote
1 answer

ProcDump dumps wrong thread

Looks ProcDump dumps a post mortem dump of the wrong thread. Made ProcDump the JIT-debugger: C:\>procdump -ma -i c:\mydumps Made a test program C++ MFC: int* ptr = 0; switch(message) { ... case IDM_CRASH: *ptr = 23; break; ... Selecting the…
Gerard
  • 2,649
  • 1
  • 28
  • 46
1
vote
1 answer

Cygwin dumper for Windows process?

Cygwin includes a program dumper.exe The dumper utility can be used to create a core dump of running Windows process. Usage: dumper [OPTION] FILENAME WIN32PID Dump core from WIN32PID to FILENAME.core However it seems to only work with Cygwin…
Zombo
  • 1
  • 62
  • 391
  • 407
0
votes
0 answers

launching procdump from a 64-bit service doesn't work when running as Local Service or Local System

Also posted at: http://forum.sysinternals.com/problem-launching-procdump-from-a-64bit-service_topic27425.html We can potentially run multiple services with the same executable at a customer site. We have added a setting to our program "Enable…
Derek
  • 7,615
  • 5
  • 33
  • 58
0
votes
1 answer

Capture memory dump with stack for a given exception type seen to occur at a given frequency

We sometimes see a "spike" of null reference exceptions. What I would like to do is to tell the server (via procdump or some mechanism) to "capture a dump, with the stack trace, whenever a null reference exception is seen to occur at a particular…
0
votes
1 answer

C# program with access violation in iertutil.dll at exit

I have a program that is a C# wrapper for a program originally written in C/C++. The code goes through a SWIG process make the dlls accessible. Recently this code has started to crash intermittently with an access violation, but only when run in…
drfred
  • 1
0
votes
0 answers

Debugging an unexpected process exit with a strange exit code

We have a small Java program which runs on our test machines as a daemon which we use to start servers for testing. On windows we have it run the servers 'under' procdump so as to capture a core dump if the server crashes. Recently, we've been…
Bwmat
  • 4,314
  • 3
  • 27
  • 42
0
votes
0 answers

Executing procdump64.exe remotely using wmic

I am trying to generate a dump file using procdump64.exe in Powershell. I need to run the executable remotely using wmic. I am running the following command: wmic /node:[IP Address] /user:"[DOMAIN/USER]" /password:"[PASSWORD]" process call create…
0
votes
1 answer

Need to separate multiple tokens into multiple parameters that can then be set to separate variables

Disclaimer: I have absolutely no coding experience in any language. I need to create a script that can find the PID for a process, of which there will be multiple running, and then create a process dump for each PID. Procdump doesn't allow the…
0
votes
1 answer

Using procdump to listen to all exceptions doesn't work

I want procdump to listen to all exceptions (without having to specify a process name or id). From an example given here, I thought using the following should work: procdump -ma -i ...but although I get the message following message: ProcDump is…
OfirD
  • 9,442
  • 5
  • 47
  • 90
0
votes
1 answer

Procdump: How to capture usable IIS crash dump

I have been trying to get a w3wp crash dump to see the crash callstack. I got two dumps but both of them have a single thread in them - seems almost like AppDomain has been recycled already and there is nothing useful left in the process when the…
Bobby
  • 251
  • 1
  • 8
0
votes
1 answer

Using procdump as AeDebug tool, how can I change dump directory?

I'm using procdump to create minidump automatically when process is crashed. It works with the following syntax: procdump64 -i But the dump folder is C:\Users\Administrator, how can I change to C:\dumps? I tried to use procdump64 -j c:\dumps -i and…
daisy
  • 22,498
  • 29
  • 129
  • 265
0
votes
0 answers

Why can't ProcDump record memory contents of a 32-bit process under 64-bit Windows 10?

I would like to use ProcDump's ability to create minidumps with a custom MINIDUMP_TYPE via the -mc command-line switch to include memory contents beyond MiniDumpNormal. Unfortunately neither MiniDumpWithFullMemory,…
da22e
  • 38
  • 4
0
votes
1 answer

Hung Winforms app does not trigger dump file using procDump64

I'm learning how to use procdump64 to automatically create a dump file when a program hangs. I created a simple Winforms application which will get into a deadlock when a button is hit. I issued a command like…
Girl Spider
  • 330
  • 2
  • 6
0
votes
1 answer

How to auto start new process after the previous process terminated?

I'm capturing the memory dump when w3wp reaches the memory threshold via cmd/Powershell. The problem here is that the process of cmd/Powershell auto terminates after some hours and did not capture any dump as did not reach the memory…
Nguyen Diep
  • 85
  • 1
  • 9