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

Issue 1421373007: Remove unwanted eager finalization of some mediastream objects. (Closed)

Created:
5 years, 1 month ago by sof
Modified:
5 years, 1 month ago
CC:
chromium-reviews, blink-reviews, tommyw+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unwanted eager finalization of some mediastream objects. Adjust the use of EAGERLY_FINALIZE() for mediastream objects: - MediaStreamComponent will be eagerly finalized and notify its MediaStreamTrack observers. Consequently, MediaStreamTrack cannot and need not be eagerly finalized. - MediaStream no longer need to eagerly unregister as a client from its MediaStreamDescriptor member. Not doing so results in mutual dependencies between finalizers run by eagerly finalized objects, causing use-after-frees. R=haraken BUG=496535 Committed: https://crrev.com/32d0f75fd0961f4889eee472f8d80f57d1cb11c3 Cr-Commit-Position: refs/heads/master@{#358062}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -4 lines) Patch
M third_party/WebKit/Source/modules/mediastream/MediaStream.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.h View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421373007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421373007/1
5 years, 1 month ago (2015-11-04 15:56:50 UTC) #2
sof
please take a look. Addressing the flaky crashers https://storage.googleapis.com/chromium-layout-test-archives/WebKit_Linux_Oilpan_ASAN/4991/layout-test-results/results.html I suspect it might address crbug.com/541338 ...
5 years, 1 month ago (2015-11-04 16:04:02 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-04 17:33:19 UTC) #7
peria
The crash of crbug.com/541338 happens in https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/modules/mediastream/MediaStream.cpp&l=290 so we have to consider the dtor of ...
5 years, 1 month ago (2015-11-04 23:47:04 UTC) #10
haraken
On 2015/11/04 23:47:04, peria wrote: > The crash of crbug.com/541338 happens in > https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/modules/mediastream/MediaStream.cpp&l=290 > ...
5 years, 1 month ago (2015-11-05 00:07:51 UTC) #11
sof
On 2015/11/05 00:07:51, haraken wrote: > On 2015/11/04 23:47:04, peria wrote: > > The crash ...
5 years, 1 month ago (2015-11-05 06:40:59 UTC) #12
haraken
On 2015/11/05 06:40:59, sof wrote: > On 2015/11/05 00:07:51, haraken wrote: > > On 2015/11/04 ...
5 years, 1 month ago (2015-11-05 09:32:14 UTC) #13
sof
On 2015/11/05 09:32:14, haraken wrote: > On 2015/11/05 06:40:59, sof wrote: > > On 2015/11/05 ...
5 years, 1 month ago (2015-11-05 15:51:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421373007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421373007/1
5 years, 1 month ago (2015-11-05 15:51:44 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 1 month ago (2015-11-05 15:56:31 UTC) #18
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 15:57:06 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/32d0f75fd0961f4889eee472f8d80f57d1cb11c3
Cr-Commit-Position: refs/heads/master@{#358062}

Powered by Google App Engine
This is Rietveld 408576698