Bug 197877 - WebCore crash on RenderTreeBuilder when play video within webview
Summary: WebCore crash on RenderTreeBuilder when play video within webview
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Local Build
Hardware: iPhone / iPad iOS 12
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-05-14 03:35 PDT by lidj
Modified: 2019-05-16 12:00 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lidj 2019-05-14 03:35:25 PDT
WebCore	
WTFCrashWithInfo(int, char const*, char const*, int) + 20
1
WebCore	
WebCore::RenderTreeBuilder::RenderTreeBuilder(WebCore::RenderView&) + 358
2	WebCore	
WebCore::RenderTreeUpdater::tearDownRenderers(WebCore::Element&) + 44
3	WebCore	
WebCore::ContainerNode::removeBetween(WebCore::Node*, WebCore::Node*, WebCore::Node&) + 140
4	WebCore	
WebCore::ContainerNode::removeChild(WebCore::Node&) + 644
5	WebCore	
WebCore::VTTCue::removeDisplayTree() + 136
6	WebCore	
WebCore::HTMLMediaElement::updateActiveTextTrackCues(WTF::MediaTime const&) + 5828
7	WebCore	
WTF::Function<void ()>::CallableWrapper<WebCore::HTMLMediaElement::updateActiveTextTrackCues(WTF::MediaTime const&)::$_22>::call() + 172
8	AVFoundation	
__67-[AVOccasionalTimebaseObserver initWithTimebase:times:queue:block:]_block_invoke_4 + 68


the stack of function calls, the iOS system is iOS 12.2, and the webkit version is 607.1.40 i think.
Comment 1 Alexey Proskuryakov 2019-05-15 14:26:22 PDT
Thank you for the report! Is this at least semi-reproducible, or a one off?

For Apple folks: crash point matches rdar://problem/36153631&47826223&47826975&40373156&39302087, but those issues look different.
Comment 2 lidj 2019-05-15 19:39:16 PDT
(In reply to Alexey Proskuryakov from comment #1)
> Thank you for the report! Is this at least semi-reproducible, or a one off?
> 
> For Apple folks: crash point matches
> rdar://problem/36153631&47826223&47826975&40373156&39302087, but those
> issues look different.

it's a reproducible bug, only iOS 12.
github issue:https://github.com/youtube/youtube-ios-player-helper/issues/322
Comment 3 Alexey Proskuryakov 2019-05-16 11:59:42 PDT
I cannot reproduce the crash with iOS 12.2.
Comment 4 Radar WebKit Bug Importer 2019-05-16 12:00:01 PDT
<rdar://problem/50862123>