After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795350 - gst_rtsp_client_close raise CRITICAL
gst_rtsp_client_close raise CRITICAL
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
1.14.0
Other Windows
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-18 09:34 UTC by yjjnls
Modified: 2018-11-03 15:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description yjjnls 2018-04-18 09:34:24 UTC
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?
Comment 1 GStreamer system administrator 2018-11-03 15:41:59 UTC
-- 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-rtsp-server/issues/41.