Bug 238557

Summary: GPU Process crash under IPC::createCTFont
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: WebKit Process ModelAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mmaxfield, rackler, sabouhallawa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Crash log none

Description Simon Fraser (smfr) 2022-03-30 10:16:38 PDT
Created attachment 456138 [details]
Crash log

Layout tests show a crash under IPC::createCTFont():
https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/r292101%20(2082)/results.html
Comment 1 Radar WebKit Bug Importer 2022-03-30 10:18:55 PDT
<rdar://problem/91052074>
Comment 2 Simon Fraser (smfr) 2022-03-30 10:28:55 PDT
Tests that hit this:
fast/text/isolate-ignore.html
Comment 3 Simon Fraser (smfr) 2022-03-30 13:31:25 PDT
I hit this with fast/text/isLoading-crash-failed-font.html when running of a fast/text  in the iOS simulator.
Comment 4 Simon Fraser (smfr) 2022-03-30 13:36:11 PDT
I wonder if this is out-of-order IPC like bug 238391.
Comment 5 Myles C. Maxfield 2022-04-12 23:39:15 PDT
This wouldn't be due to out-of-order IPC.

This is an ASSERT that happens when there's an installed font the web process is using, and it sends a descriptor of the font to the GPU process to use, but the GPU process can't find/access it.
Comment 6 Myles C. Maxfield 2022-04-12 23:41:13 PDT
Maybe the next step is to WTFLogAlways the descriptor, just in debug builds
Comment 7 Ryan Haddad 2022-05-25 14:36:21 PDT
*** Bug 240659 has been marked as a duplicate of this bug. ***