[gstreamer-bugs] [Bug 166674] New: deadlock detected using opt and playbin

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Tue Feb 8 06:41:40 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=166674
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: deadlock detected using opt and playbin
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thaytan at mad.scientist.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Here's a backtrace captured when using playbin to play a DVD with DTS. This
seems to be caused by dtsdec currently being loopbased.

(gdb) cont
Continuing.

** (totem:9944): WARNING **: deadlock detected, disabling group 0x848f920
ERROR (0x83f0938 - 307742:40:30.541820000)       scheduler( 9944)
gstoptimalscheduler.c(2797):gst_opt_scheduler_iterate:<GstOptScheduler at 0x83f0868>
in error state
[New Thread -1253733456 (LWP 10730)]
[New Thread -1255957584 (LWP 10731)]

Breakpoint 2, 0xb75f8e7e in g_log () from /usr/lib/libglib-2.0.so.0
(gdb) cont
Continuing.

** (totem:9944): WARNING **: deadlock detected, disabling group 0x848f920
ERROR (0x83f0938 - 307742:40:44.578405000)       scheduler( 9944)
gstoptimalscheduler.c(2797):gst_opt_scheduler_iterate:<GstOptScheduler at 0x83f0868>
in error state

Thread 3 (Thread -1236538448 (LWP 9973)):
#0  0xb75f8e7e in g_log () from /usr/lib/libglib-2.0.so.0
#1  0xb64c43f4 in gst_opt_scheduler_get_wrapper (srcpad=0x848eb10) at
gstoptimalscheduler.c:1588
#2  0xb7805738 in gst_pad_pull (pad=0x848f6f8) at gstpad.c:3347
#3  0xb6563b75 in gst_bytestream_get_next_buf (bs=0x848f980) at bytestream.c:156
#4  0xb6563ed4 in gst_bytestream_fill_bytes (bs=0x848f980, len=1) at
bytestream.c:230
#5  0xb6565213 in gst_bytestream_get_timestamp (bs=0x848f980) at bytestream.c:725
#6  0xb58816e1 in gst_dtsdec_loop (element=0x10) at gstdtsdec.c:410
#7  0xb64c3b34 in loop_group_schedule_function (argc=0, argv=0x848f920) at
gstoptimalscheduler.c:1451
#8  0xb64c2f93 in schedule_group (group=0x848f920) at gstoptimalscheduler.c:1222
#9  0xb64c3278 in gst_opt_scheduler_schedule_run_queue (osched=0x83f0868,
only_group=0x0) at gstoptimalscheduler.c:1274
#10 0xb64c33f7 in schedule_chain (chain=0x849cd78) at gstoptimalscheduler.c:1331
#11 0xb64c774f in gst_opt_scheduler_iterate (sched=0x83f0868) at
gstoptimalscheduler.c:2789
#12 0xb78126b9 in gst_scheduler_iterate (sched=0x83f0868) at gstscheduler.c:744
#13 0xb77e4ed8 in gst_bin_iterate_func (bin=0x83efe08) at gstbin.c:1246
#14 0xb7828c41 in gst_marshal_BOOLEAN__VOID (closure=0x8091370,
return_value=0xb64be750, n_param_values=1, param_values=0x10,
invocation_hint=0xb64be778, marshal_data=0xb77e4e40)
    at gstmarshal.c:509
#15 0xb77a05bf in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#16 0xb77a0351 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#17 0xb77b0270 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#18 0xb77af6ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#19 0xb77afb75 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#20 0xb77e50c2 in gst_bin_iterate (bin=0x83efe08) at gstbin.c:1306
#21 0xb781bd8d in gst_thread_main_loop (arg=0x83efe08) at gstthread.c:675
#22 0xb760a2f2 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#23 0xb7680ae0 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#24 0xb748ec5a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1227113552 (LWP 9966)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7486509 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb75f28b6 in g_main_loop_get_context () from /usr/lib/libglib-2.0.so.0
#3  0xb75f1f2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4  0xb75f24f6 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0xb792bf28 in link_thread_io_context () from /usr/lib/libORBit-2.so.0
#6  0xb7649398 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb6dbbad8 in ?? ()
#8  0xb760a2f2 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
Previous frame inner to this frame (corrupt stack?)
#0  0xb75f8e7e in g_log () from /usr/lib/libglib-2.0.so.0

Thread 1 (Thread -1224600096 (LWP 9944)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb768300e in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0xb65b45d5 in setup_source (play_base_bin=0x83cbd28, _stream=0x0,
error=0xbffff5c8) at gstplaybasebin.c:1279
#3  0xb65b5698 in gst_play_base_bin_change_state (element=0x83cbd28) at
gstplaybasebin.c:1592
#4  0xb65b0690 in gst_play_bin_change_state (element=0x83cbd28) at gstplaybin.c:809
#5  0xb77f1adc in gst_element_set_state_func (element=0x83cbd28,
state=GST_STATE_PAUSED) at gstelement.c:2853
#6  0xb77f17b6 in gst_element_set_state (element=0x83cbd28,
state=GST_STATE_PAUSED) at gstelement.c:2796
#7  0x08072d6a in bacon_video_widget_open_with_subtitle (bvw=0x83c1c68,
mrl=0x83f09c8 "dvd://1", subtitle_uri=0x0, error=0xfffffffc) at
bacon-video-widget-gst.c:1614
#8  0x0805c232 in totem_action_set_mrl_with_warning (totem=0x81f84e8,
mrl=0x83f09c8 "dvd://1", warn=1) at totem.c:656
#9  0x0805c751 in totem_action_set_mrl (totem=0xfffffffc, mrl=0xfffffffc
<Address 0xfffffffc out of bounds>) at totem.c:722
#10 0x0805b92b in totem_action_set_mrl_and_play (totem=0x81f84e8, mrl=0xfffffffc
<Address 0xfffffffc out of bounds>) at totem.c:342
#11 0x0805bb59 in totem_action_play_pause (totem=0x81f84e8) at totem.c:406
#12 0x080633bb in main (argc=2, argv=0xbffff838) at totem.c:3509

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list