After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 762135 - deadlock when calling rtpbin.emit("get-internal-session", 0) from python
deadlock when calling rtpbin.emit("get-internal-session", 0) from python
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.6.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-16 12:32 UTC by Ben
Modified: 2018-11-03 15:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdb output when the app deadlock (85.21 KB, text/plain)
2016-02-16 12:32 UTC, Ben
Details

Description Ben 2016-02-16 12:32:06 UTC
Created attachment 321363 [details]
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)
Comment 1 GStreamer system administrator 2018-11-03 15:07:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/257.