GNOME Bugzilla – Bug 768140
rtspsrc: Occasional crash on start/stop cycles
Last modified: 2018-11-03 15:10:10 UTC
Created attachment 330484 [details] [review] gst_rtspsrc_cleanup patch against concurrent access to streams Cyclically starting and stopping RTSP stream using rtspsrc may result in crash due to concurrency issue in cleanup method. Attached patch fixes the issue.
Review of attachment 330484 [details] [review]: While this looks correct (you could use g_list_free_full() btw), it does not look complete. All other places where the streams list is accessed would need to be protected by the same mutex. It looks like currently they are not (and in many places by no mutex at all?!).
-- 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/283.