[Bug 762135] New: deadlock when calling rtpbin.emit("get-internal-session", 0) from python

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 16 12:32:06 UTC 2016


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

            Bug ID: 762135
           Summary: deadlock when calling
                    rtpbin.emit("get-internal-session", 0) from python
    Classification: Platform
           Product: GStreamer
           Version: 1.6.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ben.browitt at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 321363
  --> https://bugzilla.gnome.org/attachment.cgi?id=321363&action=edit
gdb output when the app deadlock

I have a python3 app that push RTP and RTCP packets through appsrc to rtpbin.
When adding and removing rtp sources fast enough, the app deadlock at sending
the gst-internal-session.

slomo comment on the irc channel:
it's ssrc_demux_pad_removed, the free_stream() thing there is doing state
changes and stuff with the lock held


self.rtpbin.connect("pad-added", self.on_pad_added)

def on_pad_added(self, element, pad):
  session = self.rtpbin.emit("get-internal-session", 0)

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