Bug 272123

Summary: SHOULD NEVER BE REACHED in ~RenderTreeNeedsLayoutChecker for fast/text/remove-renderer-and-select-crash.html
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=272127

Description Fujii Hironori 2024-04-03 16:48:35 PDT
277009@main added fast/text/remove-renderer-and-select-crash.html.

> python .\Tools\Scripts\run-webkit-tests --wincairo --debug --no-retry fast/text/remove-renderer-and-select-crash.html

SHOULD NEVER BE REACHED
C:\webkit\Source\WebCore\page/LocalFrameViewLayoutContext.cpp(89) : operator()
1   00007FF9B20B1CA9 WTFCrash
2   00007FF9863C2EFD WTFCrashWithInfo
3   00007FF989E9D6D1 WebCore::RenderTreeNeedsLayoutChecker::~RenderTreeNeedsLayoutChecker::<lambda_1>::operator()
4   00007FF989E9A446 WebCore::RenderTreeNeedsLayoutChecker::~RenderTreeNeedsLayoutChecker
5   00007FF989E8E14A WebCore::LocalFrameViewLayoutContext::performLayout
6   00007FF989E8D4CF WebCore::LocalFrameViewLayoutContext::layout
7   00007FF988F8995D WebCore::Document::updateLayout
8   00007FF988F8A9D3 WebCore::Document::updateLayoutIgnorePendingStylesheets
9   00007FF9892F62A7 WebCore::Editor::Command::execute
10  00007FF988FA7FB6 WebCore::Document::execCommand
11  00007FF986D208FE WebCore::jsDocumentPrototypeFunction_execCommandBody
12  00007FF986D202D0 WebCore::IDLOperation<WebCore::JSDocument>::call<&WebCore::jsDocumentPrototypeFunction_execCommandBody,0>
13  00007FF986D12504 WebCore::jsDocumentPrototypeFunction_execCommand
14  000002202A80119E (null)
Comment 1 Fujii Hironori 2024-04-03 16:49:25 PDT
This test is skipped for Debug now.

https://github.com/WebKit/WebKit/blob/ae2a0966fb718e40529940a5afb634e91d84e163/LayoutTests/TestExpectations#L7424-L7425

> # Out-of-flow line break handling
> [ Debug ] fast/text/remove-renderer-and-select-crash.html [ Skip ]
Comment 2 Radar WebKit Bug Importer 2024-04-10 16:49:55 PDT
<rdar://problem/126239720>
Comment 3 Fujii Hironori 2024-09-10 20:33:51 PDT
Not reproducible now.