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

Issue 2525213002: Mus: Avoid deadlock during teardown (Closed)

Created:
4 years ago by Fady Samuel
Modified:
4 years ago
Reviewers:
kolos1, sadrul, sky, nhiroki
CC:
chromium-reviews, rjkroege, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mus: Avoid deadlock during teardown The display compositor blocks on the gpu thread to tear down. If GpuServiceInternal tears down before display compositor has a chance to tear down then Mus may crash during tear down or deadlock waiting for a task to execute that never will. BUG=668105 TBR=sadrul@chromium.org, sky@chromium.org NOTRY=true NOPRESUBMIT=true Committed: https://crrev.com/5059e49d0a21c1c311653c1613de16b27aefc963 Cr-Commit-Position: refs/heads/master@{#434310}

Patch Set 1 #

Patch Set 2 : Don't call DestroyDisplayCompositor during GpuServiceInternal destruction #

Total comments: 2

Patch Set 3 : Address Sadrul's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -24 lines) Patch
M services/ui/gpu/gpu_main.h View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M services/ui/gpu/gpu_main.cc View 1 2 5 chunks +26 lines, -4 lines 0 comments Download
M services/ui/gpu/gpu_service_internal.h View 3 chunks +12 lines, -5 lines 0 comments Download
M services/ui/gpu/gpu_service_internal.cc View 1 4 chunks +26 lines, -12 lines 0 comments Download
M services/ui/surfaces/display_compositor.h View 4 chunks +5 lines, -1 line 0 comments Download
M services/ui/surfaces/display_compositor.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 44 (25 generated)
Fady Samuel
I'm TBR'ing you both since this is causing a bunch of bot flake and I ...
4 years ago (2016-11-24 04:52:14 UTC) #3
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/2525213002/20001
4 years ago (2016-11-24 04:56:32 UTC) #7
sadrul
https://codereview.chromium.org/2525213002/diff/20001/services/ui/gpu/gpu_main.cc File services/ui/gpu/gpu_main.cc (right): https://codereview.chromium.org/2525213002/diff/20001/services/ui/gpu/gpu_main.cc#newcode132 services/ui/gpu/gpu_main.cc:132: gpu_service_internal_->DestroyDisplayCompositor(); It is possible to be here without having ...
4 years ago (2016-11-24 05:07:17 UTC) #8
Fady Samuel
PTAL https://codereview.chromium.org/2525213002/diff/20001/services/ui/gpu/gpu_main.cc File services/ui/gpu/gpu_main.cc (right): https://codereview.chromium.org/2525213002/diff/20001/services/ui/gpu/gpu_main.cc#newcode132 services/ui/gpu/gpu_main.cc:132: gpu_service_internal_->DestroyDisplayCompositor(); On 2016/11/24 05:07:17, sadrul wrote: > It ...
4 years ago (2016-11-24 05:21:55 UTC) #10
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/2525213002/40001
4 years ago (2016-11-24 05:22:25 UTC) #12
sadrul
On 2016/11/24 05:21:55, Fady Samuel wrote: > PTAL > > https://codereview.chromium.org/2525213002/diff/20001/services/ui/gpu/gpu_main.cc > File services/ui/gpu/gpu_main.cc (right): ...
4 years ago (2016-11-24 07:07:20 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
4 years ago (2016-11-24 07:23:12 UTC) #15
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/2525213002/40001
4 years ago (2016-11-24 08:03:17 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-24 08:39:22 UTC) #19
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/2525213002/40001
4 years ago (2016-11-24 08:42:12 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-24 08:42:33 UTC) #23
nhiroki
On 2016/11/24 08:42:33, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years ago (2016-11-24 09:34:51 UTC) #26
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/2525213002/40001
4 years ago (2016-11-24 09:35:42 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-24 10:04:14 UTC) #31
nhiroki
On 2016/11/24 10:04:14, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years ago (2016-11-24 10:08:50 UTC) #32
kolos1
On 2016/11/24 10:08:50, nhiroki (slow-sheriff) wrote: > On 2016/11/24 10:04:14, commit-bot: I haz the power ...
4 years ago (2016-11-24 10:19:42 UTC) #33
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/2525213002/40001
4 years ago (2016-11-24 10:25:41 UTC) #36
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-24 10:28:39 UTC) #42
commit-bot: I haz the power
4 years ago (2016-11-24 10:30:18 UTC) #44
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5059e49d0a21c1c311653c1613de16b27aefc963
Cr-Commit-Position: refs/heads/master@{#434310}

Powered by Google App Engine
This is Rietveld 408576698