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

Issue 11108019: linux: Crash browser on too-big messages to zygote. (Closed)

Created:
8 years, 2 months ago by Daniel Erat
Modified:
8 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, erikwright+watch_chromium.org, jam
Visibility:
Public.

Description

linux: Crash browser on too-big messages to zygote. This adds CHECKs to the browser if it attempts to send a message to the zygote that exceeds the maximum message size (which causes an EMSGSIZE error in the zygote) or that contains too many file descriptors. I'm hoping that this will help make the source of the problem more apparent when we hit the message size limit, which we appear to have done multiple times (it was originally 1 KB and is now 2 KB). BUG=154409 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161645

Patch Set 1 #

Patch Set 2 : update CHECKs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -20 lines) Patch
M base/posix/unix_domain_socket.h View 2 chunks +4 lines, -1 line 0 comments Download
M base/posix/unix_domain_socket.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/zygote_host/zygote_host_impl_linux.h View 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/zygote_host/zygote_host_impl_linux.cc View 1 6 chunks +22 lines, -14 lines 0 comments Download
M content/common/zygote_commands_linux.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/zygote/zygote_linux.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Daniel Erat
8 years, 2 months ago (2012-10-12 17:06:45 UTC) #1
willchan no longer on Chromium
base/ LGTM
8 years, 2 months ago (2012-10-12 17:17:18 UTC) #2
piman
lgtm
8 years, 2 months ago (2012-10-12 17:21:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/11108019/2001
8 years, 2 months ago (2012-10-12 17:23:13 UTC) #4
commit-bot: I haz the power
8 years, 2 months ago (2012-10-12 19:59:45 UTC) #5
Change committed as 161645

Powered by Google App Engine
This is Rietveld 408576698