[gst-devel] deadlock
Colin Walters
walters at debian.org
Thu Apr 10 22:37:03 CEST 2003
Hey all,
I often get this deadlock with net-rhythmbox from CVS and the GStreamer
0.6 branch when I hit the stop button. Does anyone have any ideas? It
looks like thread 7 and thread 1 are deadlocked.
(gdb) thread apply all bt
Thread 7 (Thread 114696 (LWP 16629)):
#0 0x410cba94 in write () from /lib/libc.so.6
#1 0x4126db50 in __JCR_LIST__ () from /lib/libpthread.so.0
#2 0x4027a077 in gst_osssink_chain (pad=0x3b9aca00, buf=0x8105f80) at gstosssink.c:392
#3 0x40047bd6 in FT_Get_PFR_Advance () at gstpad.c:2188
#4 0x4029d673 in gst_mad_chain (pad=0x851fef8, buffer=0x8105fc8) at gstmad.c:1198
#5 0x40047bd6 in FT_Get_PFR_Advance () at gstpad.c:2188
#6 0x4026af26 in get_group_schedule_function (argc=0, argv=0x86cdf20) at gstoptimalscheduler.c:896
#7 0x4026aaa3 in schedule_group (group=0x1200) at gstoptimalscheduler.c:779
#8 0x4026ab34 in gst_opt_scheduler_schedule_run_queue (osched=0x81ae298) at gstoptimalscheduler.c:810
#9 0x4026ad4d in schedule_chain (chain=0x869e9b8) at gstoptimalscheduler.c:851
#10 0x4026ccc9 in gst_opt_scheduler_iterate (sched=0x81ae298) at gstoptimalscheduler.c:1825
#11 0x40051a5a in ftc_node_done () at gstscheduler.c:732
#12 0x4003366c in gst_bin_iterate_func (bin=0x81afed8) at gstbin.c:891
#13 0x4003385a in gst_bin_iterate (bin=0x81afed8) at gstbin.c:936
#14 0x40054dab in gst_thread_main_loop (arg=0x81afed8) at gstthread.c:723
#15 0x413cbcc0 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#16 0x41264d53 in pthread_start_thread () from /lib/libpthread.so.0
Thread 6 (Thread 65541 (LWP 16625)):
#0 0x410adf11 in nanosleep () from /lib/libc.so.6
#1 0x41268d0d in nanosleep () from /lib/libpthread.so.0
#2 0x413cdffa in g_usleep () from /usr/lib/libglib-2.0.so.0
#3 0x080802d5 in thread_main (thread=0x828f3f0) at rb-library-walker-thread.c:285
#4 0x413cbcc0 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#5 0x41264d53 in pthread_start_thread () from /lib/libpthread.so.0
Thread 5 (Thread 49156 (LWP 16624)):
#0 0x410adf11 in nanosleep () from /lib/libc.so.6
#1 0x41268d0d in nanosleep () from /lib/libpthread.so.0
#2 0x413cdffa in g_usleep () from /usr/lib/libglib-2.0.so.0
#3 0x08080bbf in thread_main (priv=0x86ce2b0) at rb-library-main-thread.c:247
#4 0x413cbcc0 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#5 0x41264d53 in pthread_start_thread () from /lib/libpthread.so.0
Thread 4 (Thread 32771 (LWP 16623)):
#0 0x4103aae2 in sigsuspend () from /lib/libc.so.6
#1 0x41266f35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2 0x41263f05 in pthread_cond_wait () from /lib/libpthread.so.0
#3 0x41d438ac in _init () from /usr/lib/libxosd.so.2
#4 0x41264d53 in pthread_start_thread () from /lib/libpthread.so.0
Thread 3 (Thread 16386 (LWP 16622)):
#0 0x410d1b1e in select () from /lib/libc.so.6
#1 0x41207da8 in _XlcPublicMethods () from /usr/X11R6/lib/libX11.so.6
#2 0x4117f26d in _XRead () from /usr/X11R6/lib/libX11.so.6
#3 0x4117ef0b in _XReadEvents () from /usr/X11R6/lib/libX11.so.6
#4 0x4117d7bd in XWindowEvent () from /usr/X11R6/lib/libX11.so.6
#5 0x41d436fa in _init () from /usr/lib/libxosd.so.2
#6 0x41264d53 in pthread_start_thread () from /lib/libpthread.so.0
Thread 2 (Thread 32769 (LWP 16621)):
#0 0x410d02c0 in poll () from /lib/libc.so.6
#1 0x41264a8e in __pthread_manager () from /lib/libpthread.so.0
Thread 1 (Thread 16384 (LWP 16620)):
#0 0x4103aae2 in sigsuspend () from /lib/libc.so.6
#1 0x41266f35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2 0x41263f05 in pthread_cond_wait () from /lib/libpthread.so.0
#3 0x40053da1 in FTC_CMapCache_Lookup () at gstthread.c:543
#4 0x4003ccfa in gst_element_set_state (element=0x81afed8, state=GST_STATE_NULL) at gstelement.c:2128
#5 0x08096d91 in monkey_media_player_close (mp=0x81ab630) at monkey-media-player-gst.c:632
#6 0x080638c6 in rb_shell_player_sync_player (player=0x81a9f48) at rb-shell-player.c:663
#7 0x08063c59 in rb_shell_player_set_playing_player (shell_player=0x0, player=0x81bf9f0) at rb-shell-player.c:765
#8 0x41b1c791 in bonobo_socket_add_id () from /usr/lib/libbonoboui-2.so.0
#9 0x4140e956 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#10 0x419cb0f6 in bonobo_closure_invoke_va_list () from /usr/lib/libbonobo-2.so.0
#11 0x419cb311 in bonobo_closure_invoke () from /usr/lib/libbonobo-2.so.0
#12 0x41b1c6b0 in bonobo_socket_add_id () from /usr/lib/libbonoboui-2.so.0
#13 0x419ce9ec in Bonobo_UIComponent_execVerb () from /usr/lib/libbonobo-2.so.0
#14 0x41b225e4 in bonobo_ui_engine_get_ui_container () from /usr/lib/libbonoboui-2.so.0
#15 0x41b2279d in bonobo_ui_engine_get_ui_container () from /usr/lib/libbonoboui-2.so.0
#16 0x4141f16e in g_cclosure_marshal_VOID__POINTER () from /usr/lib/libgobject-2.0.so.0
#17 0x4140ebf6 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#18 0x4140e956 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0x4141df0c in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#20 0x4141d562 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0x4141d75b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0x41b248d2 in bonobo_ui_engine_emit_verb_on_w () from /usr/lib/libbonoboui-2.so.0
#23 0x41b2b312 in bonobo_ui_sync_status_new () from /usr/lib/libbonoboui-2.so.0
#24 0x4141e7dc in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#25 0x4140e956 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#26 0x4141e406 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#27 0x4141d562 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#28 0x4141d75b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#29 0x41b2f2df in bonobo_ui_toolbar_item_activate () from /usr/lib/libbonoboui-2.so.0
#30 0x41b2cf41 in bonobo_ui_toolbar_button_item_get_type () from /usr/lib/libbonoboui-2.so.0
#31 0x4141e7dc in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#32 0x4140e956 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#33 0x4141e406 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#34 0x4141d562 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#35 0x4141d75b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#36 0x416a0473 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#37 0x416a1197 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#38 0x4141e7dc in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#39 0x4140ebf6 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#40 0x4140e956 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#41 0x4141dd08 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#42 0x4141d562 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#43 0x4141d75b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#44 0x416a03e7 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#45 0x416a104b in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#46 0x41712519 in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0
#47 0x4140ebf6 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#48 0x4140e956 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#49 0x4141df0c in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#50 0x4141d395 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#51 0x4141d75b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#52 0x417ce903 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#53 0x41712344 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#54 0x417113db in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#55 0x4189d64a in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#56 0x413b744f in g_get_current_time () from /usr/lib/libglib-2.0.so.0
#57 0x413b8369 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#58 0x413b866f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0x413b8cbe in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#60 0x419bd5d1 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#61 0x0805edb7 in main (argc=2, argv=0xbffffa74) at main.c:120
(gdb)
More information about the gstreamer-devel
mailing list