<?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>146147</bug_id>
          
          <creation_ts>2015-06-19 07:19:29 -0700</creation_ts>
          <short_desc>[WinCairo] Null pointer crash in BitmapTexture::updateContents.</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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=22132</see_also>
          <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>1</everconfirmed>
          <reporter>peavo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>kondapallykalyan</cc>
    
    <cc>luiz</cc>
    
    <cc>noam</cc>
    
    <cc>ossy</cc>
    
    <cc>ys.suh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1103238</commentid>
    <comment_count>0</comment_count>
    <who name="">peavo</who>
    <bug_when>2015-06-19 07:19:29 -0700</bug_when>
    <thetext>When I have a lot of WebViews open, and memory usage is high (&gt; 700MB), I often get a null pointer exception in BitmapTexture::updateContents.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103239</commentid>
    <comment_count>1</comment_count>
      <attachid>255190</attachid>
    <who name="">peavo</who>
    <bug_when>2015-06-19 07:22:56 -0700</bug_when>
    <thetext>Created attachment 255190
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103249</commentid>
    <comment_count>2</comment_count>
      <attachid>255190</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-06-19 09:07:09 -0700</bug_when>
    <thetext>Comment on attachment 255190
Patch

r=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103250</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-06-19 09:08:41 -0700</bug_when>
    <thetext>It looks like this null check is missing in a few places system-wide (not just WinCairo).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103253</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-06-19 09:43:04 -0700</bug_when>
    <thetext>This bug was originally reported back in 2008! See Bug 22132. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103266</commentid>
    <comment_count>5</comment_count>
      <attachid>255190</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-06-19 10:14:11 -0700</bug_when>
    <thetext>Comment on attachment 255190
Patch

Clearing flags on attachment: 255190

Committed r185752: &lt;http://trac.webkit.org/changeset/185752&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103267</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-06-19 10:14:16 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103582</commentid>
    <comment_count>7</comment_count>
    <who name="">peavo</who>
    <bug_when>2015-06-19 23:07:41 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Comment on attachment 255190 [details]
&gt; Patch
&gt; 
&gt; r=me.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103591</commentid>
    <comment_count>8</comment_count>
    <who name="">peavo</who>
    <bug_when>2015-06-19 23:53:01 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; This bug was originally reported back in 2008! See Bug 22132. :-)

Thanks for fixing this, Brent :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877202</commentid>
    <comment_count>9</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-06-21 20:12:21 -0700</bug_when>
    <thetext>*** Bug 102011 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>255190</attachid>
            <date>2015-06-19 07:22:56 -0700</date>
            <delta_ts>2015-06-19 10:14:11 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-146147-20150619162213.patch</filename>
            <type>text/plain</type>
            <size>1537</size>
            <attacher>peavo</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE4NTc0NykKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDE1LTA2LTE5ICBQZXIgQXJu
ZSBWb2xsYW4gIDxwZWF2b0BvdXRsb29rLmNvbT4KKworICAgICAgICBbV2luQ2Fpcm9dIE51bGwg
cG9pbnRlciBjcmFzaCBpbiBCaXRtYXBUZXh0dXJlOjp1cGRhdGVDb250ZW50cy4KKyAgICAgICAg
aHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE0NjE0NworCisgICAgICAg
IFJldmlld2VkIGJ5I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