<?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>110015</bug_id>
          
          <creation_ts>2013-02-16 07:21:39 -0800</creation_ts>
          <short_desc>[GStreamer] GstBus leak</short_desc>
          <delta_ts>2013-06-18 04:14:48 -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>WebKitGTK</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>107544</dup_id>
          
          <bug_file_loc>http://www.quaddicted.com/stuff/WebQuake/Client/WebQuake.htm</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 name="Priit Laes (IRC: plaes)">plaes</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>calvaris</cc>
    
    <cc>cdumez</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>834714</commentid>
    <comment_count>0</comment_count>
    <who name="Priit Laes (IRC: plaes)">plaes</who>
    <bug_when>2013-02-16 07:21:39 -0800</bug_when>
    <thetext>This is with webkit-gtk-1.11.5 and Quake from http://www.quaddicted.com/stuff/WebQuake/Client/WebQuake.htm

(epiphany:25272): GStreamer-CRITICAL **: gst_poll_get_read_gpollfd: assertion `set != NULL&apos; failed

(epiphany:25272): GStreamer-CRITICAL **: gst_poll_write_control: assertion `set != NULL&apos; failed

(epiphany:25272): GStreamer-CRITICAL **: gstsystemclock: write control failed in wakeup_async: 24:Too many open files


(epiphany:25272): GStreamer-CRITICAL **: gst_poll_free: assertion `set != NULL&apos; failed
[New Thread 0x7ffded15b700 (LWP 25993)]
[New Thread 0x7ffdec95a700 (LWP 25994)]

(epiphany:25272): GStreamer-CRITICAL **: gst_poll_get_read_gpollfd: assertion `set != NULL&apos; failed

(epiphany:25272): GStreamer-CRITICAL **: gst_bus_create_watch: assertion `bus-&gt;priv-&gt;poll != NULL&apos; failed

(epiphany:25272): GLib-CRITICAL **: g_source_set_callback: assertion `source != NULL&apos; failed

Program received signal SIGSEGV, Segmentation fault.
g_source_attach (source=0x0, context=0x0) at gmain.c:1077
1077	gmain.c: No such file or directory.
(gdb) bt
#0  g_source_attach (source=0x0, context=0x0) at gmain.c:1077
#1  0x00007fffeec4b9fa in gst_bus_add_watch_full_unlocked (notify=&lt;optimized out&gt;, user_data=0x0, 
    func=0x7fffeec4a750 &lt;gst_bus_async_signal_func&gt;, priority=&lt;optimized out&gt;, bus=&lt;optimized out&gt;) at gstbus.c:867
#2  gst_bus_add_watch_full_unlocked (bus=&lt;optimized out&gt;, priority=&lt;optimized out&gt;, 
    func=0x7fffeec4a750 &lt;gst_bus_async_signal_func&gt;, user_data=0x0, notify=&lt;optimized out&gt;) at gstbus.c:846
#3  0x00007fffeec4bd3e in gst_bus_add_signal_watch_full (bus=0x7fff64a3ea30, priority=0) at gstbus.c:1256
#4  0x00007ffff6514aca in WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin () from /usr/lib64/libwebkitgtk-3.0.so.0
#5  0x00007ffff65156f8 in load () from /usr/lib64/libwebkitgtk-3.0.so.0
#6  0x00007ffff62ed875 in WebCore::MediaPlayer::loadWithNextMediaEngine () from /usr/lib64/libwebkitgtk-3.0.so.0
#7  0x00007ffff62edc84 in WebCore::MediaPlayer::load () from /usr/lib64/libwebkitgtk-3.0.so.0
#8  0x00007ffff59be277 in WebCore::HTMLMediaElement::loadResource () from /usr/lib64/libwebkitgtk-3.0.so.0
#9  0x00007ffff59be6e2 in WebCore::HTMLMediaElement::selectMediaResource () from /usr/lib64/libwebkitgtk-3.0.so.0
#10 0x00007ffff59be938 in WebCore::HTMLMediaElement::loadTimerFired () from /usr/lib64/libwebkitgtk-3.0.so.0
#11 0x00007ffff6398fba in WebCore::ThreadTimers::sharedTimerFiredInternal () from /usr/lib64/libwebkitgtk-3.0.so.0
#12 0x00007ffff653a6e2 in timeout_cb () from /usr/lib64/libwebkitgtk-3.0.so.0
#13 0x00007ffff1a6e3db in g_timeout_dispatch (source=&lt;optimized out&gt;, callback=&lt;optimized out&gt;, user_data=&lt;optimized out&gt;)
    at gmain.c:4026
#14 0x00007ffff1a6d813 in g_main_dispatch (context=0x70dec0) at gmain.c:2715
#15 g_main_context_dispatch (context=0x70dec0) at gmain.c:3219
#16 0x00007ffff1a6db60 in g_main_context_iterate (dispatch=1, block=&lt;optimized out&gt;, context=0x70dec0, self=&lt;optimized out&gt;)
    at gmain.c:3290
#17 g_main_context_iterate (context=0x70dec0, block=&lt;optimized out&gt;, dispatch=1, self=&lt;optimized out&gt;) at gmain.c:3227
#18 0x00007ffff1a6dc24 in g_main_context_iteration (context=0x70dec0, may_block=1) at gmain.c:3351
#19 0x00007ffff2894204 in g_application_run (application=0x871000, argc=&lt;optimized out&gt;, argv=0x7fffffffd868)
    at gapplication.c:1624
#20 0x0000000000433c30 in main (argc=1, argv=0x7fffffffd868) at ephy-main.c:499
(gdb)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>837513</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2013-02-20 09:22:20 -0800</bug_when>
    <thetext>I assume this is with GStreamer 1.0 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>837514</commentid>
    <comment_count>2</comment_count>
    <who name="Priit Laes (IRC: plaes)">plaes</who>
    <bug_when>2013-02-20 09:25:26 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; I assume this is with GStreamer 1.0 ?

Yes, gstreamer-1.0: v1.0.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>839649</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2013-02-22 09:20:12 -0800</bug_when>
    <thetext>The game seems up again, I basically get the same behavior as in bug 32281. Too many threads :(

That game loads a bunch of audio elements with data: uris... Seems to me WebAudio would be a better approach for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841835</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2013-02-26 03:03:14 -0800</bug_when>
    <thetext>I wonder if this is a duplicate of Bug 107544. The backtrace seems to be the same at least.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>901345</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2013-06-18 04:14:48 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 107544 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>