[Bug 700342] New: playbin: deadlock

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 14 13:46:02 PDT 2013


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

           Summary: playbin: deadlock
    Classification: Platform
           Product: GStreamer
           Version: 1.0.7
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: reiter.christoph at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Thread 1056 (Thread 0x7fffc8a7f700 (LWP 4825)):
#0  0x00007ffff6fd21bd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffdd08adff in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fffdd07c35c in pa_mainloop_poll ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fffdd07c9b9 in pa_mainloop_iterate ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fffdd07ca70 in pa_mainloop_run () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fffdd08adaf in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fffdcc2f443 in ?? ()
   from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-2.0.so
#7  0x00007ffff7bc6e0e in start_thread (arg=0x7fffc8a7f700) at
pthread_create.c:311
#8  0x00007ffff6fdd95d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 665 (Thread 0x7fffb971e700 (LWP 4433)):
#0  __lll_lock_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007ffff7bc8f72 in _L_lock_1134 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007ffff7bc8ef0 in __GI___pthread_mutex_lock (mutex=0x7fffac0012a0)
    at pthread_mutex_lock.c:104
#3  0x00007ffff55767d1 in g_mutex_lock (mutex=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.1/./glib/gthread-posix.c:210
#4  0x00007fffd6a0ad38 in gst_decode_chain_is_complete (chain=0x7fffc401f4b0)
    at gstdecodebin2.c:3194
#5  0x00007fffd6a10b2d in analyze_new_pad (dbin=dbin at entry=0x7fffd00df320,
src=src at entry=
    0x7fffd0049800, pad=pad at entry=0x7fffd00ddd10,
caps=caps at entry=0x7fffd008c0f0, 
    chain=<optimized out>, chain at entry=0x7fffc401f4b0) at gstdecodebin2.c:1717
#6  0x00007fffd6a13465 in pad_added_cb (element=element at entry=0x7fffd0049800, 
    pad=pad at entry=0x7fffd00ddd10, chain=chain at entry=0x7fffc401f4b0)
    at gstdecodebin2.c:2453
#7  0x00007fffd6a1382d in caps_notify_cb (pad=0x7fffd00ddd10, unused=<optimized
out>, 
    chain=0x7fffc401f4b0) at gstdecodebin2.c:2567
#8  0x00007ffff57fa620 in g_closure_invoke (closure=0x7fffd0005380,
return_value=0x0, 
    n_param_values=2, param_values=0x7fffb971d490,
invocation_hint=0x7fffb971d430)
    at /tmp/buildd/glib2.0-2.36.1/./gobject/gclosure.c:777
#9  0x00007ffff580be30 in signal_emit_unlocked_R (node=node at entry=0xc77fd0, 
    detail=detail at entry=1643, instance=instance at entry=0x7fffd00ddd10, 
    emission_return=emission_return at entry=0x0, 
    instance_and_params=instance_and_params at entry=0x7fffb971d490)
    at /tmp/buildd/glib2.0-2.36.1/./gobject/gsignal.c:3584
#10 0x00007ffff5813cd1 in g_signal_emit_valist (instance=0x7fffd00ddd10, 
    signal_id=<optimized out>, detail=1643,
var_args=var_args at entry=0x7fffb971d6e8)
    at /tmp/buildd/glib2.0-2.36.1/./gobject/gsignal.c:3328
#11 0x00007ffff5813f82 in g_signal_emit (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.1/./gobject/gsignal.c:3384
#12 0x00007ffff57fefc5 in g_object_dispatch_properties_changed
(object=0x7fffd00ddd10, 
    n_pspecs=128, pspecs=0xb) at
/tmp/buildd/glib2.0-2.36.1/./gobject/gobject.c:1042
#13 0x00007fffeb6717a4 in gst_object_dispatch_properties_changed
(object=0x7fffd00ddd10, 
    n_pspecs=1, pspecs=0x7fffb971d878) at gstobject.c:439
#14 0x00007ffff58009c3 in g_object_notify_by_spec_internal (pspec=<optimized
out>, 
    object=0x7fffd00ddd10) at
/tmp/buildd/glib2.0-2.36.1/./gobject/gobject.c:1136
#15 g_object_notify_by_pspec (object=object at entry=0x7fffd00ddd10,
pspec=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.1/./gobject/gobject.c:1237
#16 0x00007fffeb6a37c9 in gst_pad_store_sticky_event
(pad=pad at entry=0x7fffd00ddd10, 
    event=event at entry=0x5195ea0) at gstpad.c:4430
#17 0x00007fffeb6ade90 in gst_pad_push_event (pad=pad at entry=0x7fffd00ddd10,
event=
    0x5195ea0) at gstpad.c:4627
#18 0x00007fffc8a92159 in gst_pad_set_caps (caps=0x7fffd008c0f0,
pad=0x7fffd00ddd10)
    at /usr/include/gstreamer-1.0/gst/gstcompat.h:71
#19 gst_mpeg_audio_parse_handle_frame (parse=0x7fffd0049800, frame=<optimized
out>, 
    skipsize=<optimized out>) at gstmpegaudioparse.c:721
#20 0x00007fffeb1c3788 in gst_base_parse_handle_buffer (parse=parse at entry=
    0x7fffd0049800, buffer=<optimized out>, skip=skip at entry=0x7fffb971dd54, 
    flushed=flushed at entry=0x7fffb971dd50) at gstbaseparse.c:1828
#21 0x00007fffeb1c3cfd in gst_base_parse_scan_frame
(parse=parse at entry=0x7fffd0049800, 
    klass=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
    at gstbaseparse.c:2901
#22 0x00007fffeb1c7a91 in gst_base_parse_loop (pad=<optimized out>)
    at gstbaseparse.c:2970
#23 0x00007fffeb6d4581 in gst_task_func (task=0x7d7f7e0) at gsttask.c:316
#24 0x00007ffff555b772 in g_thread_pool_thread_proxy (data=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.1/./glib/gthreadpool.c:309
#25 0x00007ffff555af35 in g_thread_proxy (data=0x7fffd0006b20)
    at /tmp/buildd/glib2.0-2.36.1/./glib/gthread.c:798
#26 0x00007ffff7bc6e0e in start_thread (arg=0x7fffb971e700) at
pthread_create.c:311
#27 0x00007ffff6fdd95d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fffdeafc700 (LWP 3766)):
#0  0x00007ffff6fd21bd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff55371fc in g_main_context_poll (n_fds=1, fds=0x7fffd80008c0,
timeout=-1, 
    context=0x4417e00, priority=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.1/./glib/gmain.c:3995
#2  g_main_context_iterate (context=context at entry=0x4417e00,
block=block at entry=1, 
    dispatch=dispatch at entry=1, 
    self=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
    at /tmp/buildd/glib2.0-2.36.1/./glib/gmain.c:3696
#3  0x00007ffff5537324 in g_main_context_iteration (context=0x4417e00, 
    may_block=may_block at entry=1) at
/tmp/buildd/glib2.0-2.36.1/./glib/gmain.c:3762
#4  0x00007ffff5537381 in glib_worker_main (data=<optimized out>)
    at /tmp/buildd/glib2.0-2.36.1/./glib/gmain.c:5427
#5  0x00007ffff555af35 in g_thread_proxy (data=0x39c20f0)
    at /tmp/buildd/glib2.0-2.36.1/./glib/gthread.c:798
#6  0x00007ffff7bc6e0e in start_thread (arg=0x7fffdeafc700) at
pthread_create.c:311
#7  0x00007ffff6fdd95d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffff7fc9700 (LWP 3757)):
#0  __lll_lock_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007ffff7bc8f57 in _L_lock_1027 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007ffff7bc8de9 in __GI___pthread_mutex_lock (mutex=0x7fffd00bc780)
    at pthread_mutex_lock.c:85
#3  0x00007fffeb1c110b in gst_base_parse_activate (active=<optimized out>, 
    parse=<optimized out>) at gstbaseparse.c:3125
#4  gst_base_parse_sink_activate_mode (pad=0x7fffd00ddae0,
parent=0x7fffd0049800, 
    mode=GST_PAD_MODE_PULL, active=0) at gstbaseparse.c:3149
#5  0x00007fffeb6aa153 in gst_pad_activate_mode (pad=pad at entry=0x7fffd00ddae0, 
    mode=mode at entry=GST_PAD_MODE_PULL, active=active at entry=0) at gstpad.c:1060
#6  0x00007fffeb6aaace in gst_pad_set_active (pad=0x7fffd00ddae0, active=0)
    at gstpad.c:949
#7  0x00007fffeb68e4f3 in activate_pads (vpad=<optimized out>,
ret=0x7fffffffadd0, 
    active=0x7fffffffae2c) at gstelement.c:2679
#8  0x00007fffeb69d614 in gst_iterator_fold (it=it at entry=0x7fffc005cf10, 
    func=func at entry=0x7fffeb68e4d0 <activate_pads>,
ret=ret at entry=0x7fffffffadd0, 
    user_data=user_data at entry=0x7fffffffae2c) at gstiterator.c:614
#9  0x00007fffeb68e825 in iterator_activate_fold_with_resync (iter=iter at entry=
    0x7fffc005cf10, user_data=user_data at entry=0x7fffffffae2c, 
    func=0x7fffeb68e4d0 <activate_pads>) at gstelement.c:2699
#10 0x00007fffeb690548 in gst_element_pads_activate (element=element at entry=
    0x7fffd0049800, active=active at entry=0) at gstelement.c:2743
#11 0x00007fffeb69089c in gst_element_change_state_func
(element=0x7fffd0049800, 
    transition=<optimized out>) at gstelement.c:2807
#12 0x00007fffeb1c1a09 in gst_base_parse_change_state (element=0x7fffd0049800, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbaseparse.c:4235
#13 0x00007fffeb6925ac in gst_element_change_state (element=element at entry=
    0x7fffd0049800, transition=<optimized out>) at gstelement.c:2594
#14 0x00007fffeb692f81 in gst_element_set_state_func (element=0x7fffd0049800, 
    state=GST_STATE_NULL) at gstelement.c:2550
#15 0x00007fffd6a0c26b in gst_decode_chain_free_internal (chain=0x7fffc401f4b0,
hide=0)
    at gstdecodebin2.c:2766
#16 0x00007fffd6a1013c in gst_decode_chain_free (chain=<optimized out>)
    at gstdecodebin2.c:2835
#17 gst_decode_bin_change_state (element=0x7fffd00df320, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstdecodebin2.c:4201
#18 0x00007fffeb6925ac in gst_element_change_state (element=element at entry=
    0x7fffd00df320, transition=<optimized out>) at gstelement.c:2594
#19 0x00007fffeb692f81 in gst_element_set_state_func (element=0x7fffd00df320, 
    state=GST_STATE_READY) at gstelement.c:2550
#20 0x00007fffeb67ad3c in gst_bin_element_set_state (next=GST_STATE_READY, 
    current=GST_STATE_PAUSED, start_time=0, base_time=0,
element=0x7fffd00df320, bin=
    0x7fffd00dec00) at gstbin.c:2292
#21 gst_bin_change_state_func (element=0x7fffd00dec00, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2594
#22 0x00007fffd6a18205 in gst_uri_decode_bin_change_state
(element=0x7fffd00dec00, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gsturidecodebin.c:2579
#23 0x00007fffeb6925ac in gst_element_change_state (element=element at entry=
    0x7fffd00dec00, transition=<optimized out>) at gstelement.c:2594
#24 0x00007fffeb692f81 in gst_element_set_state_func (element=0x7fffd00dec00, 
    state=GST_STATE_READY) at gstelement.c:2550
#25 0x00007fffeb67ad3c in gst_bin_element_set_state (next=GST_STATE_READY, 
    current=GST_STATE_PAUSED, start_time=0, base_time=0,
element=0x7fffd00dec00, bin=
    0x81046b0) at gstbin.c:2292
#26 gst_bin_change_state_func (element=0x81046b0, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2594
#27 0x00007fffeb6b09e3 in gst_pipeline_change_state (element=0x81046b0, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstpipeline.c:471
#28 0x00007fffd6a1e4f0 in gst_play_bin_change_state (element=0x81046b0, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstplaybin2.c:4151
#29 0x00007fffeb6925ac in gst_element_change_state
(element=element at entry=0x81046b0, 
    transition=<optimized out>) at gstelement.c:2594
#30 0x00007fffeb692f81 in gst_element_set_state_func (element=0x81046b0, 
    state=GST_STATE_NULL) at gstelement.c:2550
quit
A debugging session is active.

    Inferior 1 [process 3757] will be killed.

Quit anyway? (y or n)

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