gecko-dev/netwerk/ipc
Kershaw Chang 1c6a55798d Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer
From the log, I found that the intermittent crash happened because SocketProcessBridgeParent's message loop is destroyed before the IPC channel is closed. Before this patch, the only way to close the IPC channel between SocketProcessBridgeParent and SocketProcessBridgeChild is relying on "content-child-shutdown" notification in child process. If socket process gets terminated before "content-child-shutdown", the IPC channel is never closed.
So, this patch tries to close the IPC channel at SocketProcessChild::CleanUp if the channel is not closed.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 15:24:02 +00:00
..
ChannelEventQueue.cpp Bug 1528677: Remove nullchecks for loadinfo since we have loadinfo on all channels. r=baku 2019-02-20 13:27:25 +01:00
ChannelEventQueue.h Bug 1516555 - Reformat everything to the Google coding style r=Ehsan 2018-12-28 15:48:06 +00:00
moz.build Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf 2019-02-25 21:50:42 +00:00
NeckoChannelParams.ipdlh Bug 1566453: Added flag to detect if a load was initiated by a form submission r=ckerschb 2019-07-22 13:41:47 +00:00
NeckoChild.cpp Backed out 2 changesets (bug 1567892) for build bustages on a CLOSED TREE 2019-07-25 08:26:29 +03:00
NeckoChild.h Backed out 2 changesets (bug 1567892) for build bustages on a CLOSED TREE 2019-07-25 08:26:29 +03:00
NeckoCommon.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
NeckoCommon.h Bug 1534395 - Rename TabChild to BrowserChild. r=nika 2019-04-09 17:39:01 -05:00
NeckoMessageUtils.h Bug 1527505 - Part 9: Make nsIPermissionManager accept ACString arguments for permission types instead of raw C strings; r=nika 2019-02-21 22:54:28 +00:00
NeckoParent.cpp Backed out 2 changesets (bug 1567892) for build bustages on a CLOSED TREE 2019-07-25 08:26:29 +03:00
NeckoParent.h Backed out 2 changesets (bug 1567892) for build bustages on a CLOSED TREE 2019-07-25 08:26:29 +03:00
NeckoTargetHolder.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
NeckoTargetHolder.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PChannelDiverter.ipdl
PDataChannel.ipdl
PFileChannel.ipdl
PNecko.ipdl Backed out 2 changesets (bug 1567892) for build bustages on a CLOSED TREE 2019-07-25 08:26:29 +03:00
PSimpleChannel.ipdl
PSocketProcess.ipdl Bug 1545827: Use TabId instead of PBrowserOrId, use LoadInfoArgs to avoid using the system principal on the socket process, and use PSocketProcess for the WebrtcProxyChannel when on the socket process. r=kershaw,mjf 2019-04-26 14:46:26 +00:00
PSocketProcessBridge.ipdl Bug 1560636: Avoid using main thread with PMediaTransport. r=mjf,kershaw 2019-07-15 15:49:30 +00:00
SocketProcessBridgeChild.cpp Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer 2019-07-25 15:24:02 +00:00
SocketProcessBridgeChild.h Bug 1560636: Avoid using main thread with PMediaTransport. r=mjf,kershaw 2019-07-15 15:49:30 +00:00
SocketProcessBridgeParent.cpp Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer 2019-07-25 15:24:02 +00:00
SocketProcessBridgeParent.h Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer 2019-07-25 15:24:02 +00:00
SocketProcessChild.cpp Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer 2019-07-25 15:24:02 +00:00
SocketProcessChild.h Bug 1544799 - Make PSocketProcess manage PWebrtcProxyChannel r=dragana 2019-04-23 13:10:56 +00:00
SocketProcessHost.cpp Bug 1539029 - pt 3 - de-duplicate building cmdline for shared prefs class. r=kmag 2019-04-09 21:07:47 +00:00
SocketProcessHost.h Bug 1531476 - replace MaybeFileDesc with FileDescriptor? in IPDL; r=mccr8 2019-02-28 21:20:40 +00:00
SocketProcessImpl.cpp Bug 1513059 - Use the minimal XPCOM for the socket process.r=froydnj 2019-01-16 23:05:11 +00:00
SocketProcessImpl.h Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana 2019-01-11 18:57:23 +00:00
SocketProcessLogging.h Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana 2019-01-11 18:57:23 +00:00
SocketProcessParent.cpp Bug 1289211 - Rename InfallibleTArray to nsTArray in netwerk/ r=kershaw 2019-07-10 03:33:21 +00:00
SocketProcessParent.h Bug 1289211 - Rename InfallibleTArray to nsTArray in netwerk/ r=kershaw 2019-07-10 03:33:21 +00:00