<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][GStreamer] ClearKey EME v1 decryption support"
   href="https://bugs.webkit.org/show_bug.cgi?id=154235#c20">Comment # 20</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][GStreamer] ClearKey EME v1 decryption support"
   href="https://bugs.webkit.org/show_bug.cgi?id=154235">bug 154235</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=154235#c19">comment #19</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=271332&amp;action=diff" name="attach_271332" title="patch">attachment 271332</a> <a href="attachment.cgi?id=271332&amp;action=edit" title="patch">[details]</a></span>
&gt; patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=271332&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=271332&amp;action=review</a>
&gt; 
&gt; &gt;&gt; Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:108
&gt; &gt;&gt; +    GRefPtr&lt;GstElementFactory&gt; clearKeyDecryptorFactory = gst_element_factory_find(&quot;webkitclearkey&quot;);
&gt; &gt; 
&gt; &gt; adoptGRef
&gt; 
&gt; #0  0x00007fb7b781d253 in _g_log_abort (breakpoint=1) at
&gt; /home/phil/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.46.0/glib/
&gt; gmessages.c:324
&gt; #1  g_logv (log_domain=0x7fb7b7b41170 &quot;GLib-GObject&quot;,
&gt; log_level=G_LOG_LEVEL_CRITICAL, format=&lt;optimized out&gt;,
&gt; args=args&#64;entry=0x7fff59e44618)
&gt;     at
&gt; /home/phil/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.46.0/glib/
&gt; gmessages.c:1081
&gt; #2  0x00007fb7b781d3b2 in g_log (log_domain=log_domain&#64;entry=0x7fb7b7b41170
&gt; &quot;GLib-GObject&quot;, log_level=log_level&#64;entry=G_LOG_LEVEL_CRITICAL,
&gt; format=format&#64;entry=0x7fb7b788b786 &quot;%s: assertion '%s' failed&quot;)
&gt;     at
&gt; /home/phil/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.46.0/glib/
&gt; gmessages.c:1119
&gt; #3  0x00007fb7b781d3d9 in g_return_if_fail_warning
&gt; (log_domain=log_domain&#64;entry=0x7fb7b7b41170 &quot;GLib-GObject&quot;,
&gt; pretty_function=pretty_function&#64;entry=0x7fb7b7b44af0 &lt;__func__.13475&gt;
&gt; &quot;g_object_is_floating&quot;, 
&gt;     expression=expression&#64;entry=0x7fb7b7b4375a &quot;G_IS_OBJECT (object)&quot;) at
&gt; /home/phil/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.46.0/glib/
&gt; gmessages.c:1128
&gt; #4  0x00007fb7b7b1ed6c in g_object_is_floating (_object=0x0) at
&gt; /home/phil/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.46.0/gobject/
&gt; gobject.c:2815
&gt; #5  0x00007fb7c48d6739 in WTF::adoptGRef&lt;_GstElementFactory&gt; (ptr=0x0) at
&gt; ../../Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.cpp:167
&gt; #6  0x00007fb7c48ecf74 in WebCore::registerWebKitGStreamerElements () at
&gt; ../../Source/WebCore/platform/graphics/gstreamer/
&gt; MediaPlayerPrivateGStreamerBase.cpp:108</span >

This is a bug of GRefPtr&lt;GstElementFactory&gt; adoptGRef(GstElementFactory* ptr), the assert there is wrong, it should be:

ASSERT(!ptr || !g_object_is_floating(G_OBJECT(ptr)));</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>