[gstreamer-bugs] [Bug 583255] New: deadlock in playbin2

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue May 19 13:02:12 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=583255

  GStreamer | gst-plugins-base | Ver: git
           Summary: deadlock in playbin2
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thaytan at mad.scientist.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Observed this deadlock with totem and playbin2 earlier, while it was resetting
at the end of a file:

Thread 1 (Thread 0xb8034770 (LWP 30539)):
#0  0x00f4c424 in __kernel_vsyscall ()
#1  0x001a5b09 in __lll_lock_wait ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:142
#2  0x001a0eeb in _L_lock_752 () from /lib/libpthread.so.0
#3  0x001a0d01 in __pthread_mutex_lock (mutex=0x9059860) at
pthread_mutex_lock.c:61
#4  0x045b2495 in gst_play_sink_get_sink (playsink=0x8fc7330,
type=GST_PLAY_SINK_TYPE_VIDEO)
    at gstplaysink.c:379
#5  0x045b050e in gst_play_bin_get_property (object=0x9056138, prop_id=13,
value=0xbfc63a1c, 
    pspec=0x9007c78) at gstplaybin2.c:1609
#6  0x00226b00 in object_get_property (value=<value optimized out>,
pspec=<value optimized out>, 
    object=<value optimized out>) at gobject.c:904
#7  IA__g_object_get_valist (value=<value optimized out>, pspec=<value
optimized out>, 
    object=<value optimized out>) at gobject.c:1498
#8  0x00226da6 in IA__g_object_get (_object=0x9056138,
first_property_name=0x80a2c59 "video-sink")
    at gobject.c:1588
#9  0x080881f2 in bvw_update_interface_implementations (bvw=0x90540e0)
    at bacon-video-widget-gst-0.10.c:5703
#10 0x080889e3 in got_new_video_sink_bin_element (video_sink=0x8ebb620,
element=0x906e810, 
    data=0x90540e0) at bacon-video-widget-gst-0.10.c:5828
#11 0x0022f258 in IA__g_cclosure_marshal_VOID__OBJECT (closure=0x8e31190,
return_value=0x0, 
    n_param_values=2, param_values=0x9728118, invocation_hint=0xbfc63c30,
marshal_data=0x80889a0)
    at gmarshal.c:636
#12 0x00222352 in IA__g_closure_invoke (closure=0x8e31190, return_value=0x0,
n_param_values=2, 
    param_values=0x9728118, invocation_hint=0xbfc63c30) at gclosure.c:767
#13 0x00237bc8 in signal_emit_unlocked_R (node=<value optimized out>, 
    detail=<value optimized out>, instance=0x8ebb620, emission_return=0x0, 
---Type <return> to continue, or q <return> to quit---
    instance_and_params=0x9728118) at gsignal.c:3247
#14 0x00238f7d in IA__g_signal_emit_valist (instance=0x8ebb620, signal_id=16,
detail=0, 
    var_args=0xbfc63df0 "\364\220l") at gsignal.c:2980
#15 0x00239406 in IA__g_signal_emit (instance=0x8ebb620, signal_id=16,
detail=0) at gsignal.c:3037
#16 0x0062412b in gst_bin_add_func (bin=0x8ebb620, element=0x906e810) at
gstbin.c:1049
#17 0x00622261 in gst_bin_add (bin=0x8ebb620, element=0x906e810) at
gstbin.c:1112
#18 0x0048b23e in do_toggle_element (sink=0x8ebb620) at gstgconfvideosink.c:208
#19 0x0048b805 in gst_gconf_video_sink_change_state (element=0x8ebb620, 
    transition=GST_STATE_CHANGE_NULL_TO_READY) at gstgconfvideosink.c:236
#20 0x00638985 in gst_element_change_state (element=0x8ebb620, 
    transition=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2458
#21 0x0063ba91 in gst_element_set_state_func (element=0x8ebb620,
state=GST_STATE_READY)
    at gstelement.c:2414
#22 0x00637c02 in gst_element_set_state (element=0x8ebb620,
state=GST_STATE_READY)
    at gstelement.c:2317
#23 0x045b78eb in setup_video_chain (queue=<value optimized out>, async=<value
optimized out>, 
    raw=<value optimized out>, playsink=<value optimized out>) at
gstplaysink.c:990
#24 gst_play_sink_reconfigure (queue=<value optimized out>, async=<value
optimized out>, 
    raw=<value optimized out>, playsink=<value optimized out>) at
gstplaysink.c:1746
#25 0x045b0b83 in gst_play_bin_set_property (object=0x9056138, prop_id=4,
value=0xbfc64218, 
    pspec=0x8fde320) at gstplaybin2.c:1435
#26 0x00227335 in object_set_property (nqueue=<value optimized out>,
value=<value optimized out>, 
    pspec=<value optimized out>, object=<value optimized out>) at gobject.c:942
#27 IA__g_object_set_valist (nqueue=<value optimized out>, value=<value
optimized out>, 
    pspec=<value optimized out>, object=<value optimized out>) at
gobject.c:1431
#28 0x002278f6 in IA__g_object_set (_object=0x9056138,
first_property_name=0x80a268f "flags")
    at gobject.c:1537
#29 0x08081ea6 in parse_stream_info (bvw=<value optimized out>)
    at bacon-video-widget-gst-0.10.c:1989
#30 bvw_update_stream_info (bvw=<value optimized out>) at
bacon-video-widget-gst-0.10.c:1232
#31 0x0808b968 in bvw_handle_application_message (msg=<value optimized out>, 
    bvw=<value optimized out>) at bacon-video-widget-gst-0.10.c:1255
#32 bvw_bus_message_cb (msg=<value optimized out>, bvw=<value optimized out>)
    at bacon-video-widget-gst-0.10.c:1672
#33 0x0062c46c in marshal_VOID__MINIOBJECT (closure=0x8e312b0,
return_value=0x0, n_param_values=2, 
    param_values=0x97281b8, invocation_hint=0xbfc644a0, marshal_data=0x808acf0)
at gstbus.c:134
#34 0x00222352 in IA__g_closure_invoke (closure=0x8e312b0, return_value=0x0,
n_param_values=2, 
    param_values=0x97281b8, invocation_hint=0xbfc644a0) at gclosure.c:767
#35 0x00237bc8 in signal_emit_unlocked_R (node=<value optimized out>, 
    detail=<value optimized out>, instance=0x904e980, emission_return=0x0, 
    instance_and_params=0x97281b8) at gsignal.c:3247
#36 0x00238f7d in IA__g_signal_emit_valist (instance=0x904e980, signal_id=20,
detail=198, 
    var_args=0xbfc64660 "\200\351\4\t") at gsignal.c:2980
#37 0x00239406 in IA__g_signal_emit (instance=0x904e980, signal_id=20,
detail=198)
    at gsignal.c:3037
#38 0x0062b862 in gst_bus_async_signal_func (bus=0x904e980, message=0xb20010c0,
data=0x0)
    at gstbus.c:1098
#39 0x0062cf45 in gst_bus_source_dispatch (source=0x9059a00, 
    callback=0x62b7b0 <gst_bus_async_signal_func>, user_data=0x0) at
gstbus.c:761
#40 0x0051b1e8 in g_main_dispatch (context=<value optimized out>) at
gmain.c:1814
#41 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2367
#42 0x0051e7f8 in g_main_context_iterate (context=0x8e56340, block=<value
optimized out>, 
    dispatch=1, self=0x8cda580) at gmain.c:2448
#43 0x0051ecaf in IA__g_main_loop_run (loop=0x8fc9470) at gmain.c:2656
#44 0x037b38e9 in IA__gtk_main () at gtkmain.c:1205
---Type <return> to continue, or q <return> to quit---
#45 0x0805f59c in main (argc=1, argv=0xbfc64994) at totem.c:277


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=583255.




More information about the Gstreamer-bugs mailing list