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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 30 16:43:24 PDT 2014


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

--- Comment #1 from Aleix Conchillo Flaqué <aconchillo at gmail.com> 2014-09-30 23:43:19 UTC ---
Created an attachment (id=287491)
 View: https://bugzilla.gnome.org/attachment.cgi?id=287491
 Review: https://bugzilla.gnome.org/review?bug=737690&attachment=287491

set session media to NULL without the client lock

This patch fixes the problem by calling 

   gst_rtsp_session_filter (sess, filter_session_media, client);

inside cleanup_session where client lock is not acquired.

This also seems to solve other bugs and lots of assertion critical warnings (in
a stress test with thousands of connection/reconnections).

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