[Bug 748175] New: gst_rtsp_server_client_filter hangs

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 20 03:19:11 PDT 2015


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

            Bug ID: 748175
           Summary: gst_rtsp_server_client_filter hangs
    Classification: Platform
           Product: GStreamer
           Version: 1.4.5
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: james at stev.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When calling gst_rtsp_server_client_filter with a function which always returns
GST_RTSP_FILTER_REMOVE and clients are connected to the rtsp will cause random
hangs in the application and the function gst_rtsp_server_client_filter will
never return.

Example code:

static GstRTSPFilterResult KickAllFilter (GstRTSPServer *server, GstRTSPClient
*client, gpointer user_data)
{
        return GST_RTSP_FILTER_REMOVE;
}

GList *lst = gst_rtsp_server_client_filter(m_server, KickAllFilter, NULL);
g_list_free(lst);


Stack Trace:

Thread 7 (Thread 0x7ffff1bfb700 (LWP 28114)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff73f09a9 in g_mutex_lock_slowpath
(mutex=mutex at entry=0x7fffec00fb30) at
/build/buildd/glib2.0-2.42.1/./glib/gthread-posix.c:1314
#2  0x00007ffff73f1372 in g_mutex_lock (mutex=mutex at entry=0x7fffec00fb30) at
/build/buildd/glib2.0-2.42.1/./glib/gthread-posix.c:1338
#3  0x00007ffff73a9da4 in g_source_unref_internal (source=0x7fffec012000,
context=0x7fffec00fb30, have_lock=0)
    at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:2018
#4  0x00007ffff714f377 in gst_rtsp_server_client_filter (server=0x7fffec004860,
func=0x411253 <KickAllFilter(GstRTSPServer*, GstRTSPClient*, gpointer)>,
    user_data=0x0) at rtsp-server.c:1409
#5  0x00000000004112f0 in RTSPServer::KickAll (this=0x818870) at
RTSPServer.cpp:76

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