[Bug 762702] gst_bus_add_watch will SEGV when process reaches fd limit

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 26 10:18:02 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.7.90

--- Comment #6 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Creating an ERROR message is not trivial here though as messages have
sources... we could use the bus as a source but that might break assumptions in
existing code that error messages only come from elements.

Let's get this patch here in for now, can be improved later.


commit 5048155f575856b0a5a07d95dac72b90bee9d7bb
Author: James Stevenson <james at stev.org>
Date:   Thu Feb 25 22:36:14 2016 +0000

    bus: Prevent gst_bus_add_watch_full_unlocked from a segfault if priv->poll
== NULL

    This happens if the process runs out of file descriptors. Better print
    a critical warning instead of just crashing.

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

-- 
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