[Webkit-unassigned] [Bug 261685] WK WebView Crash when loading / unloading images from VRAM while switching WebGL scene

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 14 04:36:51 PST 2023


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

--- Comment #6 from Kimmo Kinnunen <kkinnunen at apple.com> ---
Paul Rhomberg:
> When loading or unloading images into video memory on iPhone inside of a WebView the application sometimes crashes. This happens more often when switching WebGL scenes or stressing the CPU. 

Thank you for the report.
If you have a development version of the game that runs in a browser without the iOS app, attaching that would help a lot.

Shay Zhang:
> I got this problem too while I'm trying to render a webpage with Three.js with a couple of models size aruond 1MiB. 

Thank you for the report. If you are able to spend time on this, please file another bug report and attach your test case. If you are able to simplify your test case to minimal set of operations that fail, this would be helpful.

Alexander Sterk:
> Even so, the amount of textures, and their sizes, were pretty small to begin with. And like mentioned above, the memory usage according to XCode is very low (roughly 20MB), and yet it appears to run out of VRAM. I'm very new to Xcode, so maybe this is on me, but I can't seem to find the VRAM usage anywhere.

The memory would be attributed to process named com.apple.WebKit.WebContent and com.apple.WebKit.GPU instead of your app.

If you are able to, please file a new bug and provide a test case for the problem. The simpler the test case the better. If the test case works in a browser without the native app shell, that's even more helpful.

-- 
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/20231214/b2872715/attachment.htm>


More information about the webkit-unassigned mailing list