Bug 258096

Summary: ASSERTION FAILED: firstChild(): [ iOS, macOS Debug ] 2x media/track tests are a flaky crash.
Product: WebKit Reporter: Bri Harris <bharris9>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eric.carlson, jer.noble, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=258097
https://bugs.webkit.org/show_bug.cgi?id=258183
https://bugs.webkit.org/show_bug.cgi?id=258184
https://bugs.webkit.org/show_bug.cgi?id=258185

Description Bri Harris 2023-06-14 14:34:54 PDT
The following 2 layout tests:

media/track/track-user-stylesheet.html 
media/track/track-webvtt-snap-to-lines-inline-style.html

are a flaky crash on iOS 16 and macOS Debug queues. 


HISTORY:

https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&test=media%2Ftrack%2Fvideo-track-add-remove.html&test=media%2Ftrack%2Ftrack-webvtt-snap-to-lines-inline-style.html&test=media%2Ftrack%2Ftrack-user-stylesheet.html
Comment 1 Bri Harris 2023-06-14 14:35:14 PDT
STDERR TEXT:

ASSERTION FAILED: firstChild()
/Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Source/WebCore/rendering/RenderVTTCue.cpp(79) : bool WebCore::RenderVTTCue::initializeLayoutParameters(WebCore::LayoutUnit &, WebCore::LayoutUnit &)
1   0x151bf4550 WTFCrash
2   0x107f790f0 WebCore::NetworkResourcesData::ResourceData::hasContent() const
3   0x10915a110 WebCore::RenderVTTCue::initializeLayoutParameters(WebCore::LayoutUnit&, WebCore::LayoutUnit&)
4   0x109159cbc WebCore::RenderVTTCue::repositionCueSnapToLinesSet()
5   0x109159c44 WebCore::RenderVTTCue::layout()
6   0x1081e0af0 WebCore::RenderElement::layoutIfNeeded()
7   0x108f08a5c WebCore::RenderBlock::layoutPositionedObject(WebCore::RenderBox&, bool, bool)
8   0x108f075cc WebCore::RenderBlock::layoutPositionedObjects(bool, bool)
9   0x108f07150 WebCore::RenderBlock::simplifiedLayout()
10  0x108f21868 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
11  0x108f05788 WebCore::RenderBlock::layout()
12  0x1081e0af0 WebCore::RenderElement::layoutIfNeeded()
13  0x108f08a5c WebCore::RenderBlock::layoutPositionedObject(WebCore::RenderBox&, bool, bool)
14  0x108f075cc WebCore::RenderBlock::layoutPositionedObjects(bool, bool)
15  0x108f21f3c WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
16  0x108f05788 WebCore::RenderBlock::layout()
17  0x109015dc8 WebCore::RenderImage::layoutShadowContent(WebCore::LayoutSize const&)
18  0x1090159a8 WebCore::RenderImage::layout()
19  0x1090beb30 WebCore::RenderMedia::layout()
20  0x10915c294 WebCore::RenderVideo::layout()
21  0x1081e0af0 WebCore::RenderElement::layoutIfNeeded()
22  0x108f26958 WebCore::RenderBlockFlow::layoutModernLines(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&)
23  0x108f24350 WebCore::RenderBlockFlow::layoutInlineChildren(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&)
24  0x108f22898 WebCore::RenderBlockFlow::layoutInFlowChildren(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&, WebCore::LayoutUnit&)
25  0x108f21a90 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
26  0x108f05788 WebCore::RenderBlock::layout()
27  0x108f25470 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&)
28  0x108f246b0 WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&)
29  0x108f228d4 WebCore::RenderBlockFlow::layoutInFlowChildren(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&, WebCore::LayoutUnit&)
30  0x108f21a90 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
31  0x108f05788 WebCore::RenderBlock::layout()
com.apple.WebKit.WebContent.Development terminated (pid 34111) for reason: crash
LEAK: 1 WebPageProxy
Comment 2 Radar WebKit Bug Importer 2023-06-14 14:35:41 PDT
<rdar://problem/110799490>
Comment 3 EWS 2023-06-14 16:28:48 PDT
Test gardening commit 265170@main (c727258b818a): <https://commits.webkit.org/265170@main>

Reviewed commits have been landed. Closing PR #14975 and removing active labels.