[Bug 761844] New: rtsp-server: tls client socket leaks when using new main context

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 11 00:01:06 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=761844

            Bug ID: 761844
           Summary: rtsp-server: tls client socket leaks when using new
                    main context
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: aconchillo at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 320835
  --> https://bugzilla.gnome.org/attachment.cgi?id=320835&action=edit
test-video with different main context

I've updated our streaming server to use GStreamer 1.6.3 (gst-rtsp-server
1.6.2), glib 2.46.2 and glib-networking 2.46.1.

There's an RTSP TLS socket leak for the socket used to communicate back with
the client.

The leak only happens occurs if a different GMainContext is used. I'm attaching
a patch for the examples/test-video.c.

Once the server is running just run a client with:

$ gst-launch-1.0 rtspsrc location=rtsps://user:password@127.0.0.1:8554/test
tls-validation-flags=0 ! fakesink silent=false -v

lsof will show the leaks.

This worked before with GStreamer 1.4.5, glib 2.42.0 and glib-networking 2.42.0

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