[Bug 774332] New: Latency tracer fails when asserting on GST_IS_EVENT (event)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Nov 12 16:47:12 UTC 2016


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

            Bug ID: 774332
           Summary: Latency tracer fails when asserting on GST_IS_EVENT
                    (event)
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: francisv at ifi.uio.no
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Using GST_TRACERS=latency with gst-play (with playbin2 or playbin3) throws
gst_mini_obbject_unref assertion fail.

Here a snippet:
$ USE_PLAYBIN3=1 GST_DEBUG="GST_TRACER:7" GST_TRACERS=latency gst-play-1.0
file:///home/francisv/media/Hydrate-Kenny_Beltrey.ogg
0:00:00.058056360   811      0x1f9c750 DEBUG             GST_TRACER
gsttracer.c:163:gst_tracer_register:<registry0> update existing feature
0x1db21c0 (latency)
0:00:00.058127640   811      0x1f9c750 DEBUG             GST_TRACER
gsttracer.c:163:gst_tracer_register:<registry0> update existing feature
0x1db2280 (log)
0:00:00.058148160   811      0x1f9c750 DEBUG             GST_TRACER
gsttracer.c:163:gst_tracer_register:<registry0> update existing feature
0x1db2340 (rusage)
0:00:00.058165760   811      0x1f9c750 DEBUG             GST_TRACER
gsttracer.c:163:gst_tracer_register:<registry0> update existing feature
0x1db2400 (stats)
0:00:00.058182880   811      0x1f9c750 DEBUG             GST_TRACER
gsttracer.c:163:gst_tracer_register:<registry0> update existing feature
0x1db24c0 (leaks)
0:00:00.058251760   811      0x1f9c750 TRACE             GST_TRACER
gsttracerrecord.c:110:gst_tracer_record_build_format: latency.class,
src=(structure)"scope\,\ type\=\(GType\)NULL\,\
related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PAD\;",
sink=(structure)"scope\,\ type\=\(GType\)NULL\,\
related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PAD\;",
time=(structure)"value\,\ type\=\(GType\)NULL\,\
description\=\(string\)\"time\\\ it\\\ took\\\ for\\\ the\\\ buffer\\\ to\\\
go\\\ from\\\ src\\\ to\\\ sink\\\ ns\"\,\
flags\=\(GstTracerValueFlags\)GST_TRACER_VALUE_FLAGS_AGGREGATED\,\
min\=\(guint64\)0\,\ max\=\(guint64\)18446744073709551615\;";
0:00:00.058318520   811      0x1f9c750 DEBUG             GST_TRACER
gsttracerrecord.c:124:gst_tracer_record_build_format: new format string:
latency, src=(string)%s, sink=(string)%s, time=(guint64)%lu;
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/francisv/media/Hydrate-Kenny_Beltrey.ogg
Redistribute latency...
0:00:00.154579720   811 0x7fb13807d370 TRACE             GST_TRACER :0::
latency, src=(string)source_src, sink=(string)audiosink-actual-sink-pulse_sink,
time=(guint64)76523480;

(gst-play-1.0:811): GStreamer-CRITICAL **: gst_event_get_structure: assertion
'GST_IS_EVENT (event)' failed

(gst-play-1.0:811): GStreamer-CRITICAL **: gst_structure_id_get: assertion
'GST_IS_STRUCTURE (structure)' failed
0:00:00.154707920   811 0x7fb13807d370 TRACE             GST_TRACER :0::
latency, src=(string)''_'', sink=(string)audiosink-actual-sink-pulse_sink,
time=(guint64)18446603674379275032;

(gst-play-1.0:811): GStreamer-CRITICAL **: gst_mini_object_unref: assertion
'mini_object->refcount > 0' failed

(gst-play-1.0:811): GStreamer-CRITICAL **: gst_event_get_structure: assertion
'GST_IS_EVENT (event)' failed

(gst-play-1.0:811): GStreamer-CRITICAL **: gst_structure_id_get: assertion
'GST_IS_STRUCTURE (structure)' failed
0:00:00.154936720   811 0x7fb13807d370 TRACE             GST_TRACER :0::
latency, src=(string)''_'', sink=(string)audiosink-actual-sink-pulse_sink,
time=(guint64)18446603674400764363;

(gst-play-1.0:811): GStreamer-CRITICAL **: gst_mini_object_unref: assertion
'mini_object->refcount > 0' failed

(gst-play-1.0:811): GStreamer-CRITICAL **: gst_event_get_structure: assertion
'GST_IS_EVENT (event)' failed

(gst-play-1.0:811): GStreamer-CRITICAL **: gst_structure_id_get: assertion
'GST_IS_STRUCTURE (structure)' failed
0:00:00.155028520   811 0x7fb13807d370 TRACE             GST_TRACER :0::
latency, src=(string)''_'', sink=(string)audiosink-actual-sink-pulse_sink,
time=(guint64)18446603674400856723;

(gst-play-1.0:811): GStreamer-CRITICAL **: gst_mini_object_unref: assertion
'mini_object->refcount > 0' failed
...


This issue does not occur with tracers: leaks, log, rusage, and stats.

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