[Webkit-unassigned] [Bug 246074] New: [iOS 16.0 Safari] When fill text on canvas with web font, it refreshes or disappears.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 5 02:19:45 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=246074

            Bug ID: 246074
           Summary: [iOS 16.0 Safari] When fill text on canvas with web
                    font, it refreshes or disappears.
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ihyeom at m2soft.co.kr
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 462808

  --> https://bugs.webkit.org/attachment.cgi?id=462808&action=review

console log from Xcode

Hi. I'm Inho. After updating to ios 16, there was a problem with our web application. 

Device: iPhone X
OS: iOS 16.0 (20A362)

The problem that the page often refreshes or distorts while drawing quite a bit of text to the canvas. (This looks like a memory leak.)

Below is the URL of the web page where the problem is occurrence. (The sample uses google font.) 
The strange thing is that it doesn't happen if you use a local font. This only happens when using web fonts.

[Sample URL]: http://fs.m2soft.co.kr/report2/test/sample.html

The sample app behaves like this:

1. There are some layers including canvas. (Structure similar to our app)
2. Assign property values such as "font" to canvas.
3. Fill the canvas with text. (context.fillText)
4. Repeat 1-3 every 1 second.

(Css properties like transform are settings for occurrence.)

This happens often, with both safari and wkwebview. When it occurs in wkwebview, the following error is reported in the Xcode console. (details are in the attachment.)

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[Process] 0x110050380 - GPUProcessProxy::didClose:
[Process] 0x110050380 - GPUProcessProxy::gpuProcessExited: reason=Crash
[Process] 0x1110009d0 - [PID=3830] WebProcessProxy::gpuProcessExited: reason=Crash
[assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit"
 UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
[ProcessSuspension] 0x11001c300 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'GPUProcess Background Assertion' for process with PID=3832, 
error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" 
UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Questions: Is this a bug in webkit? It happened very infrequently even before ios 16, but it's been happening very often since 16.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221005/0f46ed22/attachment-0001.htm>


More information about the webkit-unassigned mailing list