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

Issue 131513018: Signal error on send message failure. (Closed)

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

Description

Signal error on send message failure. Syncronous IPC will deadlock if the message doesn't get sent. Calling ClosePipeOnError will cause SuicideOnChannelErrorFilter to end the misery. BUG=338709

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M ipc/ipc_channel_posix.cc View 1 chunk +4 lines, -1 line 1 comment Download

Messages

Total messages: 9 (0 generated)
Fredrik Öhrn
Other places that call ProcessOutgoingMessages() will call ClosePipeOnError() if there is an error, this change ...
6 years, 10 months ago (2014-01-28 16:18:44 UTC) #1
jeremy
The IPC code is really delicate, your change looks fine to me but I'd like ...
6 years, 10 months ago (2014-01-28 17:19:39 UTC) #2
jeremy
Also, do all unit tests pass with this change? Can you add a unit test ...
6 years, 10 months ago (2014-01-28 17:20:29 UTC) #3
Fredrik Öhrn
On 2014/01/28 17:20:29, jeremy wrote: > Also, do all unit tests pass with this change? ...
6 years, 10 months ago (2014-01-29 10:37:37 UTC) #4
Fredrik Öhrn
https://codereview.chromium.org/131513018/diff/1/ipc/ipc_channel_posix.cc File ipc/ipc_channel_posix.cc (right): https://codereview.chromium.org/131513018/diff/1/ipc/ipc_channel_posix.cc#newcode475 ipc/ipc_channel_posix.cc:475: Close(); Yet another alternative is to change Close to ...
6 years, 10 months ago (2014-01-29 10:41:00 UTC) #5
cpu_(ooo_6.6-7.5)
Scott, whatever happened with that other change here? who was doing it ? hubbe?
6 years, 10 months ago (2014-01-29 19:02:47 UTC) #6
cpu_(ooo_6.6-7.5)
found it https://codereview.chromium.org/30133002/
6 years, 10 months ago (2014-01-29 19:03:26 UTC) #7
Scott Hess - ex-Googler
Yeah, let's defer to the other change, since it seems to have already found a ...
6 years, 10 months ago (2014-01-29 19:13:27 UTC) #8
Fredrik Öhrn
6 years, 10 months ago (2014-01-30 09:54:30 UTC) #9
Message was sent while issue was closed.
On 2014/01/29 19:13:27, shess wrote:
> Yeah, let's defer to the other change, since it seems to have already found a
> couple more edge cases.  I'll go ping on the other CL.

Okely dokely, dropping this review.

Powered by Google App Engine
This is Rietveld 408576698