Bug 210201 - REGRESSION: [ iOS wk2 Debug ] ASSERTION FAILED: Attempt to access post layout data before receiving it on editing/editability/empty-document-delete.html
Summary: REGRESSION: [ iOS wk2 Debug ] ASSERTION FAILED: Attempt to access post layout...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-04-08 11:13 PDT by Jason Lawrence
Modified: 2020-04-08 16:47 PDT (History)
2 users (show)

See Also:


Attachments
empty-document-delete-crash-log (143.59 KB, text/plain)
2020-04-08 11:13 PDT, Jason Lawrence
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Lawrence 2020-04-08 11:13:02 PDT
Created attachment 395840 [details]
empty-document-delete-crash-log

editing/editability/empty-document-delete.html

Description:
This test is flaky crashing on iOS wk2 Debug when using the iPhone SE simulator. This test has only crashed three times total, in the visible history, with the oldest crash on 03/26/2020.

History:
https://results.webkit.org/?suite=layout-tests&test=editing%2Feditability%2Fempty-document-delete.html&platform=ios&style=debug&recent=false&model=iPhone%20SE&limit=50000

Crash log:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000010c8f93ee WTFCrash + 14 (Assertions.cpp:309)
1   com.apple.WebKit              	0x000000011bd3d1db WebKit::EditorState::postLayoutData() const + 91 (EditorState.h:157)
2   com.apple.WebKit              	0x000000011ceca25f -[WKContentView(WKInteraction) _selectionClipRect] + 351 (WKContentViewInteraction.mm:1998)
3   com.apple.UIKitCore           	0x0000000144028247 -[UITextSelectionView updateSelectionRects] + 2647
4   com.apple.UIKitCore           	0x0000000144028d09 -[UITextSelectionView updateSelectionRectsIfNeeded] + 84
5   com.apple.UIKitCore           	0x0000000144028c78 __51-[UITextSelectionView deferredUpdateSelectionRects]_block_invoke + 34
6   com.apple.CoreFoundation      	0x000000011353f867 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
7   com.apple.CoreFoundation      	0x000000011353a2fe __CFRunLoopDoObservers + 430
8   com.apple.CoreFoundation      	0x000000011353a863 __CFRunLoopRun + 1235
9   com.apple.CoreFoundation      	0x000000011353a066 CFRunLoopRunSpecific + 438
10  com.apple.Foundation          	0x0000000112c0b86f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211
11  org.webkit.WebKitTestRunnerApp	0x000000010b9adfd0 WTR::TestController::platformRunUntil(bool&, WTF::Seconds) + 304
12  org.webkit.WebKitTestRunnerApp	0x000000010b96b47f WTR::TestController::runUntil(bool&, WTF::Seconds) + 79
13  org.webkit.WebKitTestRunnerApp	0x000000010b971cf4 WTR::TestController::clearIndexedDatabases() + 100
14  org.webkit.WebKitTestRunnerApp	0x000000010b971308 WTR::TestController::resetStateToConsistentValues(WTR::TestOptions const&, WTR::TestController::ResetStage) + 1096
15  org.webkit.WebKitTestRunnerApp	0x000000010b9b3598 WTR::TestInvocation::invoke() + 520
16  org.webkit.WebKitTestRunnerApp	0x000000010b975498 WTR::TestController::runTest(char const*) + 536
17  org.webkit.WebKitTestRunnerApp	0x000000010b975ed6 WTR::TestController::runTestingServerLoop() + 214
18  org.webkit.WebKitTestRunnerApp	0x000000010b96bef7 WTR::TestController::run() + 39
19  org.webkit.WebKitTestRunnerApp	0x000000010b96b821 WTR::TestController::TestController(int, char const**) + 897
20  org.webkit.WebKitTestRunnerApp	0x000000010b96bfc3 WTR::TestController::TestController(int, char const**) + 35
21  org.webkit.WebKitTestRunnerApp	0x000000010b9517cc -[WebKitTestRunnerApp _runTestController] + 44
22  com.apple.Foundation          	0x0000000112c21c30 __NSThreadPerformPerform + 259
23  com.apple.CoreFoundation      	0x0000000113540471 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
24  com.apple.CoreFoundation      	0x000000011354039c __CFRunLoopDoSource0 + 76
25  com.apple.CoreFoundation      	0x000000011353fbcc __CFRunLoopDoSources0 + 268
26  com.apple.CoreFoundation      	0x000000011353a87f __CFRunLoopRun + 1263
27  com.apple.CoreFoundation      	0x000000011353a066 CFRunLoopRunSpecific + 438
28  com.apple.GraphicsServices    	0x000000011315fbb0 GSEventRunModal + 65
29  com.apple.UIKitCore           	0x0000000143d70d4d UIApplicationMain + 1621
30  org.webkit.WebKitTestRunnerApp	0x000000010b95197b main + 139
31  libdyld.dylib                 	0x0000000118d36c25 start + 1
Comment 1 Radar WebKit Bug Importer 2020-04-08 11:13:18 PDT
<rdar://problem/61465064>
Comment 2 Jason Lawrence 2020-04-08 11:19:24 PDT
I have marked this test as flaky crashing while this issue is investigated. 
https://trac.webkit.org/changeset/259733/webkit