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

Issue 2464853002: Add crash keys to TaskQueueManager::ProcessTaskFromWorkQueue (Closed)

Created:
4 years, 1 month ago by alex clarke (OOO till 29th)
Modified:
4 years, 1 month ago
CC:
chromium-reviews, blink-reviews, scheduler-bugs_chromium.org, altimin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add crash keys to TaskQueueManager::ProcessTaskFromWorkQueue We suspect a bad task closure is getting posted and would like to add crash keys to aid diagnosis. BUG=660427, 661927 Committed: https://crrev.com/c08c078b27b353f4ab8de7deccfb862270b1ff2a Cr-Commit-Position: refs/heads/master@{#429285}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed compile and changed the other files too. #

Total comments: 2

Patch Set 3 : Change for Sami #

Patch Set 4 : Fix compile #

Patch Set 5 : Try and fix crashes on mac & windows tests. #

Patch Set 6 : Maybe nested tasks are the problem? #

Patch Set 7 : Only set crash keys for TQMs on the main thread #

Patch Set 8 : Fix test UAF #

Total comments: 2

Patch Set 9 : Added missing periods #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -6 lines) Patch
M blimp/engine/app/blimp_engine_crash_keys.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/app/chrome_crash_reporter_client_win.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/crash_keys.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc View 1 2 3 4 5 6 7 5 chunks +27 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 57 (43 generated)
alex clarke (OOO till 29th)
Please take a look.
4 years, 1 month ago (2016-10-31 13:11:28 UTC) #2
Robert Sesek
https://codereview.chromium.org/2464853002/diff/1/chrome/common/crash_keys.cc File chrome/common/crash_keys.cc (left): https://codereview.chromium.org/2464853002/diff/1/chrome/common/crash_keys.cc#oldcode105 chrome/common/crash_keys.cc:105: { kMetricsClientId, kSmallSize }, Please leave this formatted as-is. ...
4 years, 1 month ago (2016-10-31 14:32:32 UTC) #7
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/2464853002/diff/1/chrome/common/crash_keys.cc File chrome/common/crash_keys.cc (left): https://codereview.chromium.org/2464853002/diff/1/chrome/common/crash_keys.cc#oldcode105 chrome/common/crash_keys.cc:105: { kMetricsClientId, kSmallSize }, On 2016/10/31 14:32:32, Robert ...
4 years, 1 month ago (2016-10-31 15:51:10 UTC) #8
alex clarke (OOO till 29th)
ananta@chromium.org: Please review changes in chrome_crash_reporter_client_win.cc
4 years, 1 month ago (2016-10-31 15:51:58 UTC) #10
Sami
scheduler/ lgtm. https://codereview.chromium.org/2464853002/diff/20001/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc File third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc (right): https://codereview.chromium.org/2464853002/diff/20001/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc#newcode321 third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc:321: CHECK(!pending_task.task.is_null()) << "Posted from " Could you ...
4 years, 1 month ago (2016-10-31 16:01:53 UTC) #11
Robert Sesek
LGTM
4 years, 1 month ago (2016-10-31 16:45:49 UTC) #18
alex clarke (OOO till 29th)
+scottmg@ https://codereview.chromium.org/2464853002/diff/20001/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc File third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc (right): https://codereview.chromium.org/2464853002/diff/20001/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc#newcode321 third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc:321: CHECK(!pending_task.task.is_null()) << "Posted from " On 2016/10/31 16:01:53, ...
4 years, 1 month ago (2016-11-01 21:55:22 UTC) #46
scottmg
chrome/app/chrome_crash_reporter_client_win.cc lgtm (please say what file you want an owner to look at when +'d ...
4 years, 1 month ago (2016-11-01 21:58:57 UTC) #47
alex clarke (OOO till 29th)
On 2016/11/01 21:58:57, scottmg wrote: > chrome/app/chrome_crash_reporter_client_win.cc lgtm > > (please say what file you ...
4 years, 1 month ago (2016-11-02 13:41:25 UTC) #48
alex clarke (OOO till 29th)
https://codereview.chromium.org/2464853002/diff/180001/chrome/app/chrome_crash_reporter_client_win.cc File chrome/app/chrome_crash_reporter_client_win.cc (right): https://codereview.chromium.org/2464853002/diff/180001/chrome/app/chrome_crash_reporter_client_win.cc#newcode199 chrome/app/chrome_crash_reporter_client_win.cc:199: // Temporary for https://crbug.com/660427 On 2016/11/01 21:58:57, scottmg wrote: ...
4 years, 1 month ago (2016-11-02 13:41:36 UTC) #49
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/2464853002/200001
4 years, 1 month ago (2016-11-02 13:42:04 UTC) #52
commit-bot: I haz the power
Committed patchset #9 (id:200001)
4 years, 1 month ago (2016-11-02 15:47:45 UTC) #53
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/c08c078b27b353f4ab8de7deccfb862270b1ff2a Cr-Commit-Position: refs/heads/master@{#429285}
4 years, 1 month ago (2016-11-02 15:50:36 UTC) #55
alex clarke (OOO till 29th)
4 years, 1 month ago (2016-11-11 10:32:33 UTC) #57
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:200001) has been created in
https://codereview.chromium.org/2486673007/ by alexclarke@chromium.org.

The reason for reverting is: Long term I'd like to reland this, after the perf
regression has been sorted out. Data from this helped fix a number of bugs.

https://bugs.chromium.org/p/chromium/issues/detail?id=661927&can=8&q=24648530...

.

Powered by Google App Engine
This is Rietveld 408576698