<?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>102011</bug_id>
          
          <creation_ts>2012-11-12 16:57:35 -0800</creation_ts>
          <short_desc>[TEXMAP] Check imageBuffer Creation failure when updateBackingStore</short_desc>
          <delta_ts>2022-06-21 20:12:21 -0700</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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>146147</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>ys.suh</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fujii</cc>
    
    <cc>noam</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>764979</commentid>
    <comment_count>0</comment_count>
    <who name="">ys.suh</who>
    <bug_when>2012-11-12 16:57:35 -0800</bug_when>
    <thetext>[TEXMAP] Check imageBuffer Creation failure when updateBackingStore</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>764998</commentid>
    <comment_count>1</comment_count>
      <attachid>173763</attachid>
    <who name="">ys.suh</who>
    <bug_when>2012-11-12 17:11:03 -0800</bug_when>
    <thetext>Created attachment 173763
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>765022</commentid>
    <comment_count>2</comment_count>
      <attachid>173763</attachid>
    <who name="Noam Rosenthal">noam</who>
    <bug_when>2012-11-12 17:28:37 -0800</bug_when>
    <thetext>Comment on attachment 173763
Patch

The right way to fix it is to tile the dirtyRects before uploading them.
Your fix will create bugs along the way, like &quot;Why does this layer not appear correctly on the screen&quot; :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>765058</commentid>
    <comment_count>3</comment_count>
    <who name="">ys.suh</who>
    <bug_when>2012-11-12 18:00:42 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 173763 [details])
&gt; The right way to fix it is to tile the dirtyRects before uploading them.
&gt; Your fix will create bugs along the way, like &quot;Why does this layer not appear correctly on the screen&quot; :)

I totally agree with you. But in my opinion, not appearing layer would be better than crashing.

How about clipping the layer to some size just before calling setCompositedBounds in RenderLayerBacking::updateCompositedBounds?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>766046</commentid>
    <comment_count>4</comment_count>
    <who name="Noam Rosenthal">noam</who>
    <bug_when>2012-11-13 14:15:59 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; (From update of attachment 173763 [details] [details])
&gt; &gt; The right way to fix it is to tile the dirtyRects before uploading them.
&gt; &gt; Your fix will create bugs along the way, like &quot;Why does this layer not appear correctly on the screen&quot; :)
&gt; 
&gt; I totally agree with you. But in my opinion, not appearing layer would be better than crashing.
Maybe for a production branch - in webkit.org trunk we hold a higher standard - meaning a patch has to take things forward, not replace a bug with one symptom (crash) with a bug with another symptom (layers not appearing). 

&gt; 
&gt; How about clipping the layer to some size just before calling setCompositedBounds in RenderLayerBacking::updateCompositedBounds?
It&apos;s another hack. I will only accepts patches that take this code forward - workarounds only in extreme cases where the &quot;good&quot; solution is not trivial.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877201</commentid>
    <comment_count>5</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-06-21 20:12:21 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 146147 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>173763</attachid>
            <date>2012-11-12 17:11:03 -0800</date>
            <delta_ts>2012-11-12 17:28:37 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-102011-20121113100904.patch</filename>
            <type>text/plain</type>
            <size>1806</size>
            <attacher>ys.suh</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTM0MTY4CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggYmNiMjdkNDRhMTczMzA0
ODFjZmY2NzcyZTQ5ODAwZTFjNDRlZTYxNy4uNzA4OWRlMDQ5NGI3YmM1NzcxMzVmNTc0NzQwMzcw
NTYzNmNhYmZlYyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDEyLTExLTEyICBZb3Vu
Z3N1biBTdWggIDx5cy5zdWhAbGdlLmNvbT4KKworICAgICAgICBbVEVYTUFQXSBDaGVjayBpbWFn
ZUJ1ZmZlciBDcmVhdGlvbiBmYWlsdXJlIHdoZW4gdXBkYXRlQmFja2luZ1N0b3JlCisgICAgICAg
IGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMDIwMTEKKworICAgICAg
ICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBJZiB0aGUgbGF5ZXIgc2l6
ZSBpcyB0b28gQklHKGV4OiB3aWR0aDoxMDAwMDBweCksIGJyb3dzZXIgY3Jhc2hzLgorICAgICAg
ICBUaGlzIHBhdGNoIGFkZGVkIGEgY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byBhbiBpbWFnZSBidWZmZXIuIFRoaXMgZW5zdXJlcyB3ZSBvbmx5IHBhaW50IG9uY2Uu
CiAgICAgT3duUHRyPEltYWdlQnVmZmVyPiBpbWFnZUJ1ZmZlciA9IEltYWdlQnVmZmVyOjpjcmVh
dGUoZGlydHlSZWN0LnNpemUoKSk7CisgICAgaWYgKCFpbWFnZUJ1ZmZlci5nZXQoKSkgeworICAg
ICAgICBtX2JhY2tpbmdTdG9yZS5jbGVhcigpOworICAgICAgICByZXR1cm47CisgICAgfQorCiAg
ICAgR3JhcGhpY3NDb250ZXh0KiBjb250ZXh0ID0gaW1hZ2VCdWZmZXItPmNvbnRleHQoKTsKICAg
ICBjb250ZXh0LT5zZXRJbWFnZUludGVycG9sYXRpb25RdWFsaXR5KHRleHR1cmVNYXBwZXItPmlt
YWdlSW50ZXJwb2xhdGlvblF1YWxpdHkoKSk7CiAgICAgY29udGV4dC0+c2V0VGV4dERyYXdpbmdN
b2RlKHRleHR1cmVNYXBwZXItPnRleHREcmF3aW5nTW9kZSgpKTsK
</data>
<flag name="review"
          id="188566"
          type_id="1"
          status="-"
          setter="noam"
    />
          </attachment>
      

    </bug>

</bugzilla>