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

Issue 1962623005: More instrumentation to diagnose an Android renderer crash. (Closed)

Created:
4 years, 7 months ago by Alexei Svitkine (slow)
Modified:
4 years, 7 months ago
Reviewers:
Nico, Will Harris
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

More instrumentation to diagnose an Android renderer crash. We've not observed the instrumentation to detect inconsistent command-line vs. IPC trial states sent from the FieldTrialList detecting any issues. One of my next hypothesis on the bug is something is going to cause us lose both this state and the field trial session randomized trial dice roll state. For example, this would happen if there was an exec() call. To diagnose this, this CL is adding a unique debug token that is generated during FieldTrialList construction. This is then tested on the renderer side from OnSetFieldTrialGroup() to ensure the token is always the same and is also the same as the one that was used to generate the --force-fieldtrials= command-line. BUG=359406 Committed: https://crrev.com/aebd42bdab9a59b96e1843c2e9a443e78bd3b2b6 Cr-Commit-Position: refs/heads/master@{#392484}

Patch Set 1 : #

Patch Set 2 : Fix base_unittests #

Total comments: 2

Patch Set 3 : Fix typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -6 lines) Patch
M base/metrics/field_trial.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M base/metrics/field_trial.cc View 1 5 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/metrics/field_trial_synchronizer.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/render_messages.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_render_thread_observer.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_thread_observer.cc View 3 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 29 (16 generated)
Alexei Svitkine (slow)
4 years, 7 months ago (2016-05-09 20:02:55 UTC) #9
Alexei Svitkine (slow)
Looking at the base unit test failures.
4 years, 7 months ago (2016-05-09 20:41:02 UTC) #10
Alexei Svitkine (slow)
Okay, base_unnittests should be fixed. +Will for IPC security review (render_messages.h OWNERS) Thanks!
4 years, 7 months ago (2016-05-09 20:45:45 UTC) #12
Alexei Svitkine (slow)
+Will for IPC security review (render_messages.h OWNERS) for real this time
4 years, 7 months ago (2016-05-09 20:47:12 UTC) #14
Nico
lgtm https://codereview.chromium.org/1962623005/diff/120001/base/metrics/field_trial.h File base/metrics/field_trial.h (right): https://codereview.chromium.org/1962623005/diff/120001/base/metrics/field_trial.h#newcode361 base/metrics/field_trial.h:361: // consistent between renderer process invocation. invocationS?
4 years, 7 months ago (2016-05-09 20:48:12 UTC) #15
Alexei Svitkine (slow)
Thanks! https://codereview.chromium.org/1962623005/diff/120001/base/metrics/field_trial.h File base/metrics/field_trial.h (right): https://codereview.chromium.org/1962623005/diff/120001/base/metrics/field_trial.h#newcode361 base/metrics/field_trial.h:361: // consistent between renderer process invocation. On 2016/05/09 ...
4 years, 7 months ago (2016-05-09 20:50:40 UTC) #16
Will Harris
chrome/common/render_messages.h lgtm. how many crashes from this are you expecting...? :S
4 years, 7 months ago (2016-05-09 21:17:32 UTC) #17
Alexei Svitkine (slow)
On 2016/05/09 21:17:32, Will Harris wrote: > chrome/common/render_messages.h lgtm. how many crashes from this are ...
4 years, 7 months ago (2016-05-09 21:26:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1962623005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1962623005/140001
4 years, 7 months ago (2016-05-09 21:27:25 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/218540)
4 years, 7 months ago (2016-05-09 23:02:32 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1962623005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1962623005/140001
4 years, 7 months ago (2016-05-09 23:25:47 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:140001)
4 years, 7 months ago (2016-05-10 00:15:28 UTC) #27
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 00:16:37 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/aebd42bdab9a59b96e1843c2e9a443e78bd3b2b6
Cr-Commit-Position: refs/heads/master@{#392484}

Powered by Google App Engine
This is Rietveld 408576698