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

Issue 11801024: Fixed browser crash when using Debug build: (Closed)

Created:
7 years, 11 months ago by Danh Nguyen
Modified:
7 years, 10 months ago
Reviewers:
dtu, nduca, tonyg, brettw
CC:
chromium-reviews, chrome-speed-team+watch_google.com, pam+watch_chromium.org, telemetry+watch_chromium.org, Vangelis Kokkevis, anantha, Sheridan Rawlins
Visibility:
Public.

Description

Fixed browser crash when Telemetry uses Debug build. Factored out chrome.benchmarking methods which don't depend on stats table. BUG=168640 TEST=tools/telemetry/run_tests --browser=debug PageRunnerTests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182754 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183611

Patch Set 1 #

Patch Set 2 : Separates chrome.benchmarking.closeConnections() in order to remove --enable-benchmarking from tele… #

Total comments: 8

Patch Set 3 : Moved network related methods out of benchmarking_extension. #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : Fixed failure on win perf bot. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -411 lines) Patch
M chrome/browser/chrome_benchmarking_message_filter.h View 1 2 1 chunk +0 lines, -55 lines 0 comments Download
M chrome/browser/chrome_benchmarking_message_filter.cc View 1 2 1 chunk +0 lines, -169 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 3 chunks +7 lines, -4 lines 0 comments Download
A + chrome/browser/chrome_net_benchmarking_message_filter.h View 1 2 4 chunks +8 lines, -7 lines 0 comments Download
A + chrome/browser/chrome_net_benchmarking_message_filter.cc View 1 2 11 chunks +15 lines, -14 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/benchmarking_extension.cc View 1 2 3 4 chunks +2 lines, -74 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/renderer/net_benchmarking_extension.h View 1 1 chunk +19 lines, -0 lines 0 comments Download
A + chrome/renderer/net_benchmarking_extension.cc View 1 2 3 5 chunks +18 lines, -80 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/desktop_browser_backend.py View 1 2 3 4 4 chunks +21 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Danh Nguyen
Hi Dave, Nat, This attempts to fix the crash on debug build which I've separated ...
7 years, 11 months ago (2013-01-07 21:20:17 UTC) #1
nduca
The right fix for this is to fix crbug.com/163534 --- we need a specific function ...
7 years, 11 months ago (2013-01-07 23:58:45 UTC) #2
Danh Nguyen
Hi Nat, This is my attempt to fix this issue per your suggestion. I'm pretty ...
7 years, 11 months ago (2013-01-23 22:51:08 UTC) #3
nduca
Can you see if @tonyg can do a first pass review on this?
7 years, 11 months ago (2013-01-24 01:49:52 UTC) #4
Danh Nguyen
Hi Tony, I'm attempting to fix the telemetry bug which crashes the debug build following ...
7 years, 11 months ago (2013-01-24 14:47:37 UTC) #5
tonyg
Perhaps Nat and I should sync up on this before you go changing the patch ...
7 years, 11 months ago (2013-01-24 22:00:29 UTC) #6
Danh Nguyen
On 2013/01/24 22:00:29, tonyg wrote: > Perhaps Nat and I should sync up on this ...
7 years, 11 months ago (2013-01-24 22:16:30 UTC) #7
nduca
this approach looks promising. @dtu for final review. Will probably want to see how trybots ...
7 years, 10 months ago (2013-02-06 07:40:06 UTC) #8
Danh Nguyen
Hi All, Per Tony's suggestions, I've moved all network-related stuff to the new extension and ...
7 years, 10 months ago (2013-02-07 16:56:32 UTC) #9
nduca
lgtm https://codereview.chromium.org/11801024/diff/15001/tools/telemetry/telemetry/desktop_browser_backend.py File tools/telemetry/telemetry/desktop_browser_backend.py (right): https://codereview.chromium.org/11801024/diff/15001/tools/telemetry/telemetry/desktop_browser_backend.py#newcode52 tools/telemetry/telemetry/desktop_browser_backend.py:52: if self._chrome_branch_number >= 1404: should this be conditional ...
7 years, 10 months ago (2013-02-12 01:28:49 UTC) #10
Danh Nguyen
Thanks Nat for your approval. Tony, does the change look OK for you? Could you ...
7 years, 10 months ago (2013-02-12 15:57:26 UTC) #11
Danh Nguyen
Add @brettw for owner review.
7 years, 10 months ago (2013-02-13 15:01:14 UTC) #12
brettw
LGTM rubberstamp
7 years, 10 months ago (2013-02-15 00:50:20 UTC) #13
Danh Nguyen
On 2013/02/15 00:50:20, brettw wrote: > LGTM rubberstamp Thanks, Brett. I appreciate that very much. ...
7 years, 10 months ago (2013-02-15 14:37:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danhn@chromium.org/11801024/20001
7 years, 10 months ago (2013-02-15 14:38:43 UTC) #15
commit-bot: I haz the power
Change committed as 182754
7 years, 10 months ago (2013-02-15 17:57:23 UTC) #16
enne (OOO)
On 2013/02/15 17:57:23, I haz the power (commit-bot) wrote: > Change committed as 182754 This ...
7 years, 10 months ago (2013-02-15 21:05:32 UTC) #17
Danh Nguyen
Just uploaded a patch for desktop_browser_backend.py to fix the failure on windows perf bot.
7 years, 10 months ago (2013-02-20 03:00:21 UTC) #18
nduca
lgtm nicely done
7 years, 10 months ago (2013-02-20 03:02:40 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danhn@chromium.org/11801024/42001
7 years, 10 months ago (2013-02-20 18:42:13 UTC) #20
commit-bot: I haz the power
Change committed as 183611
7 years, 10 months ago (2013-02-20 20:41:42 UTC) #21
nduca
7 years, 10 months ago (2013-02-22 19:36:20 UTC) #22
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698