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

Full crash dump vs. minidump?

currently my application creates full crash dumps via the registry settings in HKLM "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" and DumpType 2. Unfortunately these dumps often are very big. Now there is a thingy named "Minidump"…
Elmi
  • 5,899
  • 15
  • 72
  • 143
0
votes
0 answers

Get property value of objects in minidump file using ClrMD

I am trying to read the value of a property of a ClrObject in a dmp file using ClrMD. I can read the values of any field of the object using the function GetField(string fieldName). Unfortunately, this is not possible for the properties. I have…
Snowcrack
  • 549
  • 1
  • 5
  • 13
0
votes
0 answers

Incomplete stack traces in minidump

We've added code to generate a minidump in our C++ 32 bit service. The dump file is successfully created with MiniDumpWriteDump. When I open the file with Visual Studio 2017 and run I can see all the threads but the stack traces only contain Windows…
0
votes
0 answers

Converting coredump to minidump on the fly

I am trying to automate the conversion of linux kernel-generated coredumps to minidumps (using breakpad tools) on an embedded linux system running on an aarch64 board with 1Gb RAM. The main problem I have is that the coredumps generated are too big…
Prewitt
  • 33
  • 2
  • 10
0
votes
2 answers

Invalid call stack in crash dump due to mismatched/missing *system* binary file?

Got this callstack when I open a Windows crash dump in Visual Studio 2005: > myprog.exe!app_crash::CommonUnhandledExceptionFilter(_EXCEPTION_POINTERS * pExceptionInfo=0x0ef4f318) Line 41 C++ pdm.dll!513fb8e2() [Frames below may be…
Martin Ba
  • 37,187
  • 33
  • 183
  • 337
0
votes
0 answers

How to take a minidump of a web application on concrete exception running in a farm with periodic recycling?

Given: sometimes a certain exception occurs in our web application, which we cannot reproduce, except in production. Unfortunately, there are no telemetry and the logs are not helpful. Wanted: minidump when exception happens Problem: Running…
mark
  • 59,016
  • 79
  • 296
  • 580
0
votes
1 answer

How to take full minidump of a web application hosted in IIS without having it recycled?

We have a weird situation in production and need to grab a full memory dump. However, writing out the full minidump takes too much time. As a result, IIS recycles the process while the dump is being taken. We cannot increase this timeout in IIS,…
mark
  • 59,016
  • 79
  • 296
  • 580
0
votes
2 answers

windbg: getting stack trace for minidump created in UnhandledExceptionFilter

I set unhandled exception filter by doing: SetUnhandledExceptionFilter(UnhandledException) and in my UnhandledException function, I write out a minidump using MiniDumpWriteDump: MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(),…
Warpin
  • 6,971
  • 12
  • 51
  • 77
0
votes
1 answer

No Crashdumps/Minidumps are saved

I have added an registry-key SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\MyApp.exe with the values DumpCount 0x2 DumpType 0x1 to let Windows create a Minidump in case MyApp.exe crashes. The value for the path is not set in order…
Elmi
  • 5,899
  • 15
  • 72
  • 143
0
votes
1 answer

Minidump symbols module id and Build id from ELF on Linux

I'm generating symbols file for an executable for minidump. The first line in the minidump symbols file contains specific id of the executable for which the file was generated. How can I find that id inside the executable? When I use readelf to…
wulujey
  • 384
  • 1
  • 2
  • 9
0
votes
1 answer

corrupted windows mini-dumps after bugcheck reboot

Greetings. I have been getting bug-checks lately on my xp laptop, here is the data from the last one: 0x40000080 (0x8a43d130, 0x858ffd20, 0xba4f3e5c, 0x00000001) I had only mini-dumps enabled (I've changed it since, but have not seen a BSOD yet)…
Mcradle
  • 173
  • 1
  • 7
0
votes
0 answers

Minidumps: callstacks in VS2017 and VS2015

I created a minidump using MiniDumpWriteDump with only MiniDumpNormal option and got the following strange behavior: Opened it in VS2015 and got the following The same dump in VS2017 looks Exe file compiled in VS2015 and creates minidump by itself…
0
votes
1 answer

using a .dll function to produce a minidump where application is not made by Visual Studio

I have a .dll file produced with Visual Studio 2005 (unmanaged C++). In various functions within the DLL, I can detect errors and call another function within the DLL to produce a minidump (using dbghelp.dll) . This works perfectly when the…
Harold Bamford
  • 1,589
  • 1
  • 14
  • 26
0
votes
1 answer

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows in IntelliJ

I get an error when I open a project in IntelliJ. It only happens with one Project. I am not even able to modify the code. When I open the project in IntelliJ it instantly shows me an utf-8 file with the error message. I reinstalled IntelliJ I…
0
votes
2 answers

Post mortem minidump debugging In windbg -- what causes for heap memory?

I'm looking at a crash dump. Some variables seem perfectly viewable in windbg, while others just say "memory access error". What causes this? Why do some variables have sensical values while others simply list ? It appears that all the problems are…
Doug T.
  • 64,223
  • 27
  • 138
  • 202