[Bug 646624] GstBin: regression: creating too many bins fails, exhausting allowed file descriptor limit

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 6 03:06:38 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=646624
  GStreamer | gstreamer (core) | git

Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Sebastian Dröge <slomo at circular-chaos.org> 2011-04-06 10:06:33 UTC ---
commit bd1c40011434c1efaa696dc98ef855ef9cce9b28
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Wed Apr 6 12:03:18 2011 +0200

    bus: Check if pending messages are in the queue

    We can't rely completely on the poll fd because the fd might be
    created after messages were posted to the bus.

commit d7ff4ee6cb2493c6a669a5780ec6159cd351520d
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Sun Apr 3 16:11:50 2011 +0100

    checks: add GstBin unit test that creates a lot of bins

    Currently fails (in normal circumstances) because we create a
    socket pair for each bin's bus and exhaust the number of available
    file descriptors.

    https://bugzilla.gnome.org/show_bug.cgi?id=646624

commit 4bf8f1524f6e3374b3f3bc57322337723d06b928
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Tue Apr 5 16:22:48 2011 +0200

    bus: Only create the signalling socket pair when required

    Otherwise a new one would be created for every single bus and
    the process could easily run out of file descriptors.


    Fixes bug #646624.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list