Bug 254974 - OffscreenCanvas - draw crashes Safari
Summary: OffscreenCanvas - draw crashes Safari
Status: RESOLVED DUPLICATE of bug 253927
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-03 23:54 PDT by Tzvetelin Vassilev
Modified: 2023-04-06 11:07 PDT (History)
3 users (show)

See Also:


Attachments
MacOS process monitor console log output (616.58 KB, text/plain)
2023-04-03 23:54 PDT, Tzvetelin Vassilev
no flags Details
MacOS process monitor console log output - unfiltered (424.06 KB, text/plain)
2023-04-04 09:46 PDT, Tzvetelin Vassilev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tzvetelin Vassilev 2023-04-03 23:54:25 PDT
Created attachment 465759 [details]
MacOS process monitor console log output

The problem is observed with OffscreenCanvas only under iOS. I'm using iOS 16.4. After a few draws Safari crash and restarts itself. This is not observed with canvas element.
Comment 1 Alexey Proskuryakov 2023-04-04 09:11:54 PDT
Thank you for the report! The attached log filtered on MobileSafari only tells us that the com.apple.WebKit.WebContent process crashed, nothing more.

Could you please provide a reproducible test case? And if that's not possible, a crash log and console log filtered on WebContent could help.
Comment 2 Tzvetelin Vassilev 2023-04-04 09:46:07 PDT
Created attachment 465763 [details]
MacOS process monitor console log output - unfiltered
Comment 3 Tzvetelin Vassilev 2023-04-04 09:50:02 PDT
The case is inking, after a few seconds input rendering crash happens. Reproducible test case is not very easy to provide. Are this logs helps?
Comment 4 Alexey Proskuryakov 2023-04-04 10:20:00 PDT
This log may be helpful in addition to a crash log, but probably not on its own. Please see https://developer.apple.com/documentation/xcode/acquiring-crash-reports-and-diagnostic-logs

We don't have to use a minimized test; any steps that reproduce this on a public website, or on a website that you can share with us in private, would work.
Comment 5 Tzvetelin Vassilev 2023-04-05 06:02:12 PDT
I know about Analytics data but it doesn't provide any information about what happens. I'll have working example tomorrow, I'll share it when is accessible.
Comment 6 Tzvetelin Vassilev 2023-04-06 02:19:48 PDT
You can access the sample on https://willtech.wacom.com/ink-canvas
Draw constantly 2-3 times for a few seconds and browser will crash.
Comment 7 Matt Woodrow 2023-04-06 11:07:37 PDT
We're crashing due to running out of memory in the WebContent process.

Tested locally, and this is a duplicate of 253927.

*** This bug has been marked as a duplicate of bug 253927 ***