Questions tagged [minidump]

A minidump is a file containing information about the state of a process, generally used for post-mortem debugging on Windows.

Minidumps are a file format invented by Microsoft to capture the state of a process. They often contain a minimal set of useful information (hence the name mini dump), including a list of threads, the stack memory for each thread, the loaded set of modules, and information about any exception that occurred. This is usually enough to get a stack trace from where the process crashed. Minidumps can also contain much more information, including the full heap memory of the process (usually referred to as a "full memory dump"), which can be quite large.

Windows will generate a minidump for a process when it crashes, however the minidump will be sent to Microsoft, and you are required to sign up for a WinQual account to view the reports. To avoid this process, many applications implement their own minidump-writing routines that send the dump directly to the application developers using email or HTTP, using well-known techniques as described in this Code Project article. There are also several libraries available that simplify the process, such as Google Breakpad and CrashRpt.

184 questions
55
votes
2 answers

minidump vs. fulldump?

I just recently started looking at dump files to help me analyze crashes of the w3wp process on our production environment at work... And I would like to know, what are the differences between a minidump and a fulldump file ?
gillyb
  • 8,760
  • 8
  • 53
  • 80
44
votes
6 answers

What to do with "The version of SOS does not match the version of CLR you are debugging" in WinDbg?

I'm having a problem with some of my apps. It's a wcf-based app running under IIS6 in Windows 2003 Server (x86): In Event Log I get such an error from "W3SVC-WP" source (EventID=2262): ISAPI…
Shrike
  • 9,218
  • 7
  • 68
  • 105
33
votes
6 answers

How to create minidump for my process when it crashes?

I am not able to create minidump form my process by changing system setting. So my Question is : Will the system create a minidump for a user process when it crashes If yes, which setting do I need to configure Or do I have to create minidump…
Satbir
  • 6,358
  • 6
  • 37
  • 52
27
votes
2 answers

Getting memory error trying to debug manage memory with a big minidump file

I'm trying to "Debug Managed Memory" with Visual Studio 2015 Enterprise Edition. The file is at 1.2GB and after while loading I get the error message "Memory analysis could not be completed due to insufficient memory" after have been pressing "Debug…
NPehrsson
  • 1,548
  • 18
  • 26
21
votes
5 answers

Why don't Minidumps give good call stacks?

I've used minidumps on many game projects over the years and they seem to have about a 50% chance of having a valid call stack. What can I do to make them have better call stacks? I've tried putting the latest dbghelp.dll in the exe directory. That…
Tod
  • 4,618
  • 4
  • 32
  • 23
18
votes
5 answers

Is it possible to load mismatched symbols in Visual Studio?

I've got a Windows minidump (C code) and a corresponding exe file. Unfortunately, I don't have the exact matching .pdb files, but I do have .pdbs that contain the exact same code just built at a different time. In Windbg, I can use: .symopt+0x40 To…
Morinar
  • 3,460
  • 8
  • 40
  • 58
18
votes
1 answer

How do I take a good crash dump for .NET?

I have captured a crash dump of my 32 bit .NET application running on a 64 bit Windows operating system. During the analysis somebody found out that I have a 64 bit dump and told me that it is not possible to analyze this dump due to wrong…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
17
votes
5 answers

Reducing the size of minidumps of managed programs while keeping some heap information?

With the dump debugging support in .NET 4.0 we are looking into automatically (after asking the user of course :) creating minidumps of C# program crashes to upload them to our issue tracking system (so that the minidumps can assist in resolving the…
Ziphnor
  • 1,022
  • 1
  • 8
  • 17
15
votes
3 answers

Capturing R6025 pure virtual call

I currently capture MiniDumps of unhandled exceptions using SetUnhandledExceptionFilter however at times I am getting "R6025: pure virtual function". I understand how a pure virtual function call happens I am just wondering if it is possible to…
JProgrammer
  • 2,750
  • 2
  • 25
  • 36
14
votes
2 answers

What is the difference between Google's breakpad and crashpad libraries?

They both are crashing report libraries that generates minidump for developer analyzing, and both are developed by Google's Chromium project: breakpad crashpad Any difference in their intended use cases?
Leedehai
  • 3,660
  • 3
  • 21
  • 44
13
votes
3 answers

Create a dump file for an application whenever it crashes

I am trying to create a dump file for my application whenever it crashes. I am currently using procdump.exe with -e flag in order to do it, so if I have unhandled exception in my application procdump creates a dump file for me. I thought that I was…
Lior Ashkenazi
  • 131
  • 1
  • 1
  • 5
13
votes
2 answers

What combination of MINIDUMP_TYPE enumeration values will give me the most 'complete' mini dump?

I want my app to create a mini dump to help debug unhanded exceptions. I may not know what type of mini dump I will want until after the dump has been created, so what combinations of MINIDUMP_TYPE flags should I use to give me the most complete…
sackoverflow
  • 767
  • 1
  • 6
  • 16
10
votes
2 answers

Loaded Windows minidump file, now can't load binary?

I loaded the minidump file into Visual Studio 2010, loaded all they symbols, both from my program folder and the Microsoft Symbol Server, then I chose "Debug Native Only" and the program ran up to where it crashed with the same error as displayed on…
JeffR
  • 765
  • 2
  • 8
  • 23
9
votes
2 answers

How to extract stack traces from minidumps?

I've got a whole bunch of minidumps which were recorded during the runtime of an application through MiniDumpWriteDump. The minidumps were created on a machine with a different OS version than my development machine. Now I'm trying to write a…
Zarat
  • 2,584
  • 22
  • 40
9
votes
2 answers

Failed to write core dump. minidumps are not enabled by default on client version of windows

I have this Java class I am trying to run using Eclipse Mars.1 IDE. Here's the code : import com.xuggle.mediatool.IMediaReader; import com.xuggle.mediatool.IMediaWriter; import com.xuggle.mediatool.ToolFactory; import com.xuggle.xuggler.ICodec;…
seman
  • 157
  • 2
  • 5
  • 11
1
2 3
12 13