Documentary : improve crashlog .dmp file usage documentation - #351
Merged
Conversation
|
🚀 New build available for commit |
gr5
approved these changes
Aug 3, 2026
Collaborator
|
This is great. I could have used this information in the past. |
Collaborator
Author
Me too. But I havent been able to exploit it in the past. Experience ... and AI. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have had some nasty crash due to "remove lens distorsion" (bad usage when testing the UI) that I wanted to investigate.
This method helped me troubleshoot it. It's only documentation update.
Technical explanation :
DFTFringe is built with MinGW/GCC using force_debug_info and separate_debug_info, which produces a DFTFringe.exe.debug file containing DWARF debug information. Crash dumps are standard Windows minidumps generated with MiniDumpWriteDump().
WinDbg can open the dump and provide a valid stack trace, but because the application is built with MinGW, it cannot fully resolve symbols and source locations like it would with a PDB-based build (MSVC or Clang/MSVC). Application frames therefore usually appear as DFTFringe+offset.
To obtain the corresponding source file and line number, use addr2line with DFTFringe.exe.debug. The offset reported by WinDbg is an RVA and must first be converted to the image virtual address expected by DWARF by adding the executable image base (0x140000000).
In short:
MSVC and Clang/MSVC generate PDB files, which are fully supported by WinDbg.
MinGW generates DWARF debug information stored in DFTFringe.exe.debug.
WinDbg can analyze the minidump but cannot fully use the DWARF symbols.
Use WinDbg to identify the crashing address, then use addr2line on DFTFringe.exe.debug to recover the function, file and line number.
We might want to build with a different compiler then mingw in the futur.