Skip to content

Add Breakpad toolchain testing tool#1785

Merged
slipher merged 1 commit into
DaemonEngine:masterfrom
slipher:crashtest
Jul 14, 2026
Merged

Add Breakpad toolchain testing tool#1785
slipher merged 1 commit into
DaemonEngine:masterfrom
slipher:crashtest

Conversation

@slipher

@slipher slipher commented Sep 4, 2025

Copy link
Copy Markdown
Member

Test that we can get a usable stack trace from our native and/or NaCl binaries. There are two modes:

  • Test the whole thing end-to-end: symbolize the binaries, crash them, and get the stack trace.
  • Use a release's symbol zip: only do the crash and stack trace.

For Windows there is a capability to run Breakpad binaries within a WSL VM because there is no way to get a native Windows binary that can symbolize NaCl.

Ignore the individual commits, they will be squashed.

@slipher

slipher commented Jun 23, 2026

Copy link
Copy Markdown
Member Author

TODO: see if it would be nicer to use a Breakpad install dir instead of an in-source build.

tools/crash_test.py does an end-to-end test of the Breakpad crash dump
and stack trace workflow:
- Generate symbols from binary debug information (or use the distributed
  symbol zips in the case of a release)
- Run Daemon and trigger a crash using /injectFault which is dumped by
  Breakpad or the NaCl minidump code
- Run minidump_stackwalk to print the stack trace
- Verify that function and file names are present in the stack trace
@slipher slipher merged commit 824a539 into DaemonEngine:master Jul 14, 2026
4 checks passed
@slipher slipher deleted the crashtest branch July 14, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants