[Bug 737690] New: rtsp-client: deadlock when setting session medias to NULL

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 30 16:35:34 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=737690
  GStreamer | gst-rtsp-server | git

           Summary: rtsp-client: deadlock when setting session medias to
                    NULL
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aconchillo at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


client_unwatch_session is called with the client lock and sets session medias
to NULL with the lock acquired.

In my app I'm using RTP session "on-ssrc-stats" where I use 
gst_rtsp_client_session_filter.

So, if a media "on-ssrc-stats" happens while client_unwatch_session has also
been called a deadlock occurs. That's because gst_rtsp_client_session_filter is
waiting for the client lock and  gst_rtsp_media_unprepare is waiting for the
pad that emitted "on-ssrc-stats".

I can't attach a backtrace since it point to some internal code which wouldn't
make much sense here.

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