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

Issue 2815573002: CHECK tasks posted by TaskRunner::PostTask (Closed)

Created:
3 years, 8 months ago by tzik
Modified:
3 years, 8 months ago
Reviewers:
kinuko, gab, Sami, sky
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, sadrul, vmpstr+watch_chromium.org, robliao+watch_chromium.org, jam, fdoray+watch_chromium.org, darin-cc_chromium.org, blink-reviews, gab+watch_chromium.org, danakj+watch_chromium.org, scheduler-bugs_chromium.org, kinuko+watch, blink-worker-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

CHECK tasks posted by TaskRunner::PostTask This CL is a reraise of http://crrev.com/2785943004 PS4. A null callback posted to PostTask family eventually causes a null pointer access crash. And its crash report doesn't indicate the culprit directly without looking into the local variable of the minidump. After this CL, the crash happens earlier and the crash report will have meaningful trace. BUG=711167, 709149 Review-Url: https://codereview.chromium.org/2815573002 Cr-Commit-Position: refs/heads/master@{#464333} Committed: https://chromium.googlesource.com/chromium/src/+/498d42bc7c665044b713fc9cbc86b459d58f0b50

Patch Set 1 #

Patch Set 2 : +comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -12 lines) Patch
M base/deferred_sequenced_task_runner.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M base/message_loop/incoming_task_queue.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M base/task_scheduler/delayed_task_manager.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M base/task_scheduler/scheduler_worker_pool_impl.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M base/task_scheduler/sequence.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M base/threading/sequenced_worker_pool.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M base/threading/worker_pool_posix.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M base/threading/worker_pool_win.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/after_startup_task_utils.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M content/renderer/categorized_worker_pool.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
tzik
This is a reraise of the previous DCHECK addition last week. As that crash happens ...
3 years, 8 months ago (2017-04-11 05:45:15 UTC) #7
kinuko
On 2017/04/11 05:45:15, tzik wrote: > This is a reraise of the previous DCHECK addition ...
3 years, 8 months ago (2017-04-11 14:26:04 UTC) #10
sky
LGTM
3 years, 8 months ago (2017-04-11 17:20:32 UTC) #11
sky
Could you also add a pointer to the bug where you are adding CHECKs so ...
3 years, 8 months ago (2017-04-11 17:21:00 UTC) #12
Sami
lgtm.
3 years, 8 months ago (2017-04-11 17:23:21 UTC) #13
kinuko
On 2017/04/11 17:21:00, sky wrote: > Could you also add a pointer to the bug ...
3 years, 8 months ago (2017-04-12 08:31:13 UTC) #14
gab
On 2017/04/12 08:31:13, kinuko wrote: > On 2017/04/11 17:21:00, sky wrote: > > Could you ...
3 years, 8 months ago (2017-04-12 18:49:29 UTC) #15
tzik
On 2017/04/12 18:49:29, gab wrote: > On 2017/04/12 08:31:13, kinuko wrote: > > On 2017/04/11 ...
3 years, 8 months ago (2017-04-13 06:05:31 UTC) #17
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/2815573002/20001
3 years, 8 months ago (2017-04-13 06:05:56 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 07:44:05 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/498d42bc7c665044b713fc9cbc86...

Powered by Google App Engine
This is Rietveld 408576698