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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 7 20:23:05 UTC 2016


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

--- Comment #3 from Francisco Velazquez <francisv at ifi.uio.no> ---
francisv at francisv-MacBookPro:~/gst/master$ G_DEBUG="fatal-criticals"
USE_PLAYBIN3=1 GST_DEBUG="GST_TRACER:7" GST_TRACERS=latency gdb -q --args
/home/francisv/gst/master/gst-plugins-base/tools/.libs/gst-play-1.0
file:///home/francisv/media/Hydrate-Kenny_Beltrey.ogg
Reading symbols from
/home/francisv/gst/master/gst-plugins-base/tools/.libs/gst-play-1.0...done.
(gdb) r
Starting program:
/home/francisv/gst/master/gst-plugins-base/tools/.libs/gst-play-1.0
file:///home/francisv/media/Hydrate-Kenny_Beltrey.ogg
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0:00:00.070111480  6669       0x813840 DEBUG             GST_TRACER
gsttracer.c:163:gst_tracer_register:<registry0> update existing feature
0x61f1c0 (latency)
0:00:00.070209160  6669       0x813840 DEBUG             GST_TRACER
gsttracer.c:163:gst_tracer_register:<registry0> update existing feature
0x61f280 (log)
0:00:00.070339480  6669       0x813840 DEBUG             GST_TRACER
gsttracer.c:163:gst_tracer_register:<registry0> update existing feature
0x61f340 (rusage)
0:00:00.070370680  6669       0x813840 DEBUG             GST_TRACER
gsttracer.c:163:gst_tracer_register:<registry0> update existing feature
0x61f400 (stats)
0:00:00.070399840  6669       0x813840 DEBUG             GST_TRACER
gsttracer.c:163:gst_tracer_register:<registry0> update existing feature
0x61f4c0 (leaks)
0:00:00.070500560  6669       0x813840 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.070605640  6669       0x813840 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
[New Thread 0x7ffff4473700 (LWP 6673)]
[New Thread 0x7ffff33fa700 (LWP 6674)]
[New Thread 0x7ffff2bf9700 (LWP 6675)]
[New Thread 0x7fffe3999700 (LWP 6676)]
[New Thread 0x7fffdeb7f700 (LWP 6678)]
Redistribute latency...
[New Thread 0x7fffde37e700 (LWP 6679)]
0:00:00.276862200  6669 0x7fffe8049770 TRACE             GST_TRACER :0::
latency, src=(string)source_src, sink=(string)audiosink-actual-sink-pulse_sink,
time=(guint64)129491480;

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

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7fffdeb7f700 (LWP 6678)]
g_logv (log_domain=0x7ffff71e41c0 <g_log_domain_gstreamer> "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args at entry=0x7fffdeb7dec8) at
/build/buildd/glib2.0-2.40.2/./glib/gmessages.c:1038
1038    /build/buildd/glib2.0-2.40.2/./glib/gmessages.c: No such file or
directory.
(gdb) bt
#0  g_logv (log_domain=0x7ffff71e41c0 <g_log_domain_gstreamer> "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args at entry=0x7fffdeb7dec8) at
/build/buildd/glib2.0-2.40.2/./glib/gmessages.c:1038
#1  0x00007ffff6bd4d72 in g_log (log_domain=<optimized out>,
log_level=<optimized out>, format=<optimized out>) at
/build/buildd/glib2.0-2.40.2/./glib/gmessages.c:1071
#2  0x00007ffff714da52 in gst_event_get_structure (event=0x7fffe4007590) at
gstevent.c:344
#3  0x00007ffff499154a in calculate_latency (parent=0x7fffe8028440,
pad=0x7fffe8012270, ts=276998600) at gstlatency.c:152
#4  0x00007ffff49915b5 in do_push_buffer_post (self=0x61d220, ts=276998600,
pad=0x82d780) at gstlatency.c:163
#5  0x00007ffff7170c8d in gst_pad_push (pad=0x82d780, buffer=0x7fffec021bc0) at
gstpad.c:4579
#6  0x00007ffff7151c33 in gst_proxy_pad_chain_default (pad=0x82af00,
parent=0x7fffe801c040, buffer=0x7fffec021bc0) at gstghostpad.c:126
#7  0x00007ffff716f75f in gst_pad_chain_data_unchecked (pad=0x82af00,
type=4112, data=0x7fffec021bc0) at gstpad.c:4206
#8  0x00007ffff7170524 in gst_pad_push_data (pad=0x82b3e0, type=4112,
data=0x7fffec021bc0) at gstpad.c:4458
#9  0x00007ffff7170c0a in gst_pad_push (pad=0x82b3e0, buffer=0x7fffec021bc0) at
gstpad.c:4577
#10 0x00007ffff7151c33 in gst_proxy_pad_chain_default (pad=0x82dc20,
parent=0x82b3e0, buffer=0x7fffec021bc0) at gstghostpad.c:126
#11 0x00007ffff716f75f in gst_pad_chain_data_unchecked (pad=0x82dc20,
type=4112, data=0x7fffec021bc0) at gstpad.c:4206
#12 0x00007ffff7170524 in gst_pad_push_data (pad=0x7fffe80138f0, type=4112,
data=0x7fffec021bc0) at gstpad.c:4458
#13 0x00007ffff7170c0a in gst_pad_push (pad=0x7fffe80138f0,
buffer=0x7fffec021bc0) at gstpad.c:4577
#14 0x00007ffff606ff3d in gst_base_transform_chain (pad=0x7fffe80136b0,
parent=0x7fffe804e930, buffer=0x7fffec021bc0) at gstbasetransform.c:2378
#15 0x00007ffff716f75f in gst_pad_chain_data_unchecked (pad=0x7fffe80136b0,
type=4112, data=0x7fffec021bc0) at gstpad.c:4206
#16 0x00007ffff7170524 in gst_pad_push_data (pad=0x7fffe8013470, type=4112,
data=0x7fffec021bc0) at gstpad.c:4458
#17 0x00007ffff7170c0a in gst_pad_push (pad=0x7fffe8013470,
buffer=0x7fffec021bc0) at gstpad.c:4577
#18 0x00007ffff606ff3d in gst_base_transform_chain (pad=0x7fffe8013230,
parent=0x7fffe804a270, buffer=0x7fffec021bc0) at gstbasetransform.c:2378
#19 0x00007ffff716f75f in gst_pad_chain_data_unchecked (pad=0x7fffe8013230,
type=4112, data=0x7fffec021bc0) at gstpad.c:4206
#20 0x00007ffff7170524 in gst_pad_push_data (pad=0x82d9d0, type=4112,
data=0x7fffec021bc0) at gstpad.c:4458
#21 0x00007ffff7170c0a in gst_pad_push (pad=0x82d9d0, buffer=0x7fffec021bc0) at
gstpad.c:4577
#22 0x00007ffff7151c33 in gst_proxy_pad_chain_default (pad=0x82b170,
parent=0x7fffe803c1b0, buffer=0x7fffec021bc0) at gstghostpad.c:126
#23 0x00007ffff716f75f in gst_pad_chain_data_unchecked (pad=0x82b170,
type=4112, data=0x7fffec021bc0) at gstpad.c:4206
#24 0x00007ffff7170524 in gst_pad_push_data (pad=0x7fffe80126f0, type=4112,
data=0x7fffec021bc0) at gstpad.c:4458
#25 0x00007ffff7170c0a in gst_pad_push (pad=0x7fffe80126f0,
buffer=0x7fffec021bc0) at gstpad.c:4577
#26 0x00007ffff44b3dbf in gst_queue_push_one (queue=0x7fffe80360d0) at
gstqueue.c:1359
#27 0x00007ffff44b4c3d in gst_queue_loop (pad=0x7fffe80126f0) at
gstqueue.c:1506
#28 0x00007ffff71abef1 in gst_task_func (task=0x7fffe40173b0) at gsttask.c:334
#29 0x00007ffff71ad08e in default_func (tdata=0x7fffe8046a40, pool=0x622910) at
gsttaskpool.c:68
#30 0x00007ffff6bf388c in g_thread_pool_thread_proxy (data=<optimized out>) at
/build/buildd/glib2.0-2.40.2/./glib/gthreadpool.c:307
#31 0x00007ffff6bf2f05 in g_thread_proxy (data=0x7fffe8049770) at
/build/buildd/glib2.0-2.40.2/./glib/gthread.c:764
---Type <return> to continue, or q <return> to quit---
#32 0x00007ffff6669184 in start_thread (arg=0x7fffdeb7f700) at
pthread_create.c:312
#33 0x00007ffff639637d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)

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