Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Issue 150893002: Fix posix IPC channel hanging problem. (Closed)

Created:
6 years, 10 months ago by hubbe
Modified:
6 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Fredrik Öhrn
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix posix IPC channel hanging problem. If a channel closes right before a send call, listeners might not be notified of the problem, which can cause hangs. This CL fixes that and adds a test that makes sure that this does not happen in the future. This is cl/30133002 + a memory leak fix. BUG=338709 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250964

Patch Set 1 #

Total comments: 2

Patch Set 2 : reordered early exit, as requested #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -6 lines) Patch
M ipc/ipc_channel_posix.cc View 1 4 chunks +16 lines, -3 lines 0 comments Download
M ipc/ipc_channel_posix_unittest.cc View 4 chunks +50 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
hubbe
6 years, 10 months ago (2014-01-30 23:24:02 UTC) #1
cpu_(ooo_6.6-7.5)
I'll rubberstamp whatever shess is happy with.
6 years, 10 months ago (2014-01-31 21:41:12 UTC) #2
Scott Hess - ex-Googler
On 2014/01/31 21:41:12, cpu wrote: > I'll rubberstamp whatever shess is happy with. looking...
6 years, 10 months ago (2014-02-03 21:45:48 UTC) #3
Scott Hess - ex-Googler
LGTM. I do not share cpu's confidence in my review fu, though :-). https://codereview.chromium.org/150893002/diff/1/ipc/ipc_channel_posix.cc File ...
6 years, 10 months ago (2014-02-03 22:00:26 UTC) #4
hubbe
PTAL https://codereview.chromium.org/150893002/diff/1/ipc/ipc_channel_posix.cc File ipc/ipc_channel_posix.cc (right): https://codereview.chromium.org/150893002/diff/1/ipc/ipc_channel_posix.cc#newcode526 ipc/ipc_channel_posix.cc:526: #endif // IPC_MESSAGE_LOG_ENABLED No problem - done. On ...
6 years, 10 months ago (2014-02-04 19:13:38 UTC) #5
Scott Hess - ex-Googler
Still LGTM. Thanks for paying attention to this kind of terrifying stuff.
6 years, 10 months ago (2014-02-04 19:18:00 UTC) #6
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 10 months ago (2014-02-04 19:20:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/150893002/80001
6 years, 10 months ago (2014-02-04 19:24:10 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=48007
6 years, 10 months ago (2014-02-04 19:58:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/150893002/80001
6 years, 10 months ago (2014-02-04 20:01:16 UTC) #10
hubbe1
cpu? On Tue, Feb 4, 2014 at 12:01 PM, <commit-bot@chromium.org> wrote: > CQ is trying ...
6 years, 10 months ago (2014-02-04 20:14:44 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=48019
6 years, 10 months ago (2014-02-04 20:37:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/150893002/80001
6 years, 10 months ago (2014-02-04 20:43:44 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 22:52:38 UTC) #14
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=48033
6 years, 10 months ago (2014-02-04 22:52:39 UTC) #15
hubbe
On 2014/02/04 22:52:39, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 10 months ago (2014-02-12 22:19:56 UTC) #16
cpu_(ooo_6.6-7.5)
lgtm
6 years, 10 months ago (2014-02-13 02:44:35 UTC) #17
cpu_(ooo_6.6-7.5)
The CQ bit was checked by cpu@chromium.org
6 years, 10 months ago (2014-02-13 02:44:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/150893002/80001
6 years, 10 months ago (2014-02-13 02:45:48 UTC) #19
commit-bot: I haz the power
Change committed as 250964
6 years, 10 months ago (2014-02-13 05:38:04 UTC) #20
hubbe
6 years, 10 months ago (2014-02-18 17:41:44 UTC) #21

Powered by Google App Engine
This is Rietveld 408576698