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

Issue 333813004: Oilpan: Make MediaControllers ExecutionContext a weak pointer. (Closed)

Created:
6 years, 6 months ago by zerny-chromium
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, nessy, vcarbune.chromium, oilpan-reviews
Project:
blink
Visibility:
Public.

Description

Oilpan: Make MediaControllers ExecutionContext a weak pointer. Cause of a flaky ASAN use-after-poison in media/video-frame-accurate-seek.html R=ager@chromium.org, haraken@chromium.org BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176111

Patch Set 1 #

Patch Set 2 : nullptr #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M Source/core/html/HTMLMediaElement.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/html/MediaController.h View 1 2 chunks +4 lines, -2 lines 2 comments Download
M Source/core/html/MediaController.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
zerny-chromium
6 years, 6 months ago (2014-06-13 11:50:18 UTC) #1
Mads Ager (chromium)
LGTM!
6 years, 6 months ago (2014-06-13 11:53:18 UTC) #2
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 6 months ago (2014-06-13 11:54:09 UTC) #3
wibling-chromium
lgtm
6 years, 6 months ago (2014-06-13 11:54:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/333813004/1
6 years, 6 months ago (2014-06-13 11:54:45 UTC) #5
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 6 months ago (2014-06-13 12:16:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/333813004/20001
6 years, 6 months ago (2014-06-13 12:16:52 UTC) #7
commit-bot: I haz the power
Change committed as 176111
6 years, 6 months ago (2014-06-13 13:20:32 UTC) #8
haraken
https://codereview.chromium.org/333813004/diff/20001/Source/core/html/MediaController.h File Source/core/html/MediaController.h (right): https://codereview.chromium.org/333813004/diff/20001/Source/core/html/MediaController.h#newcode129 Source/core/html/MediaController.h:129: RawPtrWillBeWeakMember<ExecutionContext> m_executionContext; Who uses this m_executionContext? Probably can we ...
6 years, 6 months ago (2014-06-13 13:23:15 UTC) #9
zerny-chromium
https://codereview.chromium.org/333813004/diff/20001/Source/core/html/MediaController.h File Source/core/html/MediaController.h (right): https://codereview.chromium.org/333813004/diff/20001/Source/core/html/MediaController.h#newcode129 Source/core/html/MediaController.h:129: RawPtrWillBeWeakMember<ExecutionContext> m_executionContext; On 2014/06/13 13:23:14, haraken wrote: > > ...
6 years, 6 months ago (2014-06-16 10:27:21 UTC) #10
haraken
On 2014/06/16 10:27:21, zerny-chromium wrote: > https://codereview.chromium.org/333813004/diff/20001/Source/core/html/MediaController.h > File Source/core/html/MediaController.h (right): > > https://codereview.chromium.org/333813004/diff/20001/Source/core/html/MediaController.h#newcode129 > ...
6 years, 6 months ago (2014-06-16 10:39:47 UTC) #11
sof
Looks like we've picked up some crashes overnight, breaking when marking one of these weak ...
6 years, 6 months ago (2014-06-18 06:54:27 UTC) #12
sof
On 2014/06/18 06:54:27, sof wrote: > Looks like we've picked up some crashes overnight, breaking ...
6 years, 6 months ago (2014-06-18 09:11:27 UTC) #13
Mads Ager (chromium)
On Wed, Jun 18, 2014 at 11:11 AM, <sigbjornf@opera.com> wrote: > On 2014/06/18 06:54:27, sof ...
6 years, 6 months ago (2014-06-18 09:13:59 UTC) #14
sof
On 2014/06/18 09:13:59, Mads Ager (chromium) wrote: > On Wed, Jun 18, 2014 at 11:11 ...
6 years, 6 months ago (2014-06-18 09:48:10 UTC) #15
sof
On 2014/06/18 09:48:10, sof wrote: > On 2014/06/18 09:13:59, Mads Ager (chromium) wrote: > > ...
6 years, 6 months ago (2014-06-18 12:31:03 UTC) #16
sof
6 years, 6 months ago (2014-06-18 13:07:32 UTC) #17
Message was sent while issue was closed.
On 2014/06/18 12:31:03, sof wrote:
> On 2014/06/18 09:48:10, sof wrote:
> > On 2014/06/18 09:13:59, Mads Ager (chromium) wrote:
> > > On Wed, Jun 18, 2014 at 11:11 AM, <mailto:sigbjornf@opera.com> wrote:
> > > 
> > > > On 2014/06/18 06:54:27, sof wrote:
> > > >
> > > >> Looks like we've picked up some crashes overnight, breaking when
marking
> > > >> one
> > > >>
> > > > of
> > > >
> > > >> these weak ExecutionContexts --
> > > >>
> > > >
> > > >
> > > >
> > > > https://storage.googleapis.com/chromium-layout-test-
> > > > archives/WebKit_Win_Oilpan__dbg_/2140/layout-test-results/
> > > > media/media-controller-playback-crash-log.txt
> > > >
> > > >  Not directly due to this CL; trying to determine the cause.
> > > >>
> > > >
> > > > Interesting,
> > > >
> > > >
> > > > https://chromium.googlesource.com/chromium/blink/+/
> > > > 9e459ed89e74951deb3b797edd8732617bd98ae1
> > > >
> > > > I have as introducing these crashes.
> > > >
> > > 
> > > That is interesting. Do they disappear if you add back the Document.h
> > > include? We are relying pretty heavily on traits and that means that we
> > > sometimes need to have various types and trait specializations available
to
> > > do the right thing. I wonder if something like that is tripping us up
here.
> > > 
> > 
> > Yes, it does disappear. Thought first it was an unexpected interaction with
a
> > recent HTMLMediaElement::executionContext() change somehow, but no.
> > 
> > I will try to (slowly) compile down the cause of that, but the rule of not
> > relying on Handle.h to somehow be in scope perhaps needs re-consideration?
> 
> Update: Element.h needs to #include ExecutionContext.h (I suspect it is Node.h
> that needs it, but not verified.) Exact reasons why remains unknown.

( https://codereview.chromium.org/344443008/ handles this. )

Powered by Google App Engine
This is Rietveld 408576698