On Mon, 7 Mar 2016, Christophe Fergeau wrote:

> Hey,
> 
> One more issue I have with this series is that I reliably manage to
> get a hung spice-server with gstreamer:mjpeg and gstreamer:h264
> I test it with you tube, and then hovering over the video seek bar so
> that lots of thumbnails are shown. I'm not sure whether it's an issue
> with these patches, a bug in my gstreamer installation or something
> else.

I think I have reproduced this though it's not systematic. Setting 
GST_DEBUG=4 I noticed some messages indicating that the process is 
running out of file descriptors. Indeed a look into /proc showed 4096 
file descriptors open.

0:03:01.185809093 26935 0x7f0bdd06cf20 WARN                GST_POLL 
gstpoll.c:602:gst_poll_new: 0x7f0be9890190: can't create socket pair !
(Xorg:26935): GStreamer-CRITICAL **: gst_poll_write_control: assertion 'set != 
NULL' failed


My current theory is that hovering over the video seek bar results in 
the stream size changing all the time which is compounded by the fact 
that the video is split across 3 or 4 streams. This causes the GStreamer 
encoder to keep rebuilding the pipeline which I suspect leaks these 
socket pairs. I still need to pinpoint the exact source of the leak and 
particularly whether it is caused by a bug in the GStreamer encoder or 
in GStreamer itself.


-- 
Francois Gouget <fgou...@codeweavers.com>
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to