[Bug 709730] New: GstRTSPThread pool leaks threads

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 9 15:33:49 CEST 2013


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

           Summary: GstRTSPThread pool leaks threads
    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: ognyan.tonchev at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=256802)
 View: https://bugzilla.gnome.org/attachment.cgi?id=256802
 Review: https://bugzilla.gnome.org/review?bug=709730&attachment=256802

One ref is always kept for the thread's main loop and every call to
gst_rtsp_thread_pool_get_thread () results in a new ref which is dropped from
gst_thread_stop ().

All reused client threads are currently leaked.

I am also proposing a patch which solves the leak. One ref is always kept for
the thread's main loop and every call to gst_rtsp_thread_pool_get_thread ()
results in a new ref which is dropped from gst_thread_stop ().

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