gecko-dev/xpcom
Gabriele Svelto beb62c4c31 Bug 1282776 - Finalize crash reports for child process crashes happening too early r=froydnj
This changes the way crash reports for child processes happening too early
during the child process' startup. Before bug 1547698 we wrote a partial
.extra file with those crashes that lacked the process type. The user would
not be notified of those crashes until she restarted Firefox and even when
submitted those crashes would be erroneously labeled as browser crashes.

After bug 1547698 we stopped writing .extra files entirely for those crashes
which left orphaned .dmp files among the pending crash reports.

This patch does three things to improve the situation:

* It writes a partial .extra file so that the crashes are detected at the next
  startup. So the user is still not notified directly of these crashes but she
  can report them later.
* It adds the process type to the .extra file so that the crash reporters are
  labelled correctly.
* It fixes a leak in the `pidToMinidump` hash-map. Since the crashes were
  not finalized the `ChildProcessData` strucutre associated with them would
  never be fred.

Differential Revision: https://phabricator.services.mozilla.com/D40810

--HG--
extra : moz-landing-system : lando
2019-08-09 14:23:19 +00:00
..
base Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie 2019-08-09 19:57:50 +00:00
build Bug 1282776 - Finalize crash reports for child process crashes happening too early r=froydnj 2019-08-09 14:23:19 +00:00
components
doc
ds Bug 1570719 - Skip more elements in spellcheck for MailNews. r=masayuki 2019-08-02 10:49:17 +02:00
glue
idl-parser
io
libxpt/xptcall
reflect Bug 1570563 - Sync in xptcstubs code from x86_64 to x86_64_gnu r=froydnj 2019-08-05 20:00:45 +00:00
rust
string
system Bug 1553558 - collect countryCode in system info off the main thread. r=mconley,Standard8 2019-08-02 12:55:38 +00:00
tests
threads Bug 1571875: Part 2 - Change over all existing static local uses of DynamicallyLinkedFunctionPtr to use StaticDynamicallyLinkedFunctionPtr instead; r=mhowell 2019-08-07 15:58:09 +00:00
windbgdlg
xpidl
moz.build
xpcom-config.h.in
xpcom-private.h.in