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
0
votes
1 answer

Catch a C Runtime Library fatal error in (mixed) .NET code?

I have a project that consists of a C# application that calls into a couple of C++/CLI DLLs. If I have a Visual Studio C Runtime Library fatal error in the native code, there appears to be no way to catch it. To give a simple example, if I put…
mhenry1384
  • 7,538
  • 5
  • 55
  • 74
0
votes
0 answers

MiniDumpWriteDump and writing to a Pipe causes deadlock

In my app I'm using Unnamed Pipes as an output of MiniDumpWriteDump function - i don't want actually create the file, just write MiniDump to memory buffer. Method to read bytes from pipe is called from another thread. When I call MiniDumpWriteDump…
filipbe
  • 165
  • 15
0
votes
1 answer

How does Microsoft generate the Event ID for winqual events?

I am curious about the IDs that are used to identify items in winqual. I assume it is some sort of hash. Is this published? Hash of the module name, its version and an offset? That seems appropriate but the size is too small to cover the…
Tim
  • 20,184
  • 24
  • 117
  • 214
-1
votes
1 answer

Loading .dmp file to locate the error code,but the crash occurs in an unexpected place(in ntdll.dll)

I write a funtion which access a NULL pointer like this: CORRUPTDLL_API int fncorruptDLL(void) { int *p = NULL; printf("%d\n", p[0]); return 0; } and then call this function in main function just like this: int main() { …
1 2 3
12
13