[Bug 715078] New: Critical message when second consumer connects to shared RTSP media factory

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Nov 23 11:06:47 PST 2013


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

           Summary: Critical message when second consumer connects to
                    shared RTSP media factory
    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: me at andrey-utkin.pp.ua
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


gst-rtsp-server is built from git revision
33c4bdfa01c8db82e1dd50c1b43cb637dea2d103 (of Nov 18, 2013).
Gstreamer and everything is 1.2.0.

To reproduce it, you can use the code given below (derived from
https://github.com/RidgeRun/eval-sdk-imx6/blob/master/myapps/rr-rtsp-server/src/src/rr_rtsp_server.c
, slightly updated to succeed compilation, also changed port to 8554).

I start it, then i start a client process with "ffmpeg
rtsp://localhost:8554/test". It works. Then i start one more client process
with same ffmpeg command, and critical message appears:

GStreamer-CRITICAL **: gst_mini_object_unref: assertion `mini_object->refcount
> 0' failed

If i don't set G_DEBUG=fatal_criticals, the second client likely receives media
stream OK.

This critical message does not appear when i omit the line
gst_rtsp_media_factory_set_shared(factory, TRUE);

I'd be grateful for at least the explanation of what that means.

Code: https://gist.github.com/krieger-od/7618457
Command line and output: https://gist.github.com/krieger-od/7618491
GDB info: https://gist.github.com/krieger-od/7618508

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