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

Issue 2743923003: Revert "Make Crashpad start asynchronous, and move back to chrome_elf" (Closed)

Created:
3 years, 9 months ago by scottmg
Modified:
3 years, 9 months ago
CC:
chromium-reviews, sadrul, jam, pennymac+watch_chromium.org, darin-cc_chromium.org, caitkp+watch_chromium.org, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert "Make Crashpad start asynchronous, and move back to chrome_elf" See bug for details of regression. This reverts commit be0cfa14d77c72864a74d2bcc7910b0b31b7eecb which was: Make Crashpad start asynchronous, and move back to chrome_elf Crashpad initialization has been reworked to support an asynchronous mode where StartHandler() only calls CreateThread() and does not synchronize with that thread, making it safe to use in DllMain(). So, we can now move it back into chrome_elf to catch earlier crashes. We block much later now in browser startup, before a renderer (i.e. another client that would connect to the handler) will be started. This should not be strictly necessary, but is slightly more conservative as a first pass. This allows for error reporting, and prevents log spew from each renderer that starts up and tries to connect to a nonexistent handler. Also added is a UMA timer to see how long we're blocking startup for by joining with the background thread. TBR=mark@chromium.org, thestig@chromium.org, grt@chromium.org BUG=700371 Review-Url: https://codereview.chromium.org/2743923003 Cr-Commit-Position: refs/heads/master@{#456221} Committed: https://chromium.googlesource.com/chromium/src/+/616b30a936244b12170072859a0ca988459a6a1b

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -47 lines) Patch
M chrome/app/chrome_exe_main_win.cc View 1 chunk +1 line, -0 lines 1 comment Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 2 chunks +0 lines, -13 lines 0 comments Download
M chrome_elf/chrome_elf.def View 1 chunk +1 line, -0 lines 0 comments Download
M chrome_elf/chrome_elf_main.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome_elf/chrome_elf_main.cc View 2 chunks +11 lines, -4 lines 0 comments Download
M components/crash/content/app/crashpad.h View 1 chunk +0 lines, -4 lines 0 comments Download
M components/crash/content/app/crashpad.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M components/crash/content/app/crashpad_win.cc View 2 chunks +3 lines, -19 lines 0 comments Download

Messages

Total messages: 30 (22 generated)
scottmg
3 years, 9 months ago (2017-03-10 20:45:50 UTC) #14
Mark Mentovai
LGTM otherwise https://codereview.chromium.org/2743923003/diff/60001/chrome/app/chrome_exe_main_win.cc File chrome/app/chrome_exe_main_win.cc (right): https://codereview.chromium.org/2743923003/diff/60001/chrome/app/chrome_exe_main_win.cc#newcode1 chrome/app/chrome_exe_main_win.cc:1: // Copyright (c) 2011 The Chromium Authors. ...
3 years, 9 months ago (2017-03-10 21:15:28 UTC) #16
scottmg
On 2017/03/10 21:15:28, Mark Mentovai wrote: > LGTM otherwise > > https://codereview.chromium.org/2743923003/diff/60001/chrome/app/chrome_exe_main_win.cc > File chrome/app/chrome_exe_main_win.cc ...
3 years, 9 months ago (2017-03-10 21:19:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2743923003/60001
3 years, 9 months ago (2017-03-10 22:02:30 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win10_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win10_chromium_x64_rel_ng/builds/763)
3 years, 9 months ago (2017-03-10 23:48:52 UTC) #23
scottmg
removed win10 bot from "extra cq". it passed in ps#3, but is having trouble. i'll ...
3 years, 9 months ago (2017-03-10 23:52:21 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2743923003/60001
3 years, 9 months ago (2017-03-10 23:52:49 UTC) #27
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 23:58:58 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/616b30a936244b12170072859a0c...

Powered by Google App Engine
This is Rietveld 408576698