Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Gabriele Svelto 1ab1c1e41b Bug 1322611 - After a crash compute the SHA256 hash of a minidump and attach it to the crash ping; r=Ted, nchen
This patch changes the crashreporter client code as well as the crash service
code to compute a SHA256 hash of a crash' minidump file and add it to the
crash ping. The crash service code computes the hash on the fly before handing
over the crash to the crash manager; the crash manager will then add it to the
crash ping. The crashreporter client on the other hand sends the hash via the
ping it generates but it also adds it to the event file so that the crash
manager can pick it up and send it along with its own crash ping. On Fennec
the crashreporter activity takes care of computing the hash.

SHA256 hash computation uses nsICryptoHash in the crash service, the
java.security.MessageDigest class in Fennec, the bundled NSS library in the
crashreporter when running on Windows and Mac and the system-provided NSS
library under Linux. The latter is required because the crashreporter client
uses the system curl library which is linked to NSS and which would thus clash
with the bundled one if used together.

This patch introduces two new methods for the nsICrashService interface:
|getMinidumpForID()| and |getExtraFileForID()|, these reliably retrieve the
.dmp and .extra files associated with a crash and ensure the files exist
before returning. These new methods are used in the CrashService for
processing and will become the only way to reliably retrieve those files
from a crash ID.

MozReview-Commit-ID: 8BKvqj6URcO

--HG--
extra : source : a4d8291c56fcde00238ab3166bbe6af6dd602340
2017-02-16 07:36:57 +01:00
Gabriele Svelto d1f13764e1 Bug 1310703 - Make the crashreporter client send a crash ping via the ping sender executable; r=ted
MozReview-Commit-ID: JV6HkUZYkUk
2017-01-16 18:14:17 +01:00
Gabriele Svelto 1b8ffd2807 Bug 1293656 - Send crash pings for content crashes complete with stack traces r=bsmedberg
* * *
Bug 1293656 - Fix the test_process_error.xul test
2016-10-19 12:51:29 +02:00
Gabriele Svelto b8e406f2cb Bug 1280477 - Write the stack traces extracted from a crash dump into the crash.main event file r=ted 2016-06-28 15:30:29 +02:00
Kirk Steuber 5b3eba1f2b Bug 1263774 - Include memory reports in content process crash reports. r=mccr8, r=aklotz
MozReview-Commit-ID: 7y3GFBZxjsS

--HG--
extra : rebase_source : 9d5aaaa6caad336c85c42002df321b382c90c8a9
2016-06-21 11:45:25 -07:00
Benjamin Smedberg 7b4c806491 Bug 875562 - Fill in some details in the crashreporter docs, r=gps 2014-01-10 14:33:25 -05:00
Gregory Szorc 96d42d4291 Bug 875562 - Part 1: Document existing crash reporter behavior; r=bsmedberg
--HG--
extra : rebase_source : f78175cce67a7c239ddce1b2ddac17ddf1b04a8a
extra : amend_source : ef0500530b6c27ece12038345334fac059af820c
extra : histedit_source : e2dce3662b45720deed2fab34b2da66af9e23eae
2013-11-16 11:52:37 -06:00