[Bug 649617] New: Deadlock and other fixes for rtpssrcdemux

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri May 6 16:17:43 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=649617
  GStreamer | gst-plugins-good | git

           Summary: Deadlock and other fixes for rtpssrcdemux
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: olivier.crete at ocrete.ca
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Here are some patches to fix some problems with rtpssrcdemux:

1. It emits signals with its lock held (causing deadlocks when used with the
re-negotiate event patches)
2. There is no pad iterate for its sink pads

Also there is another potential problem for which I have no solution, I'm
afraid there is a potential race if the "clear-ssrc" action signal is called
while a chain function is being called.. It could free the "dpad" struct while
it is being used by the chain functions. Refcounting the dpad struct would fix
that.. But then you get into the problem of what happens if you are unlucky
enough to try to re-add the src pad while it is being removed.. Like remove it
from the list, release the lock, try to re-add it (but before the src pads have
been removed from the object), it gets nasty...

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