gecko-dev/ipc
Jed Davis b1dbdc9687 Bug 1582297 - Suppress IPC "pipe error" messages if the cause was probably the other process exiting. r=froydnj
There are two issues here:

1. These error messages occur even during normal channel shutdown,
because that's tracked in the mozilla::ipc::MessageChannel layer,
which the ipc/chromium code can't access.

2. If we get this kind of error when the channel wasn't intentionally
closed, it almost certainly means that the other process crashed.  In
that case, having error messages from a different process and a likely
unrelated subsystem just leads to confusion and misfiled bugs.

(Also complicating things: on Unix a closed channel often, but not
always, results in an end-of-file indication, which already isn't
logged; on Windows it's always a broken pipe error, which causes a much
larger amount of log spam.)

Bonus fix: the error that contains a fd number is clarified to avoid
having it mistaken for an error code.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 21:04:40 +00:00
..
app Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell 2019-09-23 20:18:41 +00:00
chromium Bug 1582297 - Suppress IPC "pipe error" messages if the cause was probably the other process exiting. r=froydnj 2019-11-12 21:04:40 +00:00
contentproc Bug 1574421 - Don't recurse in ipc/contentproc. r=froydnj 2019-08-16 13:11:46 +00:00
glue Bug 1589809 - [macOS] Use OS_ACTIVITY_MODE=disable for child processes r=spohl 2019-11-09 00:27:48 +00:00
gtest Bug 1479960 - Add unit tests for shared memory freezing. r=froydnj 2019-08-14 22:48:52 +00:00
ipdl Bug 1581240 - Return a Promise from windowUtils.setCompositionRecording() r=nika 2019-11-07 22:34:25 +00:00
mscom Bug 1581441: mscom::GetObjRefSize: Correctly handle proxies marshaled by the aggregated standard marshaler. r=aklotz 2019-10-31 21:45:17 +00:00
testshell Bug 1574573 - Disambiguate a use of Handle in XPCShellEnvironment.cpp r=Ehsan 2019-08-17 01:06:19 +00:00
moz.build Bug 1574421 - Don't recurse in ipc/contentproc. r=froydnj 2019-08-16 13:11:46 +00:00
pull-chromium.py