Bug 282379

Summary: REGRESSION (?): Model-Viewer causing WebContent jetsam
Product: WebKit Reporter: Will <will.slatter>
Component: WebXRAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: adachan, ap, djg, kkinnunen, webkit-bug-importer, will.slatter
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: iPhone / iPad   
OS: iOS 18   
Attachments:
Description Flags
crash error screen none

Description Will 2024-10-31 02:26:15 PDT
Created attachment 473091 [details]
crash error screen

Loading a glb model using model viewer causes a crash only on iphones using safari. Example can be found here: https://ar.rivr.uk/warwickcastle
I have submitted a report to model viewer but they directed me here, https://github.com/google/model-viewer/issues/4923
Screenshot of crash attached.

It seems to usually work the first time the page loads, and if you clear your cache. But repeated reloads cause the crash
Comment 1 Will 2024-10-31 02:27:26 PDT
I should also add that this is happening to pages that have been fine for months, so while I can't pinpoint exactly when it started happening it must have been relatively recently, as the pages haven't changed at all.
Comment 2 Alexey Proskuryakov 2024-10-31 09:02:18 PDT
I can reproduce this on iPhone 16 Pro. The WebContent process is running out of memory, and gets terminated.

On macOS, it appears to use 815 MB of memory, which is large but not outrageous.
Comment 3 Radar WebKit Bug Importer 2024-10-31 09:02:28 PDT
<rdar://problem/139003695>