[Bug 795350] New: gst_rtsp_client_close raise CRITICAL

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 18 09:34:24 UTC 2018


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

            Bug ID: 795350
           Summary: gst_rtsp_client_close raise CRITICAL
    Classification: Platform
           Product: GStreamer
           Version: 1.14.0
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: x-jj at foxmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I want to dynamicly stop the rtsp-server while the pipeline is running.
gst_rtsp_client_close() is used to close the streaming client. But I got the
warning below:

GLib-CRITICAL **: g_main_context_unref: assertion 'g_atomic_int_get
(&context->ref_count) > 0' failed

I found gst_rtsp_client_finalize() is invoked firstly and unref the main
context. The gst_rtsp_client_close() do the same thing and raise the critical
warnning.

If GST_DEBUG=rtspclient:5 is set, the debug log will consoled and my
application run correctly, where gst_rtsp_client_finalize() is invoked later.

I think the problem may be similar to
https://bugzilla.gnome.org/show_bug.cgi?id=790909

Any idea?

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