Descriptionhandler: Add report upload.
The handler is now capable of uploading crash reports from the database.
At present, only one upload attempt is made, and the report will be
moved to “completed” in the database after the attempt, regardless of
whether it succeeded or failed.
The handler also has support to push annotations from its command line
into the process annotations map of each crash report it writes. This is
intended to set basic information about each crash report, such as the
product ID and version. Each potentially crashy process can’t be relied
on to maintain this information on their own.
With this change, Crashpad is now 100% capable of running a handler that
maintains a database and uploads crash reports to a Breakpad-type server
such that Breakpad properly interprets the reports. This is all possible
from the command line.
TEST=run_with_crashpad --handler crashpad_handler \
-a --database=/tmp/crashpad_db \
-a --url=https://clients2.google.com/cr/staging_report \
-a --annotation=prod=crashpad \
-a --annotation=ver=0.6.0 \
crashy_program
R=rsesek@chromium.org
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/ae1ccf621b00a2d753e5a0e5341e2c63b9248b49
Patch Set 1 #
Total comments: 7
Patch Set 2 : Add a MINIDUMP_EXCEPTION_STREAM to all minidumps #Patch Set 3 : Address review feedback #
Messages
Total messages: 7 (1 generated)
|