<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>279637</bug_id>
          
          <creation_ts>2024-09-12 18:23:31 -0700</creation_ts>
          <short_desc>[iOS 18.1 Beta] WebKit crashes when visiting heavy page</short_desc>
          <delta_ts>2025-02-17 10:36:34 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>Safari 18</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 18</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dazhen Pan">dazhen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>bracho</cc>
    
    <cc>rreno</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2059842</commentid>
    <comment_count>0</comment_count>
    <who name="Dazhen Pan">dazhen</who>
    <bug_when>2024-09-12 18:23:31 -0700</bug_when>
    <thetext>1. Visit https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-9/ which is a rather long page.
2. Safari will try to load it twice then display &quot;A problem repeatedly occurred on&quot;.

This is on iPhone 15 Pro Max iOS 18.1

Note if I restart the phone, then this doesn&apos;t happen any more, but will repro again if phone is used for a while.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2061706</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-09-19 18:24:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/136330950&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2061917</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2024-09-20 12:53:24 -0700</bug_when>
    <thetext>I was able to reproduce on my phone as well. This is a highwater jetsam which can occur when the WebContent process crosses a soft limit and the system needs memory due to memory pressure. This is why the crash doesn&apos;t reproduce every time; the system won&apos;t kill the process if it doesn&apos;t need the memory.

From an initial look it seems like it might be due to a high amount of graphics memory being allocated, usually to back compositing layers in the page.

I&apos;ll try to get allocation logs to see what is prompting a large peak memory footprint.

Thank you for the report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095077</commentid>
    <comment_count>3</comment_count>
    <who name="">bracho</who>
    <bug_when>2025-02-16 14:03:58 -0800</bug_when>
    <thetext>Any updates here? Since last week are the crashes coming more often.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095191</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2025-02-17 10:36:34 -0800</bug_when>
    <thetext>It&apos;s notable that the &lt;html&gt; is composited separately from the main document, and it uses a lot of memory. This might be triggered by a negative z-index somewhere. Is tile coverage working as expected for this layer?

It&apos;s also notable that each &lt;pre&gt; seems to take some memory even when outside the viewport, which is worth investigating.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>