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

Issue 1486873002: Mac: Require child AllocateGpuMemoryBuffer to not fail (Closed)

Created:
5 years ago by ccameron
Modified:
5 years ago
CC:
chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, sievers+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: Require child AllocateGpuMemoryBuffer to not fail It is already the case that this will cause a crash in the renderer process when it dereferences the GpuMemoryBuffer. Move this higher up the stack. BUG=561672 Committed: https://crrev.com/d34a0fd2b9080114bd22ad148f8e37da2b3a24f1 Cr-Commit-Position: refs/heads/master@{#363222}

Patch Set 1 #

Patch Set 2 : Add GPU proc as well #

Total comments: 7

Patch Set 3 : Just crash ChildGpuMemoryBufferManager::AllocateGpuMemoryBuffer #

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

Messages

Total messages: 20 (6 generated)
ccameron
This will take down renderer processes on failure. If we truly believe that GMB allocation ...
5 years ago (2015-12-01 00:38:15 UTC) #2
reveman
https://codereview.chromium.org/1486873002/diff/20001/content/child/child_gpu_memory_buffer_manager.cc File content/child/child_gpu_memory_buffer_manager.cc (right): https://codereview.chromium.org/1486873002/diff/20001/content/child/child_gpu_memory_buffer_manager.cc#newcode49 content/child/child_gpu_memory_buffer_manager.cc:49: CHECK(!handle.is_null()); It would be useful to know what arguments ...
5 years ago (2015-12-01 20:49:04 UTC) #3
ccameron
I feel that we are going around in circles here. On 2015/12/01 20:49:04, reveman wrote: ...
5 years ago (2015-12-01 21:18:34 UTC) #4
reveman
On 2015/12/01 at 21:18:34, ccameron wrote: > I feel that we are going around in ...
5 years ago (2015-12-02 00:18:49 UTC) #5
Robert Sesek
Drive-by from the peanut gallery. On 2015/12/02 00:18:49, reveman wrote: > > Also, to take ...
5 years ago (2015-12-02 19:49:22 UTC) #6
ccameron
I've updated the patch to just CHECK inside ChildGpuMemoryBufferManager::AllocateGpuMemoryBuffer on failure. PTAL. I suspect that ...
5 years ago (2015-12-04 01:12:21 UTC) #7
reveman
lgtm with nit On 2015/12/04 at 01:12:21, ccameron wrote: > I've updated the patch to ...
5 years ago (2015-12-04 01:47:04 UTC) #8
ccameron
Thanks! Adding avi@ for content/ OWNERship. https://codereview.chromium.org/1486873002/diff/40001/content/child/child_gpu_memory_buffer_manager.cc File content/child/child_gpu_memory_buffer_manager.cc (right): https://codereview.chromium.org/1486873002/diff/40001/content/child/child_gpu_memory_buffer_manager.cc#newcode54 content/child/child_gpu_memory_buffer_manager.cc:54: CHECK(buffer); On 2015/12/04 ...
5 years ago (2015-12-04 02:36:20 UTC) #11
Avi (use Gerrit)
lgtm ok
5 years ago (2015-12-04 15:22:38 UTC) #12
ccameron
Thanks!
5 years ago (2015-12-04 15:23:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486873002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486873002/40001
5 years ago (2015-12-04 15:24:25 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-04 16:26:15 UTC) #17
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/d34a0fd2b9080114bd22ad148f8e37da2b3a24f1 Cr-Commit-Position: refs/heads/master@{#363222}
5 years ago (2015-12-04 16:27:22 UTC) #19
ccameron
5 years ago (2015-12-08 00:54:07 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1507893004/ by ccameron@chromium.org.

The reason for reverting is: Causing lots of crashes..

Powered by Google App Engine
This is Rietveld 408576698