|
|
Description[bgmode] Log the unpin stack trace to Crash Keys
BUG=625646
Committed: https://crrev.com/24c2c8cda1e14b7523b6fb841bec1e810633a26e
Cr-Commit-Position: refs/heads/master@{#439176}
Patch Set 1 #
Total comments: 6
Patch Set 2 : register the key #Patch Set 3 : #
Messages
Total messages: 34 (21 generated)
dgn@chromium.org changed reviewers: + bauerb@chromium.org
PTAL
lgtm
The CQ bit was checked by dgn@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
dgn@chromium.org changed reviewers: + sky@chromium.org
sky@: PTAL. This should allow us to get more info while tracking the crashes.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
sky@chromium.org changed reviewers: + eroman@chromium.org
+eroman as he knows more about crashes than I. From my perspective, LGTM https://codereview.chromium.org/2569953003/diff/1/chrome/common/crash_keys.cc File chrome/common/crash_keys.cc (right): https://codereview.chromium.org/2569953003/diff/1/chrome/common/crash_keys.cc... chrome/common/crash_keys.cc:36: const char kBrowserUnpinTrace[] = "browser-unpin-trace"; keep sorted?
https://codereview.chromium.org/2569953003/diff/1/chrome/browser/browser_proc... File chrome/browser/browser_process_impl.cc (right): https://codereview.chromium.org/2569953003/diff/1/chrome/browser/browser_proc... chrome/browser/browser_process_impl.cc:1318: base::debug::SetCrashKeyToStackTrace(crash_keys::kBrowserUnpinTrace, Have you tested that this works? I am pretty sure crash keys are not dynamic -- you need to register them in advance (see RegisterChromeCrashKeys()). https://codereview.chromium.org/2569953003/diff/1/chrome/browser/browser_proc... chrome/browser/browser_process_impl.cc:1320: CHECK(false); I imagine there should be something like: // TODO(crbug.com/625646): Temporary instrumentation
The CQ bit was checked by dgn@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by dgn@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
PTAL https://codereview.chromium.org/2569953003/diff/1/chrome/browser/browser_proc... File chrome/browser/browser_process_impl.cc (right): https://codereview.chromium.org/2569953003/diff/1/chrome/browser/browser_proc... chrome/browser/browser_process_impl.cc:1318: base::debug::SetCrashKeyToStackTrace(crash_keys::kBrowserUnpinTrace, On 2016/12/14 20:40:24, eroman (slow) wrote: > Have you tested that this works? > > I am pretty sure crash keys are not dynamic -- you need to register them in > advance (see RegisterChromeCrashKeys()). Thanks! Sadly we don't have a reliable repro for the bug and because of the CHECK/crash below it's not testable. So I'm not sure how to exercise that path. https://codereview.chromium.org/2569953003/diff/1/chrome/browser/browser_proc... chrome/browser/browser_process_impl.cc:1320: CHECK(false); On 2016/12/14 20:40:24, eroman (slow) wrote: > I imagine there should be something like: > > // TODO(crbug.com/625646): Temporary instrumentation Not sure if temporary... you added that almost 5 years ago :) https://codereview.chromium.org/9375037
dgn@chromium.org changed reviewers: + rsesek@chromium.org
rsesek@chromium.org: PTAL, I added a crash key and had to also put it in //blimp
LGTM
lgtm https://codereview.chromium.org/2569953003/diff/1/chrome/browser/browser_proc... File chrome/browser/browser_process_impl.cc (right): https://codereview.chromium.org/2569953003/diff/1/chrome/browser/browser_proc... chrome/browser/browser_process_impl.cc:1320: CHECK(false); On 2016/12/16 19:10:42, dgn wrote: > On 2016/12/14 20:40:24, eroman (slow) wrote: > > I imagine there should be something like: > > > > // TODO(crbug.com/625646): Temporary instrumentation > > Not sure if temporary... you added that almost 5 years ago :) > https://codereview.chromium.org/9375037 Heh, nothing quite as durable as a "temporary" hack :)
Thanks! :)
The CQ bit was checked by dgn@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from bauerb@chromium.org, sky@chromium.org Link to the patchset: https://codereview.chromium.org/2569953003/#ps40001 (title: " ")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1481918108427760, "parent_rev": "bbaaaee06199cca51ad294298080b625bf50f793", "commit_rev": "1178a92f065b9791b6a4ce9689da2b960567c7b6"}
Message was sent while issue was closed.
Description was changed from ========== [bgmode] Log the unpin stack trace to Crash Keys BUG=625646 ========== to ========== [bgmode] Log the unpin stack trace to Crash Keys BUG=625646 Review-Url: https://codereview.chromium.org/2569953003 ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== [bgmode] Log the unpin stack trace to Crash Keys BUG=625646 Review-Url: https://codereview.chromium.org/2569953003 ========== to ========== [bgmode] Log the unpin stack trace to Crash Keys BUG=625646 Committed: https://crrev.com/24c2c8cda1e14b7523b6fb841bec1e810633a26e Cr-Commit-Position: refs/heads/master@{#439176} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/24c2c8cda1e14b7523b6fb841bec1e810633a26e Cr-Commit-Position: refs/heads/master@{#439176} |