Bug 167159 - Crash when changing video subtitles.
Summary: Crash when changing video subtitles.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified macOS 10.12
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-01-18 05:46 PST by Per Arne Vollan
Modified: 2017-01-18 10:47 PST (History)
11 users (show)

See Also:


Attachments
Patch (1.27 KB, patch)
2017-01-18 06:15 PST, Per Arne Vollan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.