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

Missing function name in minidump_stackwalk on OSX release

I have this simple main causing a crash on macos and I am trying to explore its minidump using the breakpad project: #include // A callback function to run after the minidump has been written. bool…
Paltoquet
  • 1,184
  • 1
  • 10
  • 18
0
votes
0 answers

Reading call stack from Windows crash dump in C++

I am trying to read a dump to get the call stack where a crash happened. 1st Scenario - When reading and writing the dump file in the same application, I am getting the right call stack from the dump file. 2nd Scenario - When the crash dump is…
Mayank Prabhakar
  • 133
  • 2
  • 6
  • 14
0
votes
1 answer

I am not able to get complete call stack which can direct me to source code

I am beginner in WinDbg, I have to analyze a user mode dump in WinDbg. I have set up environment variables for downloading Microsoft symbols as srv*c:\Symbols\cache*https://msdl.microsoft.com/download/symbols and symbols related to the Dump:…
0
votes
1 answer

Generating PDB files in QT release mode

In a Windows QT application, I've successfully managed to call SetUnhandledExceptionFilter() and write out a minidump once the program crashes unexpectedly. However, as I've learnt here, we need to instruct the compiler to create a "Program-Debug…
Splines
  • 550
  • 1
  • 6
  • 17
0
votes
2 answers

How can I use a minidump to get readable callstack from executable built in fully optimized release mode?

I would like to distribute and executable file built in C++ with full optimization in release mode. I am generating a core dump in case of unhandled exception and I would like to be able to get a readable call stack out of the minidump. Online I see…
higlu
  • 433
  • 3
  • 9
0
votes
0 answers

Can I turn a raw memory dump (ReadProcessMemory) into a MiniDump file?

I have the following powershell code to dump the process memory from a given process. In this case, cmd.exe. It opens the given process with PROCESS_ALL_ACCESS and uses VirtualQueryEx to list all the memory regions. For each memory region it finds,…
meep
  • 334
  • 3
  • 10
0
votes
0 answers

How to target specific .NET framework with mini dump file?

I am running a mini dump file but the user's OS version is older and their .NET framework is of the previous version too (CLR version 4.7.3946.0). Whenever I run the dump file I would get this error I am unable to downgrade my .NET framework and I…
LostABike
  • 11
  • 1
0
votes
1 answer

chrome crashes when debugging in a specific file while firefox is OK

I'm using chrome devtools to debug a JS class file. And it always crashes when I move the mouse to view the value of some variables(almost every function in this file could trigger the crash). While everything is OK when using firefox. I managed to…
0
votes
1 answer

How to parse android webview native crash log

I was running a Vue webpage on an Android phone, and I got a native crash. The backtrace or log is as follows 2022-06-02 13:20:15.471 16788-16788/? A/crashpad: -----BEGIN CRASHPAD MINIDUMP----- 2022-06-02 13:20:15.471 16788-16788/? A/crashpad:…
Yi Chai
  • 145
  • 5
  • 14
0
votes
0 answers

How to find values of a struct using assembly when debugging a .dmp file?

I am debugging a crash in a .dmp file using Visual Studio 2019. I am able to figure out that the crash is caused by an integer division of zero within the function InvertMatrix which takes a IntMatrix struct pointer, but I would like to know what…
0
votes
0 answers

cdb behaves differently when it's not in the WinDBG folder

I'm new to the Windows kernel, but the job is to build a WFP driver and a user-mode library along with it to control over. To make sure the driver works as expected, I'd like to provide a feature that would stop loading it if it triggers the last…
Kidd Liu
  • 134
  • 1
  • 8
0
votes
0 answers

Source not found page during debugging minidump

I am developing C++ program in VS2017 and want to fix all bugs which my clients are faced with. I've setup minidump collecting using this article. For testing this functionality i create memory access violation bug in my code, start the program,…
borune
  • 548
  • 5
  • 21
0
votes
1 answer

How to use ADPLUS to _ONLY_ get MiniDumpOnSecond

For a production Win2003 web server, I'd like to be able to allways log minidumps whenever the w3wp.exe processes crash...I've read the documentation for ADPLUS, and have xcopy-deployed it to the production web server, and have started adplus.exe…
Geoffrey McGrath
  • 1,663
  • 1
  • 14
  • 35
0
votes
1 answer

Do I need to save more than PDBs to debug a crash dump file?

Exactly much from the original build do I need to save in order to properly debug a crash dump file sent to me by a customer? Obviously I need the PDBs Do I need something else? (This would be for a crash dump file written by the MiniDumpWriteDump…
Joe
  • 5,394
  • 3
  • 23
  • 54
0
votes
0 answers

Why can't ProcDump record memory contents of a 32-bit process under 64-bit Windows 10?

I would like to use ProcDump's ability to create minidumps with a custom MINIDUMP_TYPE via the -mc command-line switch to include memory contents beyond MiniDumpNormal. Unfortunately neither MiniDumpWithFullMemory,…
da22e
  • 38
  • 4