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 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-07-08 17:27:36 +00:00
doc
ds Bug 1570719 - Skip more elements in spellcheck for MailNews. r=masayuki 2019-08-02 10:49:17 +02:00
glue Bug 1554380 - Fix some issues in mozilla::ReadAhead. r=aklotz 2019-05-29 10:13:28 +00:00
idl-parser Bug 1567739 - Stop using deprecated rust libc integer types in xpidl. r=froydnj 2019-07-23 13:42:44 +00:00
io Bug 1561912, r=michal 2019-07-26 22:58:39 +00:00
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 Bug 1567739 - Stop using deprecated rust libc integer types in xpidl. r=froydnj 2019-07-23 13:42:44 +00:00
string Bug 1543693 - Add missing nsReadableUtils wrappers for conversions between UTF-8 and Latin1 XPCOM string. r=froydnj 2019-04-12 17:49:11 +00:00
system Bug 1553558 - collect countryCode in system info off the main thread. r=mconley,Standard8 2019-08-02 12:55:38 +00:00
tests Bug 1298602 - split condition in TestExpirationTracker; r=KrisWright 2019-07-31 18:16:35 +00:00
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 Bug 1528651 - Fix some trivial warnings and re-enable warnings-as-errors on Windows in some directories. r=dmajor 2019-02-19 20:42:11 +09:00
xpidl
moz.build
xpcom-config.h.in Bug 1523851 - Remove the dynamic_cast<void*> test. r=froydnj 2019-01-30 14:25:33 +00:00
xpcom-private.h.in