Bug 209450

Summary: REGRESSION: ASSERTION FAILED: settings().textAutosizingEnabled() && settings().textAutosizingUsesIdempotentMode() on various tests
Product: WebKit Reporter: Jason Lawrence <Lawrence.j>
Component: New BugsAssignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: hector_i_lopez, mmaxfield, ryanhaddad, thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: iOS 13   
See Also: https://bugs.webkit.org/show_bug.cgi?id=215226
https://bugs.webkit.org/show_bug.cgi?id=218715
Attachments:
Description Flags
visible-control-characters-1-crash-log
none
For EWS (..eventually)
none
For EWS (eventually)
ews-feeder: commit-queue-
Fix macOS build none

Description Jason Lawrence 2020-03-23 16:44:45 PDT
Created attachment 394327 [details]
visible-control-characters-1-crash-log

fast/text/control-characters/visible-control-characters-1.html

Description:
This test is flaky crashing on iOS wk2 Debug. The oldest crash in the visible history appears on 03/01/2020.


History:
https://results.webkit.org/?suite=layout-tests&test=fast%2Ftext%2Fcontrol-characters%2Fvisible-control-characters-1.html&platform=ios&limit=50000&style=debug

Crash Log
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x00000003a417f75e WTFCrash + 14 (Assertions.cpp:309)
1   com.apple.WebCore             	0x00000003a958539b WTFCrashWithInfo(int, char const*, char const*, int) + 27
2   com.apple.WebCore             	0x00000003ac8cc4f1 WebCore::Page::recomputeTextAutoSizingInAllFrames() + 145 (Page.cpp:3044)
3   com.apple.WebKit              	0x0000000391828491 WebKit::WebPage::textAutoSizingAdjustmentTimerFired() + 33 (WebPage.cpp:7033)
4   com.apple.WebKit              	0x0000000391864241 decltype(*(std::__1::forward<WebKit::WebPage*&>(fp0)).*fp()) std::__1::__invoke<void (WebKit::WebPage::*&)(), WebKit::WebPage*&, void>(void (WebKit::WebPage::*&)(), WebKit::WebPage*&) + 113 (type_traits:4302)
Comment 1 Radar WebKit Bug Importer 2020-03-23 16:45:12 PDT
<rdar://problem/60799255>
Comment 2 Jason Lawrence 2020-03-23 16:49:35 PDT
I have marked this test as crashing here: https://trac.webkit.org/changeset/258889/webkit
Comment 3 Jason Lawrence 2020-03-24 09:16:20 PDT
I have further adjusted the test expectations while this issue is investigated.
https://trac.webkit.org/changeset/258911/webkit
Comment 4 Ryan Haddad 2020-08-06 14:38:12 PDT
*** Bug 210205 has been marked as a duplicate of this bug. ***
Comment 5 Ryan Haddad 2020-08-06 14:38:21 PDT
*** Bug 215226 has been marked as a duplicate of this bug. ***
Comment 6 Alexey Proskuryakov 2020-08-06 16:17:03 PDT
In all cases, it's alphabetically the first test in a directory hitting this. And looking at one random test run, I see that it was fast/text-autosizing preceding it.

So clearly fast/text-autosizing tests break subsequent tests.
Comment 7 Wenson Hsieh 2021-04-04 15:19:18 PDT
*** Bug 214363 has been marked as a duplicate of this bug. ***
Comment 8 Wenson Hsieh 2021-04-04 15:53:22 PDT Comment hidden (obsolete)
Comment 9 Wenson Hsieh 2021-04-04 15:55:03 PDT
*** Bug 218715 has been marked as a duplicate of this bug. ***
Comment 10 Wenson Hsieh 2021-04-04 17:14:31 PDT Comment hidden (obsolete)
Comment 11 Wenson Hsieh 2021-04-05 11:07:03 PDT
Created attachment 425175 [details]
Fix macOS build
Comment 12 EWS 2021-04-05 19:36:18 PDT
Committed r275480: <https://commits.webkit.org/r275480>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425175 [details].