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
2
votes
0 answers

procdump for ARM devices? or how can I catch crashes in ARM devices?

I have to catch crashes of particular application on ARM devices. procdump works fine for x86 and x64 archs, but doesn't run on ARM. Any pointers ?
virusrocks
  • 861
  • 1
  • 5
  • 19
1
vote
1 answer

Generate Core of process running in GDB Batch Mode

This may be a weird special case scenario, but I run a process within GDB batch mode, but the process that runs has its own server console that needs to remain open for it to continue running. It's running under GDB so that in the event of a crash,…
1
vote
1 answer

Creating a process dump for Azure App service

How can I create a memory dump for an Azure App Service specific process? I can access the kudu site, but I do not see an option to create a full memory dump for a process that I need to debug.
mantasa
  • 21
  • 5
1
vote
1 answer

How can I enable crash dumps in Catch2 C++ tests in Azure DevOps CI/CD pipeline?

I'm developing a C++ software product for Windows. I wrote tests for it using the Catch2 framework. They are automated in CI/CD pipeline in Azure Dev Ops (ADO). What I would like to do is to get a crash dump (.dmp file) automatically created and…
Darren Cohen
  • 126
  • 6
1
vote
2 answers

How to export a list of the loaded libraries from windows dump file (procdump)

I'm looking at a *.dmp file in Visual Studio 2019 - it shows a list of the load system DLLs, filename, version, folder etc. I want to copy this information to paste into Excel, but I can't copy it from Visual Studio. Anyone know if I can export this…
AwkwardCoder
  • 24,893
  • 27
  • 82
  • 152
1
vote
1 answer

Take kernel dump on-demand from user-space without kernel debugging (Windows)

What would be the simplest and most portable way (in the sense of only having to copy a few files to the target machine, like procdump is) to generate a kernel dump that has handle information? procdump has the -mk option which generates a limited…
vuplea
  • 13
  • 2
1
vote
0 answers

Analyzing this Procdump .dmp file - from Apache httpd.exe

Recently my server's Apache httpd.exe has been crashing like crazy (posted to server fault thread here https://serverfault.com/questions/998227/windows-server-2008-r2-apache-2-4-constant-crashing-with-faulting-module-nam). I tried all solutions I…
user3162662
  • 743
  • 1
  • 7
  • 20
1
vote
1 answer

How to launch a windows application via procdump which has commnad line args?

I have a C++ application for windows which takes command line args. How do I use procdump to launch the application with those args? I tried : > procdump64.exe -ma -x c:\dumps "C:\ProgramData\someapp.exe arg" > procdump64.exe -ma -x c:\dumps…
helix
  • 1,017
  • 3
  • 12
  • 30
1
vote
1 answer

How to Stop Procdump Programmatically

I'm running procdump on a server to try and debug a crash. The crash only happens at night (don't ask me why :P). I would like to run procdump overnight and then stop it in the morning. I know that if you run it from the command line you can hit…
shortspider
  • 1,045
  • 15
  • 34
1
vote
1 answer

Using procdump to dump subprocesses

I'm writing a wrapper around Sysinternal's ProcDump and I want it to dump spawned subprocesses of the initial process as well. Is there any easy way to do it or do I have to do some kind of API hooking on CreateProcess?
user7111260
1
vote
1 answer

How do I analyse C# prodump crash dump file, an exception came from the CLR?

hi i am new in inspecting crash dump file and i need help or method how to. I can see that exception came from CLR and "clr exception - code e0434352(first chance)" I have attached the dump file drive can be downloaded…
Anil Gadiyar
  • 399
  • 1
  • 2
  • 16
1
vote
1 answer

Procdump: Increase hang trigger time to more than 5 seconds

If I want to create a dump file if my process waits for more than 30 seconds, is there a way to do it through procdump? Currently it has default 5 seconds. But I don't see anywhere to increase that time. Is it possible?
Tahlil
  • 2,680
  • 6
  • 43
  • 84
1
vote
1 answer

Why I don't get a dump file for first chance exception

Here is the code that should be generating a first chance exception. class MyClass { public string SomeField { get; set; } } class Program { static void Main(string[] args) { try { Print(null); } …
crazy novice
  • 1,757
  • 3
  • 14
  • 36
1
vote
1 answer

Start procdump before application starts?

I am having a chicken and egg problem. I have an application that crashes on application startup in a client machine with TypeInitializerException on some occasions but fails other times. I was thinking about using procdump to collect the memory…
1
vote
1 answer

Include dump of child processes when running procdump

Is there a procdump option such that when you run procdump on a process P it also takes a dump of all the child processes of process P?
Zain Rizvi
  • 23,586
  • 22
  • 91
  • 133