<?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>141248</bug_id>
          
          <creation_ts>2015-02-04 07:40:55 -0800</creation_ts>
          <short_desc>[WinCairo] Crash when media player is destroyed.</short_desc>
          <delta_ts>2015-02-23 07:22:22 -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>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>
          
          
          <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>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1066801</commentid>
    <comment_count>0</comment_count>
    <who name="">peavo</who>
    <bug_when>2015-02-04 07:40:55 -0800</bug_when>
    <thetext>A COM smart pointer is both released, and set to null. This means that the COM Release method is called twice, causing a crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1066802</commentid>
    <comment_count>1</comment_count>
      <attachid>246032</attachid>
    <who name="">peavo</who>
    <bug_when>2015-02-04 07:44:44 -0800</bug_when>
    <thetext>Created attachment 246032
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1066830</commentid>
    <comment_count>2</comment_count>
      <attachid>246032</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2015-02-04 09:19:37 -0800</bug_when>
    <thetext>Comment on attachment 246032
Patch

I remember we found some trick to make it impossible to call deref() on a RefPtr, but I don’t remember what it was or if we did it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1066843</commentid>
    <comment_count>3</comment_count>
    <who name="">peavo</who>
    <bug_when>2015-02-04 09:54:25 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Comment on attachment 246032 [details]
&gt; Patch
&gt; 
&gt; I remember we found some trick to make it impossible to call deref() on a
&gt; RefPtr, but I don’t remember what it was or if we did it.

I see, would be nice to have that in the COMPtr class aswell.

Thanks for reviewing :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1071187</commentid>
    <comment_count>4</comment_count>
    <who name="">peavo</who>
    <bug_when>2015-02-23 06:31:39 -0800</bug_when>
    <thetext>cq+ ? ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1071194</commentid>
    <comment_count>5</comment_count>
      <attachid>246032</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-02-23 07:22:16 -0800</bug_when>
    <thetext>Comment on attachment 246032
Patch

Clearing flags on attachment: 246032

Committed r180501: &lt;http://trac.webkit.org/changeset/180501&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1071195</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-02-23 07:22:22 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>246032</attachid>
            <date>2015-02-04 07:44:44 -0800</date>
            <delta_ts>2015-02-23 07:22:16 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-141248-20150204164432.patch</filename>
            <type>text/plain</type>
            <size>1376</size>
            <attacher>peavo</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE3OTYwMCkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE2IEBACisyMDE1LTAyLTA0ICBwZWF2b0Bv
dXRsb29rLmNvbSAgPHBlYXZvQG91dGxvb2suY29tPgorCisgICAgICAgIFtXaW5DYWlyb10gQ3Jh
c2ggd2hlbiBtZWRpYSBwbGF5ZXIgaXMgZGVzdHJveWVkLgorICAgICAgICBodHRwczovL2J1Z3Mu
d2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTQxMjQ4CisKKyAgICAgICAgUmV2aWV3ZWQgYnkg
Tk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgQSBDT00gc21hcnQgcG9pbnRlciBpcyBib3RoIHJl
bGVhc2VkLCBhbmQgc2V0IHRvIG51bGwuCisgICAgICAgIFRoaXMgbWVhbnMgdGhhdCB0aGUgQ09N
IFJlbGVhc2UgbWV0aG9kIGlzIGNhbGxlZCB0d2ljZSwgY2F1c2luZyBhIGNyYXNoLgorCisgICAg
ICAgICogcGxhdGZvcm0vZ3JhcGhpY3Mvd2luL01lZGlhUGxheWVyUHJpdmF0ZU1lZGlhRm91bmRh
dGlvbi5jcHA6CisgICAgICAgIChXZWJDb3JlOjpNZWRpYVBsYXllclByaXZhdGVNZWRpYUZvdW5k
YXRpb246OmVuZFNlc3Npb24pOgorCiAyMDE1LTAyLTA0ICBDaHJpcyBEdW1leiAgPGNkdW1lekBh
cHBsZS5jb20+CiAKICAgICAgICAgQWRkIHJlbW92ZUZpcnN0KHZhbHVlKSAvIHJlbW92ZUFsbCh2
YWx1ZSkgbWV0aG9kcyB0byBXVEY6OlZlY3RvcgpJbmRleDogU291cmNlL1dlYkNvcmUvcGxhdGZv
cm0vZ3JhcGhpY3Mvd2luL01lZGlhUGxheWVyUHJpdmF0ZU1lZGlhRm91bmRhdGlvbi5jcHAKPT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PQotLS0gU291cmNlL1dlYkNvcmUvcGxhdGZvcm0vZ3JhcGhpY3Mvd2luL01lZGlhUGxh
eWVyUHJpdmF0ZU1lZGlhRm91bmRhdGlvbi5jcHAJKHJldmlzaW9uIDE3OTU0MSkKKysrIFNvdXJj
ZS9XZWJDb3JlL3BsYXRmb3JtL2dyYXBoaWNzL3dpbi9NZWRpYVBsYXllclByaXZhdGVNZWRpYUZv
dW5kYXRpb24uY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0yNDUsNyArMjQ1LDYgQEAgYm9vbCBNZWRp
YVBsYXllclByaXZhdGVNZWRpYUZvdW5kYXRpb246OgogewogICAgIGlmIChtX21lZGlhU2Vzc2lv
bikgewogICAgICAgICBtX21lZGlhU2Vzc2lvbi0+U2h1dGRvd24oKTsKLSAgICAgICAgbV9tZWRp
YVNlc3Npb24tPlJlbGVhc2UoKTsKICAgICAgICAgbV9tZWRpYVNlc3Npb24gPSBudWxscHRyOwog
ICAgIH0KIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>