[Bug 766940] Crash when continuously resizing a video pipeline after some time

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 6 15:02:08 UTC 2016


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

--- Comment #2 from Thomas Scheuermann <scheuermann at barco.com> ---
To compile the source I use:

gcc -o livescale livescale.c -g `pkg-config --libs --cflags gstreamer-1.0
gstreamer-video-1.0 gstreamer-app-1.0` -Wall -lX11

here is the backtrace of the crash. It looks always the same and happens only
if vaapi is involved:

(gdb) bt
#0  0x00007ffff71ad421 in g_type_check_value (value=value at entry=0x90) at
/home/barco/glib2.0-2.46.0/./gobject/gtype.c:4201
#1  0x00007ffff74843a4 in gst_value_init_and_copy (dest=0x7fffd8027fc0,
src=0x90) at gstvalue.c:5227
#2  0x00007ffff7485d8f in copy_garray_of_gstvalue (src=<optimized out>,
src=<optimized out>) at gstvalue.c:296
#3  0x00007ffff7485e80 in gst_value_copy_list_or_array (src_value=<optimized
out>, dest_value=0x7fffdfffdf28) at gstvalue.c:307
#4  0x00007ffff7460ec2 in gst_structure_copy
(structure=structure at entry=0x7fffe4093d80) at gststructure.c:353
#5  0x00007ffff740ebd1 in _gst_caps_copy (caps=0x7fffd80028a0) at gstcaps.c:174
#6  0x00007ffff30fa4e3 in  () at
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so
#7  0x00007ffff30fa58e in  () at
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so
#8  0x00007ffff772a8b7 in gst_base_transform_transform_caps (trans=0x90,
direction=(unknown: 144), caps=0x7fffd8000040, filter=0x7fffd8027790) at
gstbasetransform.c:536
#9  0x00007ffff772f8cc in gst_base_transform_default_query (filter=<optimized
out>, pad=<optimized out>, trans=<optimized out>) at gstbasetransform.c:757
#10 0x00007ffff772f8cc in gst_base_transform_default_query (trans=0x8450d0
[GstVaapiPostproc], direction=(unknown: 3623889536), query=0x7fffd8038140) at
gstbasetransform.c:1596
#11 0x00007ffff7440ab0 in gst_pad_query (pad=0x809000 [GstPad],
query=0x7fffd8038140) at gstpad.c:3921
#12 0x00007ffff74410db in gst_pad_peer_query (pad=0x81eb90 [GstDecodePad],
query=0x7fffd8038140) at gstpad.c:4053
#13 0x00007ffff7475ca8 in query_caps_func (pad=0x81eb90 [GstDecodePad],
data=0x7fffdfffe450) at gstutils.c:2557
#14 0x00007ffff743f7de in gst_pad_forward (pad=0x82ea40 [GstProxyPad],
forward=0x90, forward at entry=0x7ffff7475c80 <query_caps_func>,
user_data=0x7fffd8000040, user_data at entry=0x7fffdfffe450) at gstpad.c:2935
#15 0x00007ffff747842f in gst_pad_proxy_query_caps (pad=0x82ea40 [GstProxyPad],
query=0x7fffd8038140) at gstutils.c:2607
#16 0x00007ffff743fb10 in gst_pad_query_default (query=<optimized out>,
pad=<optimized out>) at gstpad.c:3113
#17 0x00007ffff743fb10 in gst_pad_query_default (pad=0x82ea40 [GstProxyPad],
parent=0x90, query=0x7fffd8038140) at gstpad.c:3341
#18 0x00007ffff339c956 in  () at
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstplayback.so
#19 0x00007ffff7440ab0 in gst_pad_query (pad=0x82ea40 [GstProxyPad],
query=0x7fffd8038140) at gstpad.c:3921
#20 0x00007ffff74410db in gst_pad_peer_query (pad=0x82cc90 [GstGhostPad],
query=0x7fffd8038140) at gstpad.c:4053
#21 0x00007ffff7475ca8 in query_caps_func (pad=0x82cc90 [GstGhostPad],
data=0x7fffdfffe760) at gstutils.c:2557
#22 0x00007ffff743f7de in gst_pad_forward (pad=0x82eee0 [GstProxyPad],
forward=0x90, forward at entry=0x7ffff7475c80 <query_caps_func>,
user_data=0x7fffd8000040, user_data at entry=0x7fffdfffe760) at gstpad.c:2935
#23 0x00007ffff747842f in gst_pad_proxy_query_caps (pad=0x82eee0 [GstProxyPad],
query=0x7fffd8038140) at gstutils.c:2607
#24 0x00007ffff743fb10 in gst_pad_query_default (query=<optimized out>,
pad=<optimized out>) at gstpad.c:3113
#25 0x00007ffff743fb10 in gst_pad_query_default (pad=0x82eee0 [GstProxyPad],
parent=0x90, query=0x7fffd8038140) at gstpad.c:3341
#26 0x00007ffff7440ab0 in gst_pad_query (pad=0x82eee0 [GstProxyPad],
query=0x7fffd8038140) at gstpad.c:3921
#27 0x00007ffff74410db in gst_pad_peer_query (pad=0x7fffe406d020 [GstPad],
query=0x7fffd8038140) at gstpad.c:4053
#28 0x00007ffff747b134 in gst_pad_peer_query_caps (pad=0x7fffe406d020 [GstPad],
filter=0x81b4f0) at gstutils.c:2887
#29 0x00007ffff30f8610 in  () at
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so
#30 0x00007ffff30f775b in  () at
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so
#31 0x00007ffff772e6ed in gst_base_transform_setcaps (outcaps=<optimized out>,
trans=<optimized out>) at gstbasetransform.c:1012
#32 0x00007ffff772e6ed in gst_base_transform_setcaps (trans=0x7fffe407b700
[GstVaapiPostproc], pad=0x7fffd8002f70, incaps=0x7fffe40a5e30) at
gstbasetransform.c:1392
#33 0x00007ffff772ebeb in gst_base_transform_reconfigure (trans=0x7fffe407b700
[GstVaapiPostproc]) at gstbasetransform.c:1472
#34 0x00007ffff772ed63 in default_submit_input_buffer (trans=0x7fffe407b700
[GstVaapiPostproc], is_discont=<optimized out>, inbuf=0x7fffe402b170) at
gstbasetransform.c:2026
#35 0x00007ffff772b113 in gst_base_transform_chain (pad=0x90,
parent=0x7fffe407b700 [GstVaapiPostproc], buffer=0x7fffe402b170) at
gstbasetransform.c:2326
#36 0x00007ffff743aaea in gst_pad_push_data (data=<optimized out>,
type=<optimized out>, pad=<optimized out>) at gstpad.c:4176
#37 0x00007ffff743aaea in gst_pad_push_data (pad=0x7fffe406cba0 [GstPad],
type=4151488656, data=0x7fffe402b170) at gstpad.c:4428
#38 0x00007ffff74427de in gst_pad_push (pad=0x7fffe406cba0 [GstPad],
buffer=0x7fffe402b170) at gstpad.c:4547
#39 0x00007ffff417ea97 in gst_queue_loop (queue=<optimized out>) at
gstqueue.c:1356
#40 0x00007ffff417ea97 in gst_queue_loop (pad=0x90) at gstqueue.c:1503
#41 0x00007ffff746cfc1 in gst_task_func (task=0x8665f0 [GstTask]) at
gsttask.c:332
#42 0x00007ffff6edbda8 in g_thread_pool_thread_proxy (data=<optimized out>) at
/home/barco/glib2.0-2.46.0/./glib/gthreadpool.c:307
#43 0x00007ffff6edb415 in g_thread_proxy (data=0x7fffe40a4630) at
/home/barco/glib2.0-2.46.0/./glib/gthread.c:778
#44 0x00007ffff69130a4 in start_thread (arg=0x7fffdffff700) at
pthread_create.c:309
#45 0x00007ffff664887d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

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