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

Issue 402723002: Experimentally disable termination on heap corrruption in order to measure the contribution of this… (Closed)

Created:
6 years, 5 months ago by erikwright (departed)
Modified:
6 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Project:
chromium
Visibility:
Public.

Description

Experimentally disable termination on heap corruption in order to measure the contribution of this feature to missing crash reports. Because this feature is configured very early in the process lifetime it cannot be directly controlled by a field-trial. Rather, we query the status during a given execution, store that status in the registry, and then query the registry during startup. This means the experiment will only take effect the 2nd time it is executed. BUG=394842 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284100 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285931

Patch Set 1 #

Total comments: 1

Patch Set 2 : Reverse the sense of a flag name. #

Patch Set 3 : Fix compile issue. #

Patch Set 4 : Temporarily initialize the CommandLine so that we can determine our channel. #

Patch Set 5 : Compile error. #

Patch Set 6 : Correct way to check CommandLine initialization. #

Patch Set 7 : Merge. #

Patch Set 8 : Update comment date. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -1 line) Patch
M chrome/app/chrome_main.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/common/terminate_on_heap_corruption_experiment_win.h View 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/common/terminate_on_heap_corruption_experiment_win.cc View 1 2 3 4 5 1 chunk +66 lines, -0 lines 1 comment Download
M content/app/content_main_runner.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 1 comment Download
M content/public/app/content_main.h View 1 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
erikwright (departed)
jhawkins: PTAL chrome/* wfh@: PTAL for security brettw@: PTAL for content/ See https://docs.google.com/a/google.com/document/d/15yJ4UeHpkXz_qe460F9LaSiYHuM1tlbevpaI9ND9GoE/edit?usp=sharing for background.
6 years, 5 months ago (2014-07-17 18:52:27 UTC) #1
brettw
content lgtm with name change https://codereview.chromium.org/402723002/diff/1/content/public/app/content_main.h File content/public/app/content_main.h (right): https://codereview.chromium.org/402723002/diff/1/content/public/app/content_main.h#newcode28 content/public/app/content_main.h:28: disable_termination_on_heap_corruption(false), I find this ...
6 years, 5 months ago (2014-07-17 20:15:04 UTC) #2
erikwright (departed)
On 2014/07/17 20:15:04, brettw wrote: > content lgtm with name change > > https://codereview.chromium.org/402723002/diff/1/content/public/app/content_main.h > ...
6 years, 5 months ago (2014-07-17 21:10:14 UTC) #3
Will Harris
LGTM from security perspective. You could use BrowserDistribution::GetDistribution()->GetStateKey() to store the configuration data a place ...
6 years, 5 months ago (2014-07-17 22:17:59 UTC) #4
erikwright (departed)
jochen: PTAL for chrome/*
6 years, 5 months ago (2014-07-18 13:00:30 UTC) #5
jochen (gone - plz use gerrit)
lgtm
6 years, 5 months ago (2014-07-18 13:05:46 UTC) #6
erikwright (departed)
The CQ bit was checked by erikwright@chromium.org
6 years, 5 months ago (2014-07-18 13:07:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/402723002/40001
6 years, 5 months ago (2014-07-18 13:08:57 UTC) #8
commit-bot: I haz the power
Change committed as 284100
6 years, 5 months ago (2014-07-18 15:49:07 UTC) #9
tonyg
A revert of this CL has been created in https://codereview.chromium.org/401913002/ by tonyg@chromium.org. The reason for ...
6 years, 5 months ago (2014-07-18 21:11:23 UTC) #10
erikwright (departed)
jochen: PTAL for chrome/* changes since patchset 3. This failed on the perf bots because ...
6 years, 5 months ago (2014-07-18 23:17:58 UTC) #11
erikwright (departed)
On 2014/07/18 23:17:58, erikwright OOO until July 28th wrote: > jochen: PTAL for chrome/* changes ...
6 years, 5 months ago (2014-07-19 00:46:32 UTC) #12
erikwright (departed)
The CQ bit was checked by erikwright@chromium.org
6 years, 5 months ago (2014-07-22 02:45:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/402723002/100001
6 years, 5 months ago (2014-07-22 02:47:01 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 02:50:18 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-22 02:52:52 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/161394) ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/29534) linux_chromium_chromeos_clang_dbg ...
6 years, 5 months ago (2014-07-22 02:52:53 UTC) #17
erikwright (departed)
The CQ bit was checked by erikwright@chromium.org
6 years, 4 months ago (2014-07-28 13:38:28 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/402723002/100001
6 years, 4 months ago (2014-07-28 13:39:42 UTC) #19
erikwright (departed)
The CQ bit was checked by erikwright@chromium.org
6 years, 4 months ago (2014-07-28 14:38:03 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/402723002/140001
6 years, 4 months ago (2014-07-28 14:39:53 UTC) #21
commit-bot: I haz the power
Change committed as 285931
6 years, 4 months ago (2014-07-28 17:15:52 UTC) #22
grt (UTC plus 2)
Hi Eric. Just sending out what we discussed via chat so that it's on the ...
6 years, 4 months ago (2014-07-30 21:05:12 UTC) #23
Nico
6 years, 4 months ago (2014-08-03 05:56:03 UTC) #24
Message was sent while issue was closed.
https://codereview.chromium.org/402723002/diff/140001/chrome/common/terminate...
File chrome/common/terminate_on_heap_corruption_experiment_win.cc (right):

https://codereview.chromium.org/402723002/diff/140001/chrome/common/terminate...
chrome/common/terminate_on_heap_corruption_experiment_win.cc:42: return
L"SOFTWARE\\" PRODUCT_STRING_PATH
..\..\chrome\common\terminate_on_heap_corruption_experiment_win.cc(42,12) : 
warning(clang): ISO C++11 does not allow conversion from string literal to
'wchar_t *' [-Wwritable-strings]
    return L"SOFTWARE\\" PRODUCT_STRING_PATH
           ^
..\..\chrome\common\terminate_on_heap_corruption_experiment_win.cc(45,10) : 
warning(clang): ISO C++11 does not allow conversion from string literal to
'wchar_t *' [-Wwritable-strings]
  return L"SOFTWARE\\" PRODUCT_STRING_PATH
         ^


Can you make this return a const wchar_t*?

Powered by Google App Engine
This is Rietveld 408576698