gecko-dev/ipc
Gabriele Svelto b5f5840129 Bug 1975853 - Fail gracefully if we cannot start the crash helper client r=afranchuk
Before this patch if we failed to launch the crash helper client then we
would either freeze or crash Firefox, which is not what we want. This
makes sure that errors when launching the crash helper are not
catastrophic. Additionally, this problem was triggered on a machine that
launched more than 64 child processes at startup during session restore.
That was a hard limit on Windows because of the limitations of
WaitForMultipleObjects(). I adjusted the code to also handle that
gracefully even though we don't support more than 64 child processes at
the moment. That's not a big deal because we're not yet using that
particular IPC channel, so ignoring every child process above the 63rd
doesn't change anything at the moment. Last but not least there was a
small race in the crash helper rendez-vous that might cause Linux to
attempt to generate a minidump before we had allowed a child process to
allow the crash helper to ptrace() it. This was also fixed.

Differential Revision: https://phabricator.services.mozilla.com/D256299
2025-07-08 00:08:59 +00:00
..
app Bug 1972782 - Make MOZ_WINCONSOLE a first class citizen of moz.build as WINCONSOLE r=glandium,application-update-reviewers,bytesized 2025-07-02 06:09:43 +00:00
chromium Bug 1966936 - Switch various IPC IDs to 64-bits, r=ipc-reviewers,mccr8,jld 2025-05-29 19:41:03 +00:00
docs Bug 1965601 - Part 1. Rename RemoteDecoderManagerChild/Parent to RemoteMediaManagerChild/Parent. r=ipc-reviewers,media-playback-reviewers,padenot,mccr8 2025-06-12 16:32:58 +00:00
glue Bug 1975853 - Fail gracefully if we cannot start the crash helper client r=afranchuk 2025-07-08 00:08:59 +00:00
gtest Bug 1954226 - Fix FreezeAndReprotect test r=jld 2025-03-18 13:15:55 +00:00
ipdl Bug 1965601 - Part 1. Rename RemoteDecoderManagerChild/Parent to RemoteMediaManagerChild/Parent. r=ipc-reviewers,media-playback-reviewers,padenot,mccr8 2025-06-12 16:32:58 +00:00
mscom Bug 1871472: Remove mingw workaround for RoGetAgileReference function r=tjr 2025-06-02 15:04:59 +00:00
rust/ipdl_utils
testshell Bug 1959821 - cleanup and standardize remaining xpcshell.toml files. r=aryx,sync-reviewers,markh 2025-04-15 20:24:35 +00:00
metrics.yaml Bug 1969178 - Remove process lifetime telemetry r=nika 2025-06-12 03:03:23 +00:00
moz.build
pull-chromium.py