Bug 227018

Summary: [MSE] Crash when getting audioTracks, videoTracks, textTracks of sourceBuffer after executing MediaSource::removeSourceBuffer()
Product: WebKit Reporter: Toshio Ogasawara <toshio.ogasawara>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: calvaris, don.olmstead, eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, tomoki.imai, webkit-bug-importer, Yousuke.Kimoto
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch
ews-feeder: commit-queue-
patch none

Toshio Ogasawara
Reported 2021-06-15 01:39:23 PDT
Crash when getting audioTracks, videoTracks, textTracks of SourceBuffer after executing MediaSource::removeSourceBuffer(). SourceBuffer::audioTracks(), SourceBuffer::videoTracks(), SourceBuffer::textTracks() crashes because m_source is nullptr.
Attachments
patch (5.29 KB, text/plain)
2021-06-15 02:04 PDT, Toshio Ogasawara
ews-feeder: commit-queue-
patch (5.30 KB, patch)
2021-06-16 02:30 PDT, Toshio Ogasawara
no flags
Toshio Ogasawara
Comment 1 2021-06-15 02:04:55 PDT
Toshio Ogasawara
Comment 2 2021-06-16 02:30:27 PDT
Created attachment 431529 [details] patch Fixed patch
Eric Carlson
Comment 3 2021-06-16 07:24:13 PDT
Comment on attachment 431529 [details] patch The test failures are unrelated.
EWS
Comment 4 2021-06-16 07:27:54 PDT
Committed r278932 (238863@main): <https://commits.webkit.org/238863@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 431529 [details].
Radar WebKit Bug Importer
Comment 5 2021-06-16 07:28:17 PDT
Toshio Ogasawara
Comment 6 2021-06-16 18:17:26 PDT
Thank you for the review.
Note You need to log in before you can comment on or make changes to this bug.