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

Issue 1674843002: Remove a lame assertion from one_copy_tile_task_worker_pool.cc. (Closed)

Created:
4 years, 10 months ago by ncarter (slow)
Modified:
4 years, 10 months ago
Reviewers:
danakj, reveman, ericrk
CC:
reveman, cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove a lame assertion from one_copy_tile_task_worker_pool.cc. This assertion was crashing in practice during renderer shutdown, when SiteDetailsBrowserTest was run under --site-per-process. The crash occurs if the allocation fails. There seems to be an identical assertion a couple lines below, that is correctly guarded against a null pointer. BUG=None TEST=browser_tests CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/5510c5b383ec6ffb22ae30a9a0fc4ead5a106a4f Cr-Commit-Position: refs/heads/master@{#373954}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -3 lines) Patch
M cc/raster/one_copy_tile_task_worker_pool.cc View 1 chunk +0 lines, -3 lines 2 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (8 generated)
ncarter (slow)
danakj: Please review https://codereview.chromium.org/1674843002/diff/1/cc/raster/one_copy_tile_task_worker_pool.cc File cc/raster/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1674843002/diff/1/cc/raster/one_copy_tile_task_worker_pool.cc#newcode356 cc/raster/one_copy_tile_task_worker_pool.cc:356: DCHECK_EQ(1u, gfx::NumberOfPlanesForBufferFormat(buffer->GetFormat())); This assertion is the ...
4 years, 10 months ago (2016-02-05 22:05:29 UTC) #3
danakj
=>ericrk
4 years, 10 months ago (2016-02-05 22:06:37 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1674843002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1674843002/1
4 years, 10 months ago (2016-02-05 22:07:15 UTC) #7
ericrk
lgtm Your change looks good to me. CCing Reveman in case he has thoughts on ...
4 years, 10 months ago (2016-02-05 23:30:42 UTC) #8
ericrk
lgtm Your change looks good to me. CCing Reveman in case he has thoughts on ...
4 years, 10 months ago (2016-02-05 23:30:45 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-05 23:37:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1674843002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1674843002/1
4 years, 10 months ago (2016-02-05 23:41:00 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-05 23:51:45 UTC) #14
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/5510c5b383ec6ffb22ae30a9a0fc4ead5a106a4f Cr-Commit-Position: refs/heads/master@{#373954}
4 years, 10 months ago (2016-02-05 23:53:55 UTC) #16
reveman
4 years, 10 months ago (2016-02-06 00:11:45 UTC) #18
Message was sent while issue was closed.
lgtm

but can you open a bug with exact details for how you were able to reproduce
this issue? Allocations used to be able to fail when the gpu process crashed but
that has changed and allocations should never fail anymore. I'd like to make GMB
allocation failure fatal and being able to reproduce this shutdown issue will
help enormously.

Powered by Google App Engine
This is Rietveld 408576698