[Bug 697215] New: pad: discoverer timeout could flush the element pads while peer seetcaps
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Apr 3 13:03:28 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=697215
GStreamer | gstreamer (core) | 1.x
Summary: pad: discoverer timeout could flush the element pads
while peer seetcaps
Classification: Platform
Product: GStreamer
Version: 1.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: prahal at yahoo.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=240540)
View: https://bugzilla.gnome.org/attachment.cgi?id=240540
Review: https://bugzilla.gnome.org/review?bug=697215&attachment=240540
fix discoverer timeout mangling the state of an element when it is passing data
between src and sink
Gst discoverer timeout change the state of the pipeline thus if the
discover thread has not complete its discovery processing.
Here in the main thread, the timeout set the avdec_dvvideo sink pad
to flushing when it pre_activate to false - GST_MODE_NONE - in
gst_pad_activate_mode.
This when the discover thread has not yet added the buffer pool :
gst_video_decoder_negotiate_default attempts to set the caps before
calling the decide_allocation handler and as the pad is flushing this
returns false, decide_allocation never happens (thus get_output_buffer
from avvidedec fails).
Fixed by enclosing gst_pad_push_data content with the pad stream locking.
My understanding is that pad_push_data pass data from one element pad to
the same element peer pad.
Also pad stream lock is recursive while element lock is not. Same for
pad gst object lock. So locking on them on the discoverer timeout
is not an option as this handler calls functions which also lock on both
of them.
backtrace: thread "6" is the discoverer thread , thread "1" the discoverer
timeout one.
Thread 12 (Thread 0x7fc992787700 (LWP 21574)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fc992ab307c in worker (v=0x7fc99805d480) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-libav/gst-libs/ext/libav/libavcodec/pthread.c:210
#2 0x00007fc9fe2cde0e in start_thread (arg=0x7fc992787700) at
pthread_create.c:311
#3 0x00007fc9fd6e594d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 11 (Thread 0x7fc9e7be5700 (LWP 21573)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fc992ab307c in worker (v=0x7fc99805d480) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-libav/gst-libs/ext/libav/libavcodec/pthread.c:210
#2 0x00007fc9fe2cde0e in start_thread (arg=0x7fc9e7be5700) at
pthread_create.c:311
#3 0x00007fc9fd6e594d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 10 (Thread 0x7fc993fff700 (LWP 21572)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fc9fc8fffb5 in g_cond_wait (cond=0x7fc998006188, mutex=0x447cd68) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthread-posix.c:750
#2 0x00007fc9ec165a7f in gst_multi_queue_loop (pad=0x7fc99c044940 [GstPad]) at
gstmultiqueue.c:1252
#3 0x00007fc9fabf3b49 in gst_task_func (task=0x7fc984055360 [GstTask]) at
gsttask.c:316
#4 0x00007fc9fabf4c11 in default_func (tdata=0x7fc998001db0, pool=0x2783820
[GstTaskPool]) at gsttaskpool.c:70
#5 0x00007fc9fc8dbea4 in g_thread_pool_thread_proxy (data=0x2783120) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthreadpool.c:309
#6 0x00007fc9fc8db8b3 in g_thread_proxy (data=0x7fc994003000) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthread.c:798
#7 0x00007fc9fe2cde0e in start_thread (arg=0x7fc993fff700) at
pthread_create.c:311
#8 0x00007fc9fd6e594d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 9 (Thread 0x7fc9a0d98700 (LWP 21571)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fc9fc8fffb5 in g_cond_wait (cond=0x3f1e060, mutex=0x3f1e018) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthread-posix.c:750
#2 0x00007fc9fabf3a77 in gst_task_func (task=0x3f1e000 [GstTask]) at
gsttask.c:301
#3 0x00007fc9fabf4c11 in default_func (tdata=0x4487170, pool=0x2783820
[GstTaskPool]) at gsttaskpool.c:70
#4 0x00007fc9fc8dbea4 in g_thread_pool_thread_proxy (data=0x2783120) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthreadpool.c:309
#5 0x00007fc9fc8db8b3 in g_thread_proxy (data=0x7fc994002c00) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthread.c:798
#6 0x00007fc9fe2cde0e in start_thread (arg=0x7fc9a0d98700) at
pthread_create.c:311
#7 0x00007fc9fd6e594d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 8 (Thread 0x7fc9a1dd3700 (LWP 21515)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fc9fc8fffb5 in g_cond_wait (cond=0x44a9b00, mutex=0x44a9ad8) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthread-posix.c:750
#2 0x00007fc9f9cb0604 in gst_data_queue_push (queue=0x44a9a70 [GstDataQueue],
item=0x7fc99c001270) at gstdataqueue.c:456
#3 0x00007fc9ec166447 in gst_multi_queue_chain (pad=0x7fc99c045660 [GstPad],
parent=0x447cc00 [GstMultiQueue], buffer=0x7fc9d4025570) at
gstmultiqueue.c:1417
#4 0x00007fc9fabbfc2f in gst_pad_chain_data_unchecked (pad=0x7fc99c045660
[GstPad], type=4112, data=0x7fc9d4025570) at gstpad.c:3652
#5 0x00007fc9fabc0707 in gst_pad_push_data (pad=0x42b5810 [GstPad], type=4112,
data=0x7fc9d4025570) at gstpad.c:3869
#6 0x00007fc9fabc0bfe in gst_pad_push (pad=0x42b5810 [GstPad],
buffer=0x7fc9d4025570) at gstpad.c:3972
#7 0x00007fc9a039208b in gst_dvdemux_demux_video (dvdemux=0x7fc994290ab0
[GstDVDemux], buffer=0x7fc9d4025570, duration=40000000) at gstdvdemux.c:1289
#8 0x00007fc9a0392cf1 in gst_dvdemux_demux_frame (dvdemux=0x7fc994290ab0
[GstDVDemux], buffer=0x7fc9d4025570) at gstdvdemux.c:1449
#9 0x00007fc9a0393729 in gst_dvdemux_loop (pad=0x7fc99c044da0 [GstPad]) at
gstdvdemux.c:1690
#10 0x00007fc9fabf3b49 in gst_task_func (task=0x445fd80 [GstTask]) at
gsttask.c:316
#11 0x00007fc9fabf4c11 in default_func (tdata=0x7fc9840049a0, pool=0x2783820
[GstTaskPool]) at gsttaskpool.c:70
#12 0x00007fc9fc8dbea4 in g_thread_pool_thread_proxy (data=0x2783120) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthreadpool.c:309
#13 0x00007fc9fc8db8b3 in g_thread_proxy (data=0x7fc9d4050140) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthread.c:798
#14 0x00007fc9fe2cde0e in start_thread (arg=0x7fc9a1dd3700) at
pthread_create.c:311
#15 0x00007fc9fd6e594d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 6 (Thread 0x7fc9a3225700 (LWP 21513)):
#0 gst_pad_push_event (pad=0x42b4230 [GstPad], event=0x7fc99c026c00) at
gstpad.c:4676
#1 0x00007fc9fa0fb034 in gst_pad_set_caps (pad=0x42b4230 [GstPad],
caps=0x7fc99c04d0f0) at /opt/gnome/include/gstreamer-1.0/gst/gstcompat.h:54
#2 0x00007fc9fa1068ed in gst_video_decoder_negotiate_default
(decoder=0x7fc99805ac80 [avdec_dvvideo]) at gstvideodecoder.c:2967
#3 0x00007fc9fa106d3d in gst_video_decoder_negotiate (decoder=0x7fc99805ac80
[avdec_dvvideo]) at gstvideodecoder.c:3054
#4 0x00007fc9fa107014 in gst_video_decoder_allocate_output_frame
(decoder=0x7fc99805ac80 [avdec_dvvideo], frame=0x7fc99c2fa340) at
gstvideodecoder.c:3140
#5 0x00007fc992819140 in get_output_buffer (ffmpegdec=0x7fc99805ac80
[avdec_dvvideo], frame=0x7fc99c2fa340) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-libav/ext/libav/gstavviddec.c:957
#6 0x00007fc992819cef in gst_ffmpegviddec_video_frame
(ffmpegdec=0x7fc99805ac80 [avdec_dvvideo], data=0x7fc99c2fd800 "\037\a",
size=144000, frame=0x7fc99c2fa340, ret=0x7fc9a32247ac) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-libav/ext/libav/gstavviddec.c:1145
#7 0x00007fc99281a054 in gst_ffmpegviddec_frame (ffmpegdec=0x7fc99805ac80
[avdec_dvvideo], data=0x7fc99c2fd800 "\037\a", size=144000,
got_data=0x7fc9a3224824, frame=0x7fc99c2fa340, ret=0x7fc9a32247ac) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-libav/ext/libav/gstavviddec.c:1219
#8 0x00007fc99281aa8f in gst_ffmpegviddec_handle_frame (decoder=0x7fc99805ac80
[avdec_dvvideo], frame=0x7fc99c2fa340) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-libav/ext/libav/gstavviddec.c:1335
#9 0x00007fc9fa105f63 in gst_video_decoder_decode_frame
(decoder=0x7fc99805ac80 [avdec_dvvideo], frame=0x7fc99c2fa340) at
gstvideodecoder.c:2697
#10 0x00007fc9fa0ff69d in gst_video_decoder_chain_forward
(decoder=0x7fc99805ac80 [avdec_dvvideo], buf=0x7fc99c2d7670, at_eos=0) at
gstvideodecoder.c:1737
#11 0x00007fc9fa10141c in gst_video_decoder_chain (pad=0x42b4000 [GstPad],
parent=0x7fc99805ac80 [avdec_dvvideo], buf=0x7fc99c2d7670) at
gstvideodecoder.c:1984
#12 0x00007fc9fabbfc2f in gst_pad_chain_data_unchecked (pad=0x42b4000 [GstPad],
type=4112, data=0x7fc99c2d7670) at gstpad.c:3652
#13 0x00007fc9fabc0707 in gst_pad_push_data (pad=0x2dfdd90 [GstPad], type=4112,
data=0x7fc99c2d7670) at gstpad.c:3869
#14 0x00007fc9fabc0bfe in gst_pad_push (pad=0x2dfdd90 [GstPad],
buffer=0x7fc99c2d7670) at gstpad.c:3972
#15 0x00007fc9ec165126 in gst_single_queue_push_one (mq=0x447cc00
[GstMultiQueue], sq=0x7fc998009550, object=0x7fc99c2d7670) at
gstmultiqueue.c:1057
#16 0x00007fc9ec165fc7 in gst_multi_queue_loop (pad=0x2dfdd90 [GstPad]) at
gstmultiqueue.c:1303
#17 0x00007fc9fabf3b49 in gst_task_func (task=0x7fc984055480 [GstTask]) at
gsttask.c:316
#18 0x00007fc9fabf4c11 in default_func (tdata=0x7fc998001c50, pool=0x2783820
[GstTaskPool]) at gsttaskpool.c:70
#19 0x00007fc9fc8dbea4 in g_thread_pool_thread_proxy (data=0x2783120) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthreadpool.c:309
#20 0x00007fc9fc8db8b3 in g_thread_proxy (data=0x7fc9d404fd90) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthread.c:798
#21 0x00007fc9fe2cde0e in start_thread (arg=0x7fc9a3225700) at
pthread_create.c:311
#22 0x00007fc9fd6e594d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 4 (Thread 0x7fc9ee8dd700 (LWP 21452)):
#0 0x00007fc9fd6da1ad in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fc9fc8c09eb in g_poll (fds=0x7fc9e8009630, nfds=5, timeout=-1) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gpoll.c:132
#2 0x00007fc9fc8b0062 in g_main_context_poll (context=0x2c48610, timeout=-1,
priority=2147483647, fds=0x7fc9e8009630, n_fds=5) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3995
#3 0x00007fc9fc8af9f2 in g_main_context_iterate (context=0x2c48610, block=1,
dispatch=1, self=0x2bfdd40) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3696
#4 0x00007fc9fc8afe46 in g_main_loop_run (loop=0x2c485a0) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3895
#5 0x00007fc9fc1b62f4 in gdbus_shared_thread_func (user_data=0x2c485e0) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/gio/gdbusprivate.c:278
#6 0x00007fc9fc8db8b3 in g_thread_proxy (data=0x2bfdd40) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthread.c:798
#7 0x00007fc9fe2cde0e in start_thread (arg=0x7fc9ee8dd700) at
pthread_create.c:311
#8 0x00007fc9fd6e594d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 2 (Thread 0x7fc9dbde9700 (LWP 21459)):
#0 0x00007fc9fd6da1ad in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fc9fc8c09eb in g_poll (fds=0x7fc9e0004370, nfds=1, timeout=-1) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gpoll.c:132
#2 0x00007fc9fc8b0062 in g_main_context_poll (context=0x3993f40, timeout=-1,
priority=2147483647, fds=0x7fc9e0004370, n_fds=1) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3995
#3 0x00007fc9fc8af9f2 in g_main_context_iterate (context=0x3993f40, block=1,
dispatch=1, self=0x3997450) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3696
#4 0x00007fc9fc8afae1 in g_main_context_iteration (context=0x3993f40,
may_block=1) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3762
#5 0x00007fc9fc8b14f8 in glib_worker_main (data=0x0) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:5427
#6 0x00007fc9fc8db8b3 in g_thread_proxy (data=0x3997450) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthread.c:798
#7 0x00007fc9fe2cde0e in start_thread (arg=0x7fc9dbde9700) at
pthread_create.c:311
#8 0x00007fc9fd6e594d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 1 (Thread 0x7fc9fe6fd700 (LWP 21451)):
#0 __lll_lock_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007fc9fe2cff57 in _L_lock_1027 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#2 0x00007fc9fe2cfde9 in __GI___pthread_mutex_lock (mutex=0x7fc9840014c0) at
pthread_mutex_lock.c:85
#3 0x00007fc9fc8ffbd0 in g_rec_mutex_lock (mutex=0x42b4070) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gthread-posix.c:379
#4 0x00007fc9fabb76a6 in post_activate (pad=0x42b4000 [GstPad],
new_mode=GST_PAD_MODE_NONE) at gstpad.c:886
#5 0x00007fc9fabb7f64 in gst_pad_activate_mode (pad=0x42b4000 [GstPad],
mode=GST_PAD_MODE_PUSH, active=0) at gstpad.c:1067
#6 0x00007fc9fabb7a07 in gst_pad_set_active (pad=0x42b4000 [GstPad], active=0)
at gstpad.c:949
#7 0x00007fc9faba0538 in activate_pads (vpad=0x7ffff15760b0,
ret=0x7ffff1576100, active=0x7ffff1576144) at gstelement.c:2679
#8 0x00007fc9fabaef2b in gst_iterator_fold (it=0x4276b60, func=0x7fc9faba04f9
<activate_pads>, ret=0x7ffff1576100, user_data=0x7ffff1576144) at
gstiterator.c:614
#9 0x00007fc9faba05bd in iterator_activate_fold_with_resync (iter=0x4276b60,
func=0x7fc9faba04f9 <activate_pads>, user_data=0x7ffff1576144) at
gstelement.c:2699
#10 0x00007fc9faba0701 in gst_element_pads_activate (element=0x7fc99805ac80
[avdec_dvvideo], active=0) at gstelement.c:2743
#11 0x00007fc9faba09e9 in gst_element_change_state_func (element=0x7fc99805ac80
[avdec_dvvideo], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
gstelement.c:2807
#12 0x00007fc9fa1016e4 in gst_video_decoder_change_state
(element=0x7fc99805ac80 [avdec_dvvideo],
transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstvideodecoder.c:2026
#13 0x00007fc9faba017e in gst_element_change_state (element=0x7fc99805ac80
[avdec_dvvideo], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
gstelement.c:2594
#14 0x00007fc9faba002e in gst_element_set_state_func (element=0x7fc99805ac80
[avdec_dvvideo], state=GST_STATE_READY) at gstelement.c:2550
#15 0x00007fc9fab9fc1c in gst_element_set_state (element=0x7fc99805ac80
[avdec_dvvideo], state=GST_STATE_READY) at gstelement.c:2451
#16 0x00007fc9fab79920 in gst_bin_element_set_state (bin=0x2d92c90
[GstDecodeBin], element=0x7fc99805ac80 [avdec_dvvideo], base_time=0,
start_time=0, current=GST_STATE_PAUSED, next=GST_STATE_READY) at gstbin.c:2297
#17 0x00007fc9fab7ad40 in gst_bin_change_state_func (element=0x2d92c90
[GstDecodeBin], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2599
#18 0x00007fc9d97f75cb in gst_decode_bin_change_state (element=0x2d92c90
[GstDecodeBin], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
gstdecodebin2.c:4325
#19 0x00007fc9faba017e in gst_element_change_state (element=0x2d92c90
[GstDecodeBin], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
gstelement.c:2594
#20 0x00007fc9faba002e in gst_element_set_state_func (element=0x2d92c90
[GstDecodeBin], state=GST_STATE_READY) at gstelement.c:2550
#21 0x00007fc9fab9fc1c in gst_element_set_state (element=0x2d92c90
[GstDecodeBin], state=GST_STATE_READY) at gstelement.c:2451
#22 0x00007fc9fab79920 in gst_bin_element_set_state (bin=0x2d920b0
[GstURIDecodeBin], element=0x2d92c90 [GstDecodeBin], base_time=0, start_time=0,
current=GST_STATE_PAUSED, next=GST_STATE_READY) at gstbin.c:2297
#23 0x00007fc9fab7ad40 in gst_bin_change_state_func (element=0x2d920b0
[GstURIDecodeBin], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
gstbin.c:2599
#24 0x00007fc9d97ff14d in gst_uri_decode_bin_change_state (element=0x2d920b0
[GstURIDecodeBin], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
gsturidecodebin.c:2635
#25 0x00007fc9faba017e in gst_element_change_state (element=0x2d920b0
[GstURIDecodeBin], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
gstelement.c:2594
#26 0x00007fc9faba002e in gst_element_set_state_func (element=0x2d920b0
[GstURIDecodeBin], state=GST_STATE_READY) at gstelement.c:2550
#27 0x00007fc9fab9fc1c in gst_element_set_state (element=0x2d920b0
[GstURIDecodeBin], state=GST_STATE_READY) at gstelement.c:2451
#28 0x00007fc9fab79920 in gst_bin_element_set_state (bin=0x4288230
[GstPipeline], element=0x2d920b0 [GstURIDecodeBin], base_time=0, start_time=0,
current=GST_STATE_PAUSED, next=GST_STATE_READY) at gstbin.c:2297
#29 0x00007fc9fab7ad40 in gst_bin_change_state_func (element=0x4288230
[GstPipeline], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2599
#30 0x00007fc9fabc712c in gst_pipeline_change_state (element=0x4288230
[GstPipeline], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
gstpipeline.c:471
#31 0x00007fc9faba017e in gst_element_change_state (element=0x4288230
[GstPipeline], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
gstelement.c:2594
#32 0x00007fc9faba002e in gst_element_set_state_func (element=0x4288230
[GstPipeline], state=GST_STATE_READY) at gstelement.c:2550
#33 0x00007fc9fab9fc1c in gst_element_set_state (element=0x4288230
[GstPipeline], state=GST_STATE_READY) at gstelement.c:2451
#34 0x00007fc9fa34a36f in discoverer_cleanup (dc=0x40304c0 [GstDiscoverer]) at
gstdiscoverer.c:1525
#35 0x00007fc9fa34a6af in async_timeout_cb (dc=0x40304c0 [GstDiscoverer]) at
gstdiscoverer.c:1585
#36 0x00007fc9fc8b080a in g_timeout_dispatch (source=0x44a8450,
callback=0x7fc9fa34a5f6 <async_timeout_cb>, user_data=0x40304c0) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:4413
#37 0x00007fc9fc8aead4 in g_main_dispatch (context=0x2c03a50) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3054
#38 0x00007fc9fc8af82b in g_main_context_dispatch (context=0x2c03a50) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3630
#39 0x00007fc9fc8afa1d in g_main_context_iterate (context=0x2c03a50, block=1,
dispatch=1, self=0x2c4e580) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3701
#40 0x00007fc9fc8afe46 in g_main_loop_run (loop=0x3987590) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3895
#41 0x00007fc9fbea9048 in ffi_call_unix64 () at ../src/x86/unix64.S:76
#42 0x00007fc9fbea89b0 in ffi_call (cif=0x7ffff1577210, fn=0x7fc9fc8afc6d
<g_main_loop_run>, rvalue=0x7ffff15771f0, avalue=0x7ffff1577180) at
../src/x86/ffi64.c:522
#43 0x00007fc9fce0d4bc in g_callable_info_invoke (info=0x26fea80,
function=0x7fc9fc8afc6d <g_main_loop_run>, in_args=0x3fce310, n_in_args=1,
out_args=0x0, n_out_args=0, return_value=0x7ffff1577428, is_method=1, throws=0,
error=0x7ffff1577388) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gobject-introspection/girepository/gicallableinfo.c:680
#44 0x00007fc9fce0f03b in g_function_info_invoke (info=0x26fea80,
in_args=0x3fce310, n_in_args=1, out_args=0x0, n_out_args=0,
return_value=0x7ffff1577428, error=0x7ffff1577388) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gobject-introspection/girepository/gifunctioninfo.c:274
#45 0x00007fc9fd05e052 in _invoke_callable (state=0x7ffff15773e0,
cache=0x4093060, callable_info=0x26fea80, function_ptr=0x0) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/pygobject-python2/gi/pygi-invoke.c:64
#46 0x00007fc9fd05f5f8 in pygi_callable_info_invoke (info=0x26fea80,
py_args=(<MainLoop(_signal_source=7L) at remote 0x3b68e88>,), kwargs={},
cache=0x4093060, function_ptr=0x0, user_data=0x0) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/pygobject-python2/gi/pygi-invoke.c:662
#47 0x00007fc9fd05f6e5 in _wrap_g_callable_info_invoke (self=0x7fc9fab43200,
py_args=(<MainLoop(_signal_source=7L) at remote 0x3b68e88>,), kwargs={}) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/pygobject-python2/gi/pygi-invoke.c:685
#48 0x000000000048656a in ext_do_call (nk=45657424, na=<optimized out>,
flags=<optimized out>, pp_stack=0x7ffff15775f0, func=<built-in method invoke of
gi.FunctionInfo object at remote 0x7fc9fab43200>) at ../Python/ceval.c:4331
#49 PyEval_EvalFrameEx (f=f at entry=Frame 0x3e67520, for file
/opt/gnome/lib/python2.7/site-packages/gi/types.py, line 113, in function
(args=(<MainLoop(_signal_source=7L) at remote 0x3b68e88>,), kwargs={}),
throwflag=throwflag at entry=0) at ../Python/ceval.c:2705
#50 0x000000000048c3e9 in PyEval_EvalCodeEx (co=0x7fc9faeb1230,
globals=<optimized out>, locals=locals at entry=0x0, args=<optimized out>,
argcount=argcount at entry=1, kws=0x40896a8, kwcount=0, defs=0x0, defcount=0,
closure=closure at entry=(<cell at remote 0x7fc9faaca868>,)) at
../Python/ceval.c:3253
#51 0x0000000000484cb4 in fast_function (nk=<optimized out>, na=1, n=<optimized
out>, pp_stack=0x7ffff1577860, func=<function at remote 0x7fc9faac7398>) at
../Python/ceval.c:4117
#52 call_function (oparg=<optimized out>, pp_stack=0x7ffff1577860) at
../Python/ceval.c:4042
#53 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag at entry=0) at
../Python/ceval.c:2666
#54 0x0000000000484fef in fast_function (nk=<optimized out>, na=<optimized
out>, n=<optimized out>, pp_stack=0x7ffff1577a10, func=<function at remote
0x7fc9faac7668>) at ../Python/ceval.c:4107
#55 call_function (oparg=<optimized out>, pp_stack=0x7ffff1577a10) at
../Python/ceval.c:4042
#56 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag at entry=0) at
../Python/ceval.c:2666
#57 0x0000000000484fef in fast_function (nk=<optimized out>, na=<optimized
out>, n=<optimized out>, pp_stack=0x7ffff1577bc0, func=<function at remote
0x3880410>) at ../Python/ceval.c:4107
#58 call_function (oparg=<optimized out>, pp_stack=0x7ffff1577bc0) at
../Python/ceval.c:4042
#59 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag at entry=0) at
../Python/ceval.c:2666
#60 0x0000000000484fef in fast_function (nk=<optimized out>, na=<optimized
out>, n=<optimized out>, pp_stack=0x7ffff1577d70, func=<function at remote
0x3880c80>) at ../Python/ceval.c:4107
#61 call_function (oparg=<optimized out>, pp_stack=0x7ffff1577d70) at
../Python/ceval.c:4042
#62 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag at entry=0) at
../Python/ceval.c:2666
#63 0x0000000000484fef in fast_function (nk=<optimized out>, na=<optimized
out>, n=<optimized out>, pp_stack=0x7ffff1577f20, func=<function at remote
0x7fc9fe57a848>) at ../Python/ceval.c:4107
#64 call_function (oparg=<optimized out>, pp_stack=0x7ffff1577f20) at
../Python/ceval.c:4042
#65 PyEval_EvalFrameEx (f=f at entry=Frame 0x25e13a0, for file
/opt/gnome/bin/pitivi, line 137, in <module> (), throwflag=throwflag at entry=0)
at ../Python/ceval.c:2666
#66 0x000000000048c3e9 in PyEval_EvalCodeEx (co=co at entry=0x7fc9fe5e0030,
globals=globals at entry={'_add_pitivi_path': <function at remote 0x7fc9fe57a758>,
'locale': <module at remote 0x7fc9fe553b08>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5780>, __doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='gi.types', __gsignals__={}) at remote 0x2d46420>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x3642fc0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x40af290>,
'_prepend_env_path': <function at remote 0x7fc9fe563140>, 'LIBDIR':
'/opt/gnome/lib64', 'gettext': <module at remote 0x7fc9fe562670>,
'__package__': None, 'localedir': '/opt/gnome/share/locale',
'GstAutoVideoSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5798>, __doc__=<gobject.GObject.__doc__ at remote 0x7f...(truncated),
locals=locals at entry={'_add_pitivi_path': <function at remote 0x7fc9fe57a758>,
'locale': <module at remote 0x7fc9fe553b08>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5780>, __doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='gi.types', __gsignals__={}) at remote 0x2d46420>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x3642fc0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x40af290>,
'_prepend_env_path': <function at remote 0x7fc9fe563140>, 'LIBDIR':
'/opt/gnome/lib64', 'gettext': <module at remote 0x7fc9fe562670>,
'__package__': None, 'localedir': '/opt/gnome/share/locale',
'GstAutoVideoSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5798>, __doc__=<gobject.GObject.__doc__ at remote 0x7f...(truncated),
args=args at entry=0x0, argcount=argcount at entry=0, kws=kws at entry=0x0,
kwcount=kwcount at entry=0, defs=defs at entry=0x0, defcount=defcount at entry=0,
closure=closure at entry=0x0) at ../Python/ceval.c:3253
#67 0x00000000004f8cf2 in PyEval_EvalCode (co=co at entry=0x7fc9fe5e0030,
globals=globals at entry={'_add_pitivi_path': <function at remote 0x7fc9fe57a758>,
'locale': <module at remote 0x7fc9fe553b08>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5780>, __doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='gi.types', __gsignals__={}) at remote 0x2d46420>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x3642fc0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x40af290>,
'_prepend_env_path': <function at remote 0x7fc9fe563140>, 'LIBDIR':
'/opt/gnome/lib64', 'gettext': <module at remote 0x7fc9fe562670>,
'__package__': None, 'localedir': '/opt/gnome/share/locale',
'GstAutoVideoSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5798>, __doc__=<gobject.GObject.__doc__ at remote 0x7f...(truncated),
locals=locals at entry={'_add_pitivi_path': <function at remote 0x7fc9fe57a758>,
'locale': <module at remote 0x7fc9fe553b08>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5780>, __doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='gi.types', __gsignals__={}) at remote 0x2d46420>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x3642fc0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x40af290>,
'_prepend_env_path': <function at remote 0x7fc9fe563140>, 'LIBDIR':
'/opt/gnome/lib64', 'gettext': <module at remote 0x7fc9fe562670>,
'__package__': None, 'localedir': '/opt/gnome/share/locale',
'GstAutoVideoSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5798>, __doc__=<gobject.GObject.__doc__ at remote 0x7f...(truncated))
at ../Python/ceval.c:667
#68 0x000000000051f5ab in run_mod.42740 (mod=mod at entry=0x25e9b78,
filename=filename at entry=0x7ffff157a08c "/opt/gnome/bin/pitivi",
globals=globals at entry={'_add_pitivi_path': <function at remote 0x7fc9fe57a758>,
'locale': <module at remote 0x7fc9fe553b08>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5780>, __doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='gi.types', __gsignals__={}) at remote 0x2d46420>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x3642fc0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x40af290>,
'_prepend_env_path': <function at remote 0x7fc9fe563140>, 'LIBDIR':
'/opt/gnome/lib64', 'gettext': <module at remote 0x7fc9fe562670>,
'__package__': None, 'localedir': '/opt/gnome/share/locale',
'GstAutoVideoSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5798>, __doc__=<gobject.GObject.__doc__ at remote 0x7f...(truncated),
locals=locals at entry={'_add_pitivi_path': <function at remote 0x7fc9fe57a758>,
'locale': <module at remote 0x7fc9fe553b08>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5780>, __doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='gi.types', __gsignals__={}) at remote 0x2d46420>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x3642fc0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x40af290>,
'_prepend_env_path': <function at remote 0x7fc9fe563140>, 'LIBDIR':
'/opt/gnome/lib64', 'gettext': <module at remote 0x7fc9fe562670>,
'__package__': None, 'localedir': '/opt/gnome/share/locale',
'GstAutoVideoSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5798>, __doc__=<gobject.GObject.__doc__ at remote 0x7f...(truncated),
flags=flags at entry=0x7ffff15781a0, arena=arena at entry=0x25cc250) at
../Python/pythonrun.c:1365
#69 0x000000000045286a in PyRun_FileExFlags (fp=fp at entry=0x253f640,
filename=filename at entry=0x7ffff157a08c "/opt/gnome/bin/pitivi",
start=start at entry=257, globals=globals at entry={'_add_pitivi_path': <function at
remote 0x7fc9fe57a758>, 'locale': <module at remote 0x7fc9fe553b08>,
'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5780>, __doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='gi.types', __gsignals__={}) at remote 0x2d46420>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x3642fc0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x40af290>,
'_prepend_env_path': <function at remote 0x7fc9fe563140>, 'LIBDIR':
'/opt/gnome/lib64', 'gettext': <module at remote 0x7fc9fe562670>,
'__package__': None, 'localedir': '/opt/gnome/share/locale',
'GstAutoVideoSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5798>, __doc__=<gobject.GObject.__doc__ at remote 0x7f...(truncated),
locals=locals at entry={'_add_pitivi_path': <function at remote 0x7fc9fe57a758>,
'locale': <module at remote 0x7fc9fe553b08>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5780>, __doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='gi.types', __gsignals__={}) at remote 0x2d46420>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x3642fc0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7fc9fe627090>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x40af290>,
'_prepend_env_path': <function at remote 0x7fc9fe563140>, 'LIBDIR':
'/opt/gnome/lib64', 'gettext': <module at remote 0x7fc9fe562670>,
'__package__': None, 'localedir': '/opt/gnome/share/locale',
'GstAutoVideoSink': <GObjectMeta(__gtype__=<gobject.GType at remote
0x7fc9faab5798>, __doc__=<gobject.GObject.__doc__ at remote 0x7f...(truncated),
closeit=closeit at entry=1, flags=flags at entry=0x7ffff15781a0) at
../Python/pythonrun.c:1351
#70 0x0000000000452d98 in PyRun_SimpleFileExFlags (fp=fp at entry=0x253f640,
filename=<optimized out>, filename at entry=0x7ffff157a08c
"/opt/gnome/bin/pitivi", closeit=closeit at entry=1,
flags=flags at entry=0x7ffff15781a0) at ../Python/pythonrun.c:943
#71 0x0000000000452e71 in PyRun_AnyFileExFlags (fp=fp at entry=0x253f640,
filename=filename at entry=0x7ffff157a08c "/opt/gnome/bin/pitivi",
closeit=closeit at entry=1, flags=flags at entry=0x7ffff15781a0) at
../Python/pythonrun.c:747
#72 0x0000000000453b06 in Py_Main (argc=<optimized out>, argv=0x7ffff1578358)
at ../Modules/main.c:640
#73 0x00007fc9fd61ea55 in __libc_start_main (main=0x453bbc <main>, argc=2,
ubp_av=0x7ffff1578358, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffff1578348) at libc-start.c:260
#74 0x00000000004da9b5 in _start ()
$91 = 0x42b4000 [GstPad]
$92 = 0x42b4230 [GstPad]
$93 = {element = {object = {object = {g_type_instance = {g_class =
0x7fc9980596d0}, ref_count = 6, qdata = 0x0}, lock = {p = 0x7fc998059eb0, i = {
2550505136, 32713}}, name = 0x7fc99805a320 "avdec_dvvideo0", parent =
0x2d92c90 [GstDecodeBin], flags = 0, control_bindings = 0x0,
control_rate = 100000000, last_sync = 18446744073709551615, _gst_reserved
= 0x0}, state_lock = {p = 0x7fc984001490, i = {0, 0}}, state_cond = {
p = 0x7fc998059c30, i = {0, 0}}, state_cookie = 3, target_state =
GST_STATE_READY, current_state = GST_STATE_PAUSED, next_state =
GST_STATE_READY, pending_state = GST_STATE_READY, last_return =
GST_STATE_CHANGE_ASYNC, bus = 0x3765900 [GstBus], clock = 0x0, base_time = 0,
start_time = 0, numpads = 2, pads = 0x7fc9d4051800 = {0x42b4000,
0x42b4230}, numsrcpads = 1, srcpads = 0x27e1640 = {0x42b4230}, numsinkpads = 1,
sinkpads = 0x27dd700 = {0x42b4000}, pads_cookie = 2, context = 0x0,
_gst_reserved = {0x0, 0x0, 0x0}}, sinkpad = 0x42b4000 [GstPad], srcpad =
0x42b4230 [GstPad], stream_lock = {p = 0x7fc984001580, i = {0, 0}},
input_segment = {flags = GST_SEGMENT_FLAG_NONE, rate = 1, applied_rate = 1,
format = GST_FORMAT_TIME, base = 0, offset = 0, start = 0, stop =
18446744073709551615, time = 0, position = 0, duration = 18446744073709551615,
_gst_reserved = {0x0, 0x0, 0x0, 0x0}}, output_segment = {flags =
GST_SEGMENT_FLAG_NONE, rate = 1, applied_rate = 1, format =
GST_FORMAT_UNDEFINED, base = 0, offset = 0, start = 0, stop =
18446744073709551615, time = 0, position = 0, duration = 18446744073709551615,
_gst_reserved = {0x0, 0x0, 0x0, 0x0}}, priv = 0x7fc99805afc0, padding =
{0x0 <repeats 20 times>}}
--
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