gecko-dev/xpcom/build
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
..
BinaryPath.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
FileLocation.cpp
FileLocation.h
GeckoProcessTypes.h Bug 1572565 - Make the remote sandbox broker process' telemetry string consistent r=jld 2019-08-09 00:03:33 +00:00
IOInterposer.cpp Bug 1531030: Use MOZ_DISABLE_POISON_IO_INTERPOSER to disable PoisonIOInterposer when it is unsafe to initialize; r=erahm 2019-03-01 19:34:54 +00:00
IOInterposer.h
IOInterposerPrivate.h
LateWriteChecks.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
LateWriteChecks.h
MainThreadIOLogger.cpp Bug 1523969 part 27 - Move method definition inline comments to new line in 'xpcom/'. r=froydnj 2019-02-25 16:14:01 -06:00
MainThreadIOLogger.h
NSPRInterposer.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
NSPRInterposer.h
Omnijar.cpp
Omnijar.h
PoisonIOInterposer.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
PoisonIOInterposerBase.cpp Bug 1556993 - Ignore invalid handles in Mozilla{,Un}RegisterDebugHandle - r=erahm 2019-06-12 23:23:20 +00:00
PoisonIOInterposerMac.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
PoisonIOInterposerStub.cpp
PoisonIOInterposerWin.cpp Bug 1533775 - PoisonIOInterposerWin should report the filename when opening non-existant files, r=aklotz. 2019-03-08 17:15:21 +00:00
Services.py Bug 1460811 - migrate XULStore to rkv r=bgrins,lina 2019-04-22 02:59:51 +00:00
XPCOM.h Bug 1047408 - Remove nsTWeakRef.h r=smaug 2019-05-23 20:16:23 +00:00
XPCOMInit.cpp Bug 1555891 - Merge PVideoDecoderManager into PRemoteDecoderManager. r=jya,jld 2019-06-11 02:01:34 +00:00
XPCOMModule.h Bug 1478124: Part 8e - Update XPCOM module to use a static component manifest. r=froydnj 2018-12-18 20:28:14 -08:00
XPCOMModule.inc Bug 1478124: Part 8e - Update XPCOM module to use a static component manifest. r=froydnj 2018-12-18 20:28:14 -08:00
XREAppData.h
XREChildData.h Bug 1530245 - Launch sandbox from new remote sandbox broker process. r=jld,bobowen 2019-03-13 09:24:52 +00:00
XREShellData.h
components.conf Bug 1539029 - pt 1 - give RDD its own process selector. r=froydnj 2019-04-09 21:13:16 +00:00
mach_override.c
mach_override.h
moz.build Bug 1492629 - de-COM mozJSComponentLoader. r=mccr8 2019-02-08 23:09:20 +00:00
nsXPCOM.h Bug 1535384 part 5. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY for mutation callbacks. r=mccr8 2019-03-19 15:14:11 +00:00
nsXPCOMCID.h
nsXPCOMCIDInternal.h
nsXPCOMPrivate.h Bug 1535226 - Remove uses of XP_WIN32 in Gecko. r=glandium 2019-03-21 01:28:50 +00:00
nsXULAppAPI.h Bug 1282776 - Finalize crash reports for child process crashes happening too early r=froydnj 2019-08-09 14:23:19 +00:00
perfprobe.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
perfprobe.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
xpcom_alpha.def
xrecore.h