[Bug 704226] New: dash: Stream does not preroll and shutting down deadlocks

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jul 14 23:11:36 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=704226
  GStreamer | gst-plugins-bad | git

           Summary: dash: Stream does not preroll and shutting down
                    deadlocks
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


gst-launch-1.0 playbin
uri=http://www-itec.uni-klu.ac.at/ftp/datasets/mmsys12/ElephantsDream/MPDs/ElephantsDream_15s_isoffmain_DIS_23009_1_v_2_1c2_2011_08_30.mpd

with latest git master.

Thread 6 (Thread 0x7ffb8580c700 (LWP 26075)):
#0  0x00007ffb87cf419d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffb8842b194 in g_main_context_poll (priority=2147483647, n_fds=1, 
    fds=0x7ffb800010e0, timeout=-1, context=0x1876290)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3995
#2  g_main_context_iterate (context=context at entry=0x1876290, 
    block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3696
#3  0x00007ffb8842b29c in g_main_context_iteration (context=0x1876290, 
    may_block=1) at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3762
#4  0x00007ffb85813a1d in ?? ()
   from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#5  0x00007ffb8844f1d5 in g_thread_proxy (data=0x18a0280)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gthread.c:798
#6  0x00007ffb87fcae0e in start_thread (arg=0x7ffb8580c700)
    at pthread_create.c:311
#7  0x00007ffb87cff93d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7ffb7ffff700 (LWP 26077)):
#0  0x00007ffb87cf419d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffb8842b194 in g_main_context_poll (priority=2147483647, n_fds=3, 
    fds=0x7ffb740010c0, timeout=-1, context=0x7ffb800150c0)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3995
#2  g_main_context_iterate (context=0x7ffb800150c0, block=block at entry=1, 
    dispatch=dispatch at entry=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3696
#3  0x00007ffb8842b5fa in g_main_loop_run (loop=0x7ffb80015050)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3895
---Type <return> to continue, or q <return> to quit---
#4  0x00007ffb869d5cf6 in gdbus_shared_thread_func (user_data=0x7ffb80015090)
    at /tmp/buildd/glib2.0-2.36.3/./gio/gdbusprivate.c:278
#5  0x00007ffb8844f1d5 in g_thread_proxy (data=0x7ffb80012cf0)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gthread.c:798
#6  0x00007ffb87fcae0e in start_thread (arg=0x7ffb7ffff700)
    at pthread_create.c:311
#7  0x00007ffb87cff93d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7ffb7f7fe700 (LWP 26078)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffb8846a507 in g_cond_wait (cond=cond at entry=0x16e1060, 
    mutex=mutex at entry=0x16e1018)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gthread-posix.c:756
#2  0x00007ffb88cded44 in gst_task_func (task=0x16e1000) at gsttask.c:301
#3  0x00007ffb8844fb96 in g_thread_pool_thread_proxy (data=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gthreadpool.c:309
#4  0x00007ffb8844f1d5 in g_thread_proxy (data=0x16dfcf0)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gthread.c:798
#5  0x00007ffb87fcae0e in start_thread (arg=0x7ffb7f7fe700)
    at pthread_create.c:311
#6  0x00007ffb87cff93d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7ffb7effd700 (LWP 26079)):
#0  0x00007ffb87cf419d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffb8842b194 in g_main_context_poll (priority=2147483647, n_fds=1, 
    fds=0x7ffb700008c0, timeout=-1, context=0x186f510)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3995
---Type <return> to continue, or q <return> to quit---
#2  g_main_context_iterate (context=context at entry=0x186f510, 
    block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3696
#3  0x00007ffb8842b29c in g_main_context_iteration (context=0x186f510, 
    may_block=may_block at entry=1)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:3762
#4  0x00007ffb8842b2e9 in glib_worker_main (data=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gmain.c:5427
#5  0x00007ffb8844f1d5 in g_thread_proxy (data=0x16df990)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gthread.c:798
#6  0x00007ffb87fcae0e in start_thread (arg=0x7ffb7effd700)
    at pthread_create.c:311
#7  0x00007ffb87cff93d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7ffb7e7fc700 (LWP 26081)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffb8846a507 in g_cond_wait (cond=cond at entry=0x7ffb6c005dd0, 
    mutex=mutex at entry=0x7ffb6c005da8)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gthread-posix.c:756
#2  0x00007ffb8743cb32 in gst_data_queue_push (queue=0x7ffb6c005d40, 
    item=0x7ffb64031c50) at gstdataqueue.c:456
#3  0x00007ffb847c9245 in gst_dash_demux_stream_push_event (
    event=<optimized out>, stream=0x7ffb64031170) at gstdashdemux.c:455
#4  0x00007ffb847c9513 in gst_dash_demux_setup_all_streams (
    demux=demux at entry=0x7ffb6c028b80) at gstdashdemux.c:725
#5  0x00007ffb847cca26 in gst_dash_demux_sink_event (pad=pad at entry=0x18991d0, 
    parent=parent at entry=0x7ffb6c028b80, event=event at entry=0x7ffb6c027520)
    at gstdashdemux.c:803
---Type <return> to continue, or q <return> to quit---
#6  0x00007ffb88caf83b in gst_pad_send_event_unchecked (
    pad=pad at entry=0x18991d0, event=event at entry=0x7ffb6c027520, 
    type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:4993
#7  0x00007ffb88cb0026 in gst_pad_push_event_unchecked (
    pad=pad at entry=0x1898b40, event=0x7ffb6c027520, 
    type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:4689
#8  0x00007ffb88cb04a8 in push_sticky (pad=0x1898b40, ev=0x7ffb7e7fb630, 
    user_data=0x7ffb7e7fb690) at gstpad.c:3328
#9  0x00007ffb88cae892 in events_foreach (pad=pad at entry=0x1898b40, 
    func=func at entry=0x7ffb88cb0350 <push_sticky>, 
    user_data=user_data at entry=0x7ffb7e7fb690) at gstpad.c:530
#10 0x00007ffb88cb8ae8 in check_sticky (event=0x7ffb6c027520, pad=0x1898b40)
    at gstpad.c:3384
#11 gst_pad_push_event (pad=0x1898b40, event=event at entry=0x7ffb6c027520)
    at gstpad.c:4806
#12 0x00007ffb85c8b9af in gst_type_find_element_sink_event (
    pad=pad at entry=0x1898910, parent=parent at entry=0x189b790, 
    event=event at entry=0x7ffb6c027520) at gsttypefindelement.c:677
#13 0x00007ffb88caf83b in gst_pad_send_event_unchecked (
    pad=pad at entry=0x1898910, event=event at entry=0x7ffb6c027520, 
    type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:4993
#14 0x00007ffb88cb0026 in gst_pad_push_event_unchecked (
    pad=pad at entry=0x7ffb6c028040, event=0x7ffb6c027520, 
    type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:4689
#15 0x00007ffb88cb04a8 in push_sticky (pad=0x7ffb6c028040, ev=0x7ffb7e7fb910, 
    user_data=0x7ffb7e7fb970) at gstpad.c:3328
#16 0x00007ffb88cae892 in events_foreach (pad=pad at entry=0x7ffb6c028040, 
    func=func at entry=0x7ffb88cb0350 <push_sticky>, 
    user_data=user_data at entry=0x7ffb7e7fb970) at gstpad.c:530
#17 0x00007ffb88cb8ae8 in check_sticky (event=0x7ffb6c027520, 
---Type <return> to continue, or q <return> to quit---
    pad=0x7ffb6c028040) at gstpad.c:3384
#18 gst_pad_push_event (pad=pad at entry=0x7ffb6c028040, event=0x7ffb6c027520)
    at gstpad.c:4806
#19 0x00007ffb88cb8c6f in event_forward_func (pad=pad at entry=0x7ffb6c028040, 
    data=data at entry=0x7ffb7e7fbac0) at gstpad.c:2745
#20 0x00007ffb88cb5b77 in gst_pad_forward (pad=pad at entry=0x1896c70, 
    forward=forward at entry=0x7ffb88cb8ba0 <event_forward_func>, 
    user_data=user_data at entry=0x7ffb7e7fbac0) at gstpad.c:2699
#21 0x00007ffb88cb5cae in gst_pad_event_default (pad=pad at entry=0x1896c70, 
    parent=parent at entry=0x1896a10, event=event at entry=0x7ffb6c027520)
    at gstpad.c:2796
#22 0x00007ffb88caf83b in gst_pad_send_event_unchecked (
    pad=pad at entry=0x1896c70, event=event at entry=0x7ffb6c027520, 
    type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:4993
#23 0x00007ffb88cb0026 in gst_pad_push_event_unchecked (
    pad=pad at entry=0x1898fa0, event=0x7ffb6c027520, 
    type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:4689
#24 0x00007ffb88cb04a8 in push_sticky (pad=0x1898fa0, ev=0x7ffb7e7fbcc0, 
    user_data=0x7ffb7e7fbd20) at gstpad.c:3328
#25 0x00007ffb88cae892 in events_foreach (pad=pad at entry=0x1898fa0, 
    func=func at entry=0x7ffb88cb0350 <push_sticky>, 
    user_data=user_data at entry=0x7ffb7e7fbd20) at gstpad.c:530
#26 0x00007ffb88cb8ae8 in check_sticky (event=0x7ffb6c027520, pad=0x1898fa0)
    at gstpad.c:3384
#27 gst_pad_push_event (pad=0x1898fa0, event=event at entry=0x7ffb6c027520)
    at gstpad.c:4806
#28 0x00007ffb85c850eb in gst_queue2_push_one (queue=0x7ffb6c02c0c0)
    at gstqueue2.c:2584
#29 gst_queue2_loop (pad=<optimized out>) at gstqueue2.c:2670
#30 0x00007ffb88cdeb99 in gst_task_func (task=0x16e15a0) at gsttask.c:316
---Type <return> to continue, or q <return> to quit---
#31 0x00007ffb8844fb96 in g_thread_pool_thread_proxy (data=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gthreadpool.c:309
#32 0x00007ffb8844f1d5 in g_thread_proxy (data=0x7ffb6c023f70)
    at /tmp/buildd/glib2.0-2.36.3/./glib/gthread.c:798
#33 0x00007ffb87fcae0e in start_thread (arg=0x7ffb7e7fc700)
    at pthread_create.c:311
#34 0x00007ffb87cff93d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffb88c1a700 (LWP 26032)):
#0  __lll_lock_wait ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007ffb87fccf57 in _L_lock_1027 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007ffb87fccde9 in __GI___pthread_mutex_lock (mutex=0x7ffb6402aac0)
    at pthread_mutex_lock.c:85
#3  0x00007ffb88cb4f1c in post_activate (new_mode=GST_PAD_MODE_NONE, 
    pad=0x18991d0) at gstpad.c:904
#4  gst_pad_activate_mode (pad=pad at entry=0x18991d0, 
    mode=mode at entry=GST_PAD_MODE_PUSH, active=active at entry=0) at gstpad.c:1085
#5  0x00007ffb88cb55c0 in gst_pad_set_active (pad=0x18991d0, active=0)
    at gstpad.c:967
#6  0x00007ffb88c9953b in activate_pads (vpad=<optimized out>, 
    ret=0x7fff4a034700, active=0x7fff4a03475c) at gstelement.c:2690
#7  0x00007ffb88ca86cc in gst_iterator_fold (it=it at entry=0x1890c80, 
    func=func at entry=0x7ffb88c99520 <activate_pads>, 
    ret=ret at entry=0x7fff4a034700, user_data=user_data at entry=0x7fff4a03475c)
    at gstiterator.c:614
#8  0x00007ffb88c997ba in iterator_activate_fold_with_resync (
    iter=iter at entry=0x1890c80, user_data=user_data at entry=0x7fff4a03475c, 
---Type <return> to continue, or q <return> to quit---
    func=0x7ffb88c99520 <activate_pads>) at gstelement.c:2710
#9  0x00007ffb88c9b4e6 in gst_element_pads_activate (
    element=element at entry=0x7ffb6c028b80, active=0) at gstelement.c:2754
#10 0x00007ffb88c9b7fa in gst_element_change_state_func (
    element=0x7ffb6c028b80, transition=GST_STATE_CHANGE_PAUSED_TO_READY)
    at gstelement.c:2818
#11 0x00007ffb88c9d372 in gst_element_change_state (
    element=element at entry=0x7ffb6c028b80, 
    transition=transition at entry=GST_STATE_CHANGE_PAUSED_TO_READY)
    at gstelement.c:2605
#12 0x00007ffb88c9da4c in gst_element_set_state_func (element=0x7ffb6c028b80, 
    state=GST_STATE_READY) at gstelement.c:2561
#13 0x00007ffb88c836b6 in gst_bin_element_set_state (next=GST_STATE_READY, 
    current=GST_STATE_PAUSED, start_time=0, base_time=0, 
    element=0x7ffb6c028b80, bin=0x1896a10) at gstbin.c:2297
#14 gst_bin_change_state_func (element=0x1896a10, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2599
#15 0x00007ffb88bd4821 in gst_decode_bin_change_state (element=0x1896a10, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstdecodebin2.c:4473
#16 0x00007ffb88c9d372 in gst_element_change_state (
    element=element at entry=0x1896a10, 
    transition=transition at entry=GST_STATE_CHANGE_PAUSED_TO_READY)
    at gstelement.c:2605
#17 0x00007ffb88c9da4c in gst_element_set_state_func (element=0x1896a10, 
    state=GST_STATE_READY) at gstelement.c:2561
#18 0x00007ffb88c836b6 in gst_bin_element_set_state (next=GST_STATE_READY, 
    current=GST_STATE_PAUSED, start_time=0, base_time=0, element=0x1896a10, 
    bin=0x1896090) at gstbin.c:2297
#19 gst_bin_change_state_func (element=0x1896090, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2599
---Type <return> to continue, or q <return> to quit---
#20 0x00007ffb88bdfd99 in gst_uri_decode_bin_change_state (element=0x1896090, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gsturidecodebin.c:2654
#21 0x00007ffb88c9d372 in gst_element_change_state (
    element=element at entry=0x1896090, 
    transition=transition at entry=GST_STATE_CHANGE_PAUSED_TO_READY)
    at gstelement.c:2605
#22 0x00007ffb88c9da4c in gst_element_set_state_func (element=0x1896090, 
    state=GST_STATE_READY) at gstelement.c:2561
#23 0x00007ffb88c836b6 in gst_bin_element_set_state (next=GST_STATE_READY, 
    current=GST_STATE_PAUSED, start_time=0, base_time=0, element=0x1896090, 
    bin=0x188e200) at gstbin.c:2297
#24 gst_bin_change_state_func (element=0x188e200, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2599
#25 0x00007ffb88cbb3df in gst_pipeline_change_state (element=0x188e200, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstpipeline.c:471
#26 0x00007ffb88be7029 in gst_play_bin_change_state (element=0x188e200, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstplaybin2.c:5265
#27 0x00007ffb88c9d372 in gst_element_change_state (
    element=element at entry=0x188e200, 
    transition=transition at entry=GST_STATE_CHANGE_PAUSED_TO_READY)
    at gstelement.c:2605
#28 0x00007ffb88c9da4c in gst_element_set_state_func (element=0x188e200, 
    state=GST_STATE_NULL) at gstelement.c:2561
#29 0x000000000040394f in main (argc=3, argv=0x7fff4a035488)
    at gst-launch.c:1206

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