[Bug 702520] [regression] queue: deadlock when reconfigure event

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 18 10:22:41 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702520
  GStreamer | gstreamer (core) | 1.1.1

--- Comment #5 from Aleix Conchillo Flaqué <aleix at oblong.com> 2013-06-18 17:22:39 UTC ---
I cut some parts before, here is the full bt.

(gdb) thread apply all bt

Thread 5 (Thread 0x7f3a73a0e700 (LWP 26201)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3a7f3d780f in g_cond_wait () from
/opt/oblong/deps/lib/libglib-2.0.so.0
#2  0x00007f3a7432763c in gst_queue_loop (pad=<optimized out>) at
gstqueue.c:1226
#3  0x00007f3a7e1d5e3f in gst_task_func (task=0x18ca000) at gsttask.c:316
#4  0x00007f3a7f3be248 in ?? () from /opt/oblong/deps/lib/libglib-2.0.so.0
#5  0x00007f3a7f3bd9e5 in ?? () from /opt/oblong/deps/lib/libglib-2.0.so.0
#6  0x00007f3a7b306ae4 in ?? () from /usr/lib/libGL.so.1
#7  0x00007f3a7d2b2e9a in start_thread (arg=0x7f3a73a0e700) at
pthread_create.c:308
#8  0x00007f3a7eb72ccd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3a73004700 (LWP 26202)):
#0  __lll_lock_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:132
#1  0x00007f3a7d2b509b in _L_lock_1006 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f3a7d2b501c in __pthread_mutex_lock (mutex=0x18cf8e0) at
pthread_mutex_lock.c:101
#3  0x00007f3a7f3d7581 in g_mutex_lock () from
/opt/oblong/deps/lib/libglib-2.0.so.0
#4  0x00007f3a74328520 in gst_queue_handle_src_event (pad=0x18b0d30,
parent=<optimized out>, event=0x7f3a64003d80) at gstqueue.c:1288
#5  0x00007f3a7e1a538e in gst_pad_send_event_unchecked (pad=0x18b0d30,
event=0x7f3a64003d80, type=<optimized out>) at gstpad.c:4996
#6  0x00007f3a7e1a5a92 in gst_pad_push_event_unchecked (pad=0x18ba4a0,
event=0x7f3a64003d80, type=GST_PAD_PROBE_TYPE_EVENT_UPSTREAM) at gstpad.c:4685
#7  0x00007f3a7e1aea03 in gst_pad_push_event (pad=0x18ba4a0,
event=0x7f3a64003d80) at gstpad.c:4808
#8  0x00007f3a7e1aec37 in event_forward_func (pad=0x18ba4a0,
data=0x7f3a730019f0) at gstpad.c:2741
#9  0x00007f3a7e1aba8a in gst_pad_forward (pad=0x18b87d0,
forward=0x7f3a7e1aeb60 <event_forward_func>, user_data=0x7f3a730019f0) at
gstpad.c:2695
#10 0x00007f3a7e1ac239 in gst_pad_event_default (pad=<optimized out>,
parent=<optimized out>, event=0x7f3a64003d80) at gstpad.c:2792
#11 0x00007f3a7e1a538e in gst_pad_send_event_unchecked (pad=0x18b87d0,
event=0x7f3a64003d80, type=<optimized out>) at gstpad.c:4996
#12 0x00007f3a7e1a5a92 in gst_pad_push_event_unchecked (pad=0x18b8c90,
event=0x7f3a64003d80, type=GST_PAD_PROBE_TYPE_EVENT_UPSTREAM) at gstpad.c:4685
#13 0x00007f3a7e1aea03 in gst_pad_push_event (pad=0x18b8c90,
event=0x7f3a64003d80) at gstpad.c:4808
#14 0x00007f3a7e1aec37 in event_forward_func (pad=0x18b8c90,
data=0x7f3a73001e20) at gstpad.c:2741
#15 0x00007f3a7e1aba8a in gst_pad_forward (pad=0x18ba6e0,
forward=0x7f3a7e1aeb60 <event_forward_func>, user_data=0x7f3a73001e20) at
gstpad.c:2695
#16 0x00007f3a7e1ac239 in gst_pad_event_default (pad=<optimized out>,
parent=<optimized out>, event=0x7f3a64003d80) at gstpad.c:2792
#17 0x00007f3a7e1a538e in gst_pad_send_event_unchecked (pad=0x18ba6e0,
event=0x7f3a64003d80, type=<optimized out>) at gstpad.c:4996
#18 0x00007f3a7e1a5a92 in gst_pad_push_event_unchecked (pad=0x18b0f60,
event=0x7f3a64003d80, type=GST_PAD_PROBE_TYPE_EVENT_UPSTREAM) at gstpad.c:4685
#19 0x00007f3a7e1aea03 in gst_pad_push_event (pad=0x18b0f60,
event=0x7f3a64003d80) at gstpad.c:4808
#20 0x00007f3a74336de5 in gst_type_find_element_src_event (pad=<optimized out>,
parent=<optimized out>, event=0x7f3a64003d80) at gsttypefindelement.c:519
#21 0x00007f3a7e1a538e in gst_pad_send_event_unchecked (pad=0x18b1190,
event=0x7f3a64003d80, type=<optimized out>) at gstpad.c:4996
#22 0x00007f3a7e1a5a92 in gst_pad_push_event_unchecked (pad=0x18ba920,
event=0x7f3a64003d80, type=GST_PAD_PROBE_TYPE_EVENT_UPSTREAM) at gstpad.c:4685
#23 0x00007f3a7e1aea03 in gst_pad_push_event (pad=0x18ba920,
event=0x7f3a64003d80) at gstpad.c:4808
#24 0x00007f3a7e1aec37 in event_forward_func (pad=0x18ba920,
data=0x7f3a73002630) at gstpad.c:2741
#25 0x00007f3a7e1aba8a in gst_pad_forward (pad=0x7f3a64006100,
forward=0x7f3a7e1aeb60 <event_forward_func>, user_data=0x7f3a73002630) at
gstpad.c:2695
#26 0x00007f3a7e1ac239 in gst_pad_event_default (pad=<optimized out>,
parent=<optimized out>, event=0x7f3a64003d80) at gstpad.c:2792
#27 0x00007f3a7e1a538e in gst_pad_send_event_unchecked (pad=0x7f3a64006100,
event=0x7f3a64003d80, type=<optimized out>) at gstpad.c:4996
#28 0x00007f3a7e1aedc1 in gst_pad_send_event (pad=0x7f3a64006100,
event=0x7f3a64003d80) at gstpad.c:5154
#29 0x00007f3a7e1af174 in gst_pad_link_full (srcpad=0x7f3a64006100,
sinkpad=0x18b1a50, flags=<optimized out>) at gstpad.c:2289
#30 0x00007f3a80792c88 in XXXXXXXX 
#31 0x00007f3a7f73beb3 in new_decoded_pad_trambampoline (dec=0x18b8a30,
pad=0x7f3a64006100, f=0x18cb000) at XXXXXX
#32 0x00007f3a7df08ac4 in g_cclosure_marshal_VOID__OBJECTv () from
/opt/oblong/deps/lib/libgobject-2.0.so.0
#33 0x00007f3a7df0563a in ?? () from /opt/oblong/deps/lib/libgobject-2.0.so.0
#34 0x00007f3a7df1deb1 in g_signal_emit_valist () from
/opt/oblong/deps/lib/libgobject-2.0.so.0
#35 0x00007f3a7df1e9b2 in g_signal_emit () from
/opt/oblong/deps/lib/libgobject-2.0.so.0
#36 0x00007f3a7e18e740 in gst_element_add_pad (element=0x18b8a30,
pad=0x7f3a64006100) at gstelement.c:697
#37 0x00007f3a740c4648 in gst_decode_bin_expose (dbin=0x18b8a30) at
gstdecodebin2.c:3957
#38 0x00007f3a740c5890 in source_pad_blocked_cb (pad=0x18b1190, info=<optimized
out>, user_data=<optimized out>) at gstdecodebin2.c:4129
#39 0x00007f3a7e1a4bf0 in probe_hook_marshal (hook=0x7f3a640031e0,
data=0x7f3a73002f20) at gstpad.c:3061
#40 0x00007f3a7f38d8ff in g_hook_list_marshal () from
/opt/oblong/deps/lib/libglib-2.0.so.0
#41 0x00007f3a7e169f36 in do_probe_callbacks (pad=0x18b1190, info=<optimized
out>, defaultval=GST_FLOW_OK) at gstpad.c:3155
#42 0x00007f3a7e1a5dd2 in gst_pad_push_event_unchecked (pad=0x18b1190,
event=0x7f3a58004300, type=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at
gstpad.c:4652
#43 0x00007f3a7e1a6098 in push_sticky (pad=0x18b1190, ev=0x7f3a73003130,
user_data=0x7f3a73003200) at gstpad.c:3324
#44 0x00007f3a7e1a37e2 in events_foreach (pad=0x18b1190, func=0x7f3a7e1a5f40
<push_sticky>, user_data=0x7f3a73003200) at gstpad.c:530
#45 0x00007f3a7e1ace8f in check_sticky (event=0x0, pad=0x18b1190) at
gstpad.c:3380
#46 gst_pad_peer_query (pad=0x18b1190, query=0x18c2720) at gstpad.c:3581
#47 0x00007f3a7e1ad11f in query_forward_func (pad=0x18b1190,
data=0x7f3a73003370) at gstpad.c:2931
#48 0x00007f3a7e1aba8a in gst_pad_forward (pad=0x18b0f60,
forward=0x7f3a7e1ad050 <query_forward_func>, user_data=0x7f3a73003370) at
gstpad.c:2695
#49 0x00007f3a7e1abd91 in gst_pad_query_default (pad=0x18b0f60,
parent=<optimized out>, query=0x18c2720) at gstpad.c:2995
#50 0x00007f3a7e1ac7c6 in gst_pad_query (pad=0x18b0f60, query=0x18c2720) at
gstpad.c:3465
#51 0x00007f3a7e1acdb9 in gst_pad_peer_query (pad=0x18ba6e0, query=0x18c2720)
at gstpad.c:3596
#52 0x00007f3a7e1ad11f in query_forward_func (pad=0x18ba6e0,
data=0x7f3a73003680) at gstpad.c:2931
#53 0x00007f3a7e1aba8a in gst_pad_forward (pad=0x18b8c90,
forward=0x7f3a7e1ad050 <query_forward_func>, user_data=0x7f3a73003680) at
gstpad.c:2695
#54 0x00007f3a7e1abd91 in gst_pad_query_default (pad=0x18b8c90,
parent=<optimized out>, query=0x18c2720) at gstpad.c:2995
#55 0x00007f3a7e1ac7c6 in gst_pad_query (pad=0x18b8c90, query=0x18c2720) at
gstpad.c:3465
#56 0x00007f3a7e1acdb9 in gst_pad_peer_query (pad=0x18b87d0, query=0x18c2720)
at gstpad.c:3596
#57 0x00007f3a7e1ad11f in query_forward_func (pad=0x18b87d0,
data=0x7f3a73003990) at gstpad.c:2931
#58 0x00007f3a7e1aba8a in gst_pad_forward (pad=0x18ba4a0,
forward=0x7f3a7e1ad050 <query_forward_func>, user_data=0x7f3a73003990) at
gstpad.c:2695
#59 0x00007f3a7e1abd91 in gst_pad_query_default (pad=0x18ba4a0,
parent=<optimized out>, query=0x18c2720) at gstpad.c:2995
#60 0x00007f3a7e1ac7c6 in gst_pad_query (pad=0x18ba4a0, query=0x18c2720) at
gstpad.c:3465
#61 0x00007f3a7e1acdb9 in gst_pad_peer_query (pad=0x18b0d30, query=0x18c2720)
at gstpad.c:3596
#62 0x00007f3a74327cc4 in gst_queue_push_one (queue=0x18ae430) at
gstqueue.c:1184
#63 gst_queue_loop (pad=<optimized out>) at gstqueue.c:1238
#64 0x00007f3a7e1d5e3f in gst_task_func (task=0x18ca120) at gsttask.c:316
#65 0x00007f3a7f3be248 in ?? () from /opt/oblong/deps/lib/libglib-2.0.so.0
#66 0x00007f3a7f3bd9e5 in ?? () from /opt/oblong/deps/lib/libglib-2.0.so.0
#67 0x00007f3a7b306ae4 in ?? () from /usr/lib/libGL.so.1
#68 0x00007f3a7d2b2e9a in start_thread (arg=0x7f3a73004700) at
pthread_create.c:308
#69 0x00007f3a7eb72ccd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
---Type <return> to continue, or q <return> to quit---
#70 0x0000000000000000 in ?? ()


Thread 2 (Thread 0x7f3a5ea52700 (LWP 26204)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3a7f3d780f in g_cond_wait () from
/opt/oblong/deps/lib/libglib-2.0.so.0
#2  0x00007f3a74325c46 in gst_queue_handle_sink_query (pad=<optimized out>,
parent=0x18ae430, query=<optimized out>) at gstqueue.c:868
#3  0x00007f3a7e1ac7c6 in gst_pad_query (pad=0x18b0b00, query=0x18c2720) at
gstpad.c:3465
#4  0x00007f3a7e1acdb9 in gst_pad_peer_query (pad=0x18b08d0, query=0x18c2720)
at gstpad.c:3596
#5  0x00007f3a78b5b48a in gst_base_src_prepare_allocation (caps=0x18c2630,
basesrc=0x18d0130) at gstbasesrc.c:2974
#6  gst_base_src_negotiate (basesrc=0x18d0130) at gstbasesrc.c:3113
#7  gst_base_src_loop (pad=0x18b08d0) at gstbasesrc.c:2583
#8  0x00007f3a7e1d5e3f in gst_task_func (task=0x18ca240) at gsttask.c:316
#9  0x00007f3a7f3be248 in ?? () from /opt/oblong/deps/lib/libglib-2.0.so.0
#10 0x00007f3a7f3bd9e5 in ?? () from /opt/oblong/deps/lib/libglib-2.0.so.0
#11 0x00007f3a7b306ae4 in ?? () from /usr/lib/libGL.so.1
#12 0x00007f3a7d2b2e9a in start_thread (arg=0x7f3a5ea52700) at
pthread_create.c:308
#13 0x00007f3a7eb72ccd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

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