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

Getting Symbols from crashes at Microsoft Dev Dashboard

The Microsoft Windows Dev Center Dashboard lets me collect stack traces from failures in my native desktop app in the wild. Unfortunately, minidumps aren't avaialble. I just get a TSV file that (sometimes) has a stack trace in it, which looks like…
1
vote
1 answer

Stacktrace of self created Minidump-File can't be used correctly, when the Exception occurred in foreign source code

I can't analyse a Stack Trace of my self created Minidump-File when the exception occurred in a foreign source code. Stack Trace The Stack Trace than looks like: [Frames may be missing, no binary loaded for ForeignLib1.dll] Annotated Frame …
Rasap
  • 47
  • 10
1
vote
1 answer

Resolving symbols in windows Minidump

I am trying to generate a minimal Minidump using MiniDumpWriteDump where I can retroactively attach symbols with a pdb. Currently this works using MiniDumpWithFullMemory but produces a very large dump file. Producing the dump with MiniDumpNormal…
tx34
  • 124
  • 7
1
vote
2 answers

In Visual Studio Express 2013, how can I tell which thread crashed in a minidump?

When I open a minidump I get some basic information about the crash: I can't tell which thread crashed. Is there some indicator in the interface that shows which thread crashed or other way to determine for sure which thread generated the…
Jason Haslam
  • 2,617
  • 13
  • 19
1
vote
1 answer

fatal error minidump

I want to write a utility that in the event of a fatal error, a minidump dmp file is created. I'm using the clrdump api and that seems fairly straightforward. What I wanted to know is, what should I be reading up on to determine how to trigger an…
Darren Young
  • 10,972
  • 36
  • 91
  • 150
1
vote
1 answer

breakpad minidump specification?

Is there a detailed specification of the minidump format used by google's breakpad tools? I need to create a minidump file based on a processor/os not currently supported by the breakpad client libraries, and I haven't yet found any concise…
Jim B.
  • 4,512
  • 3
  • 25
  • 53
1
vote
4 answers

How do you identify (and get access to) modules/debug symbols to use when provided a windows .dmp or .minidmp

In a way following on from reading a windows *.dmp file Having received a dump file from random customer, running the debug session to see the crash, you often find it is in a MS or other third party library. The next issue is that you may not have…
Greg Domjan
  • 13,943
  • 6
  • 43
  • 59
1
vote
2 answers

Opening minidump file (*.dmp) not possible in Visual Studio.NET 2005?

I have created a minidump using win32 api [DllImport("DbgHelp.dll", SetLastError = true)] private static extern bool MiniDumpWriteDump( dmp file is successfully created. i am trying to open this *.dmp file in another visual studio instance…
sundar venugopal
  • 3,080
  • 6
  • 39
  • 45
1
vote
4 answers

Viewing registers in a crash dump

Is there a way to view the register contents in each stack frame in a crash dump? The registers window seems to contain the registers when the exception occurred but it would be useful to be able to see their contents in each stack frame.
Ferruccio
  • 98,941
  • 38
  • 226
  • 299
1
vote
1 answer

Getting handle information with MiniDump causes ArgumentException

I am trying to get minidump information about handles of some process. I am getting a List of handles of type MINIDUMP_HANDLE_DESCRIPTOR_2 and I am trying to read the info about the handle which I can access with ObjectInfoRva. However, I always…
Pavel Durov
  • 1,287
  • 2
  • 13
  • 28
1
vote
2 answers

Access violation in MiniDumpWriteDump when invoked out-of-process

The documentation of the MiniDumpWriteDump function states that MiniDumpWriteDump should be called from a separate process if at all possible, rather than from within the target process being dumped. So I wrote a small MFC crash handler program…
herzbube
  • 13,158
  • 9
  • 45
  • 87
1
vote
2 answers

Need help debugging a minidump with WinDbg

I've read a lot of similar questions, but I can't seem to find an answer to exactly what my problem is. I've got a set of minidumps from a 32-bit application that was running on 64-bit Windows 2008. The 32-bit Visual Studio on my 32-Bit Vista…
Morinar
  • 3,460
  • 8
  • 40
  • 58
1
vote
0 answers

How to create a minidump with stack memory

My program creates a minidump on crash (using MiniDumpWriteDump from DBGHELP.DLL) and I would like to keep the size of the dump as low as possible while still having important memory information available. I have gone through the different possible…
bender
  • 613
  • 1
  • 8
  • 23
1
vote
0 answers

Debugging minidumps from Windows Phone 8

I've got a minidump from Windows Phone crash report. It contains a managed exception. I can open the minidump in VS2013, but when trying to debug as managed, I get the following: Unable to managed debug this minidump. The matching version of …
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
1
vote
1 answer

Locally generated minidump is loaded, but a remotely generated one fails to load call stack and symbols

My Windows application uses SEH and SetUnhandledExceptionFilter to create a minidump upon crash. I have already successfully used it for debugging segmentation faults that occur on the client side. I. e. I get a dump, build the same version of the…
Violet Giraffe
  • 32,368
  • 48
  • 194
  • 335