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

Issue 25325002: workaround for mac kernel bug (Closed)

Created:
7 years, 2 months ago by hubbe
Modified:
7 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : bugfixes #

Patch Set 3 : bugfixes #

Patch Set 4 : added test, disabling fix #

Patch Set 5 : fix minor issues #

Patch Set 6 : test now actually triggers kernel bug, auto-flush CloseFD messages #

Total comments: 12

Patch Set 7 : make it trigger the bug more often #

Patch Set 8 : nits fixed #

Patch Set 9 : missed one #

Patch Set 10 : enabling fix #

Total comments: 6

Patch Set 11 : win fix #

Patch Set 12 : nits fixed #

Patch Set 13 : reduce number of test runs a bit #

Patch Set 14 : minor bugfix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -76 lines) Patch
M ipc/file_descriptor_set_posix.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M ipc/file_descriptor_set_posix.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
M ipc/ipc_channel.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +15 lines, -8 lines 0 comments Download
M ipc/ipc_channel_nacl.h View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_nacl.cc View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_posix.h View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -1 line 0 comments Download
M ipc/ipc_channel_posix.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +109 lines, -27 lines 0 comments Download
M ipc/ipc_channel_reader.h View 1 2 2 chunks +8 lines, -4 lines 0 comments Download
M ipc/ipc_channel_reader.cc View 1 2 2 chunks +9 lines, -3 lines 0 comments Download
M ipc/ipc_channel_win.h View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M ipc/ipc_send_fds_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +226 lines, -29 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
hubbe
This is an alternate workaround for the mac sendmsg() bug, which uses an ACK to ...
7 years, 2 months ago (2013-09-30 23:56:08 UTC) #1
hubbe
The simpler version of this fix seems to have caused a bunch of tests to ...
7 years, 2 months ago (2013-10-03 16:25:48 UTC) #2
cpu_(ooo_6.6-7.5)
Can you repro the failures locally? We want to understand what happened so we can ...
7 years, 2 months ago (2013-10-04 17:58:30 UTC) #3
hubbe
On 2013/10/04 17:58:30, cpu wrote: > Can you repro the failures locally? > > We ...
7 years, 2 months ago (2013-10-04 21:38:50 UTC) #4
cpu_(ooo_6.6-7.5)
Sounds good.
7 years, 2 months ago (2013-10-04 22:06:07 UTC) #5
Scott Hess - ex-Googler
Sorry for the lag - been OOT. I'll try to get to this todayish.
7 years, 2 months ago (2013-10-07 17:35:58 UTC) #6
hubbe1
FYI: I'm working on adding a test. On Mon, Oct 7, 2013 at 10:35 AM, ...
7 years, 2 months ago (2013-10-07 18:25:21 UTC) #7
Scott Hess - ex-Googler
I apologize, but it's taking me some time to swap things into memory. I haven't ...
7 years, 2 months ago (2013-10-09 20:18:32 UTC) #8
hubbe
I'm not sure if ping messages are the right choice here, we want something that ...
7 years, 2 months ago (2013-10-09 21:33:58 UTC) #9
hubbe
https://codereview.chromium.org/25325002/diff/25001/ipc/ipc_channel.h File ipc/ipc_channel.h (right): https://codereview.chromium.org/25325002/diff/25001/ipc/ipc_channel.h#newcode90 ipc/ipc_channel.h:90: CLOSE_FD_MESSAGE_TYPE = kuint16max - 1 On 2013/10/09 20:18:33, shess ...
7 years, 2 months ago (2013-10-09 21:34:11 UTC) #10
hubbe
Adding agl@ as reviewer
7 years, 2 months ago (2013-10-09 21:34:51 UTC) #11
agl
LGTM https://codereview.chromium.org/25325002/diff/44001/ipc/file_descriptor_set_posix.h File ipc/file_descriptor_set_posix.h (right): https://codereview.chromium.org/25325002/diff/44001/ipc/file_descriptor_set_posix.h#newcode82 ipc/file_descriptor_set_posix.h:82: void GetFDsToCloseAndClear(std::vector<int>* fds); This looks more like a ...
7 years, 2 months ago (2013-10-09 21:52:37 UTC) #12
hubbe
https://codereview.chromium.org/25325002/diff/44001/ipc/file_descriptor_set_posix.h File ipc/file_descriptor_set_posix.h (right): https://codereview.chromium.org/25325002/diff/44001/ipc/file_descriptor_set_posix.h#newcode82 ipc/file_descriptor_set_posix.h:82: void GetFDsToCloseAndClear(std::vector<int>* fds); On 2013/10/09 21:52:38, agl wrote: > ...
7 years, 2 months ago (2013-10-09 21:59:39 UTC) #13
hubbe
On 2013/10/09 21:59:39, hubbe wrote: > https://codereview.chromium.org/25325002/diff/44001/ipc/file_descriptor_set_posix.h > File ipc/file_descriptor_set_posix.h (right): > > https://codereview.chromium.org/25325002/diff/44001/ipc/file_descriptor_set_posix.h#newcode82 > ...
7 years, 2 months ago (2013-10-10 16:52:28 UTC) #14
agl
On Thu, Oct 10, 2013 at 12:52 PM, <hubbe@chromium.org> wrote: >> better? LGTM. To unsubscribe ...
7 years, 2 months ago (2013-10-10 16:59:49 UTC) #15
cpu_(ooo_6.6-7.5)
lgtm and thanks for keep hammering at this.
7 years, 2 months ago (2013-10-10 17:26:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/25325002/68001
7 years, 2 months ago (2013-10-10 17:34:19 UTC) #17
Scott Hess - ex-Googler
lgtm. this was a good find...
7 years, 2 months ago (2013-10-10 21:03:54 UTC) #18
commit-bot: I haz the power
Change committed as 227999
7 years, 2 months ago (2013-10-10 21:12:18 UTC) #19
hubbe
On 2013/10/10 21:12:18, I haz the power (commit-bot) wrote: > Change committed as 227999 This ...
7 years, 2 months ago (2013-10-14 19:42:50 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/25325002/87001
7 years, 2 months ago (2013-10-14 21:52:59 UTC) #21
commit-bot: I haz the power
7 years, 2 months ago (2013-10-15 00:07:01 UTC) #22
Message was sent while issue was closed.
Change committed as 228569

Powered by Google App Engine
This is Rietveld 408576698