Bug 167159

Summary: Crash when changing video subtitles.
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: MediaAssignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bfulgham, calvaris, cdumez, commit-queue, eric.carlson, esprehn+autocc, gyuyoung.kim, jonlee, philipj, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: macOS 10.12   
Attachments:
Description Flags
Patch none

Description Per Arne Vollan 2017-01-18 05:46:22 PST
When changing video captions during playback in MiniBrowser, I get an access violation crash with the stack trace:

0   WebCore::Element::getBoundingClientRect() + 32
1   WebCore::VTTRegion::willRemoveTextTrackCueBox(WebCore::VTTCueBox*) + 44
2   WebCore::VTTRegion::willRemoveTextTrackCueBox(WebCore::VTTCueBox*) + 44
3   WebCore::VTTCue::removeDisplayTree() + 72
4   WebCore::TextTrack::setMode(WTF::AtomicString const&) + 320
5   WebCore::HTMLMediaElement::setSelectedTextTrack(WebCore::TextTrack*) + 308
Comment 1 Per Arne Vollan 2017-01-18 06:00:26 PST
<rdar://problem/22574001>
Comment 2 Per Arne Vollan 2017-01-18 06:15:24 PST
Created attachment 299135 [details]
Patch
Comment 3 Per Arne Vollan 2017-01-18 10:21:41 PST
Comment on attachment 299135 [details]
Patch

Thanks for reviewing!
Comment 4 WebKit Commit Bot 2017-01-18 10:47:10 PST
Comment on attachment 299135 [details]
Patch

Clearing flags on attachment: 299135

Committed r210855: <http://trac.webkit.org/changeset/210855>
Comment 5 WebKit Commit Bot 2017-01-18 10:47:15 PST
All reviewed patches have been landed.  Closing bug.