[Webkit-unassigned] [Bug 164928] [GStreamer] Crash in WebCore::HTMLMediaElement::removeAudioTrack

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 20 10:26:01 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=164928

--- Comment #6 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to Philippe Normand from comment #5)
> Looking at the stack-trace in the downstream bug, it refers to code that was
> removed in bug 137552 ... So I'll close this issue because the crash should
> no longer happen. Please re-open otherwise.

The timeline is not right. This crash was reported in late 2016. That bug was closed in 2014. Sometimes frames get omitted from the stack trace; likely the crash is really inside mediaPlayerDidRemoveAudioTrack. The MediaPlayerClient is surely HTMLMediaElement.

I assume the crash must have been happening here:

void HTMLMediaElement::removeAudioTrack(AudioTrack& track)
{
    m_audioTracks->remove(track); // <---
    track.clearClient();
}

But I agree the current code does not match up. I'm not sure when it changed; trac doesn't allow blaming HTMLMediaElement because it is too big, and GitHub just times out.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180220/33939da7/attachment.html>


More information about the webkit-unassigned mailing list