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

Issue 1810503002: Handle brokered attachment race condition (Closed)

Created:
4 years, 9 months ago by allan.jensen
Modified:
4 years, 9 months ago
Reviewers:
Tom Sepez, erikchen
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle brokered attachment race condition In rare cases on OS X with in-process-gpu and zero-copy disabled, rendering deadlocks can be triggered when a brokered attachment arrives before the channel reader registers itself as an observer of the attachment broker. This patch simply replays unhandled attachment for new observers, giving them a chance at handling attachments received before they registered. This is safe since attachments already have unique ids. BUG=584201 R=erikchen@chromium.org Committed: https://crrev.com/86a4aa122cb547bf882bcb197c2cd8f4e2852c9d Cr-Commit-Position: refs/heads/master@{#381691}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M ipc/attachment_broker.cc View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
allan.jensen
4 years, 9 months ago (2016-03-16 11:20:18 UTC) #1
erikchen
lgtm +tsepez for OWNER review.
4 years, 9 months ago (2016-03-16 17:48:18 UTC) #3
Tom Sepez
lgtm
4 years, 9 months ago (2016-03-16 18:38:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1810503002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1810503002/1
4 years, 9 months ago (2016-03-17 09:53:43 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-17 11:17:46 UTC) #7
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 11:19:21 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/86a4aa122cb547bf882bcb197c2cd8f4e2852c9d
Cr-Commit-Position: refs/heads/master@{#381691}

Powered by Google App Engine
This is Rietveld 408576698