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

Issue 2063213002: Fix Chrome crashes on launch due to BIND_EXTERNAL_SERVICE error. (Closed)

Created:
4 years, 6 months ago by Xi Han
Modified:
4 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, michaelbai, mimee, Theresa, sgurun-gerrit only, kravula_chromium.org, amineer
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Chrome crashes on launch due to BIND_EXTERNAL_SERVICE error. The crash is introduced in CL: https://codereview.chromium.org/2017963003/ The crash happens when initializing a utility process with ChildProcessCreationParams is null. The extra binding flag is only added when this parameter isn't null. To fix the crash, we update the ChildProcessLaunch#start() to make sure always use pre-set ChildProcessCreationParams to create a child process. BUG=619563 Committed: https://crrev.com/d83004386e6c5f4a924d424c2772f3a57c7e6d2b Cr-Commit-Position: refs/heads/master@{#399821}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Update comment. #

Total comments: 2

Patch Set 3 : Update comments #

Patch Set 4 : Add a TODO. #

Patch Set 5 : Fire bug 620102. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -11 lines) Patch
M content/public/android/java/src/org/chromium/content/browser/ChildProcessCreationParams.java View 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java View 1 2 3 4 1 chunk +28 lines, -11 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
Xi Han
Hi Maria, could you please take a look? Thanks!
4 years, 6 months ago (2016-06-14 15:46:43 UTC) #5
Maria
lgtm after you fix my suggestion https://codereview.chromium.org/2063213002/diff/1/content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java File content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java (right): https://codereview.chromium.org/2063213002/diff/1/content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java#newcode664 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java:664: // package name. ...
4 years, 6 months ago (2016-06-14 17:04:49 UTC) #6
Xi Han
sievers@chromium.org: I need a OWNER review for content/public/android/java/src/org/chromium/content/browser/ChildProcessCreationParams.java. Could you please take a look? Thanks! ...
4 years, 6 months ago (2016-06-14 17:17:51 UTC) #8
michaelbai
https://codereview.chromium.org/2063213002/diff/1/content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java File content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java (right): https://codereview.chromium.org/2063213002/diff/1/content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java#newcode664 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java:664: // package name. On 2016/06/14 17:17:51, Xi Han wrote: ...
4 years, 6 months ago (2016-06-14 17:46:21 UTC) #10
no sievers
This is a bit messy and unclear what the contract here really is, which I ...
4 years, 6 months ago (2016-06-14 17:55:18 UTC) #11
Xi Han
https://codereview.chromium.org/2063213002/diff/1/content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java File content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java (right): https://codereview.chromium.org/2063213002/diff/1/content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java#newcode664 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java:664: // package name. On 2016/06/14 17:46:21, michaelbai wrote: > ...
4 years, 6 months ago (2016-06-14 17:55:31 UTC) #12
Xi Han
On 2016/06/14 17:55:18, sievers wrote: > This is a bit messy and unclear what the ...
4 years, 6 months ago (2016-06-14 18:35:43 UTC) #13
no sievers
On 2016/06/14 18:35:43, Xi Han wrote: > On 2016/06/14 17:55:18, sievers wrote: > > This ...
4 years, 6 months ago (2016-06-14 19:12:49 UTC) #14
michaelbai
I have a bug to remove BIND_EXTERNAL_SERVICE once we could use the N sdk in ...
4 years, 6 months ago (2016-06-14 19:28:09 UTC) #15
Xi Han
I add a TODO to keep track. PTAL, thanks. On 2016/06/14 19:12:49, sievers wrote: > ...
4 years, 6 months ago (2016-06-14 19:58:30 UTC) #17
no sievers
lgtm but can you also file a bug to remove the embedder implementation details from ...
4 years, 6 months ago (2016-06-14 21:05:58 UTC) #18
Xi Han
On 2016/06/14 21:05:58, sievers wrote: > lgtm but can you also file a bug to ...
4 years, 6 months ago (2016-06-14 21:40:35 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2063213002/80001
4 years, 6 months ago (2016-06-14 21:41:59 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) ios-device-gn on ...
4 years, 6 months ago (2016-06-14 23:44:00 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2063213002/80001
4 years, 6 months ago (2016-06-15 00:27:36 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-15 02:18:28 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-15 02:20:05 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d83004386e6c5f4a924d424c2772f3a57c7e6d2b
Cr-Commit-Position: refs/heads/master@{#399821}

Powered by Google App Engine
This is Rietveld 408576698