After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666957 - hang in gst_task_join()
hang in gst_task_join()
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: dont know
0.10.32
Other Linux
: Normal critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-28 16:36 UTC by Brian J. Murrell
Modified: 2012-02-05 00:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brian J. Murrell 2011-12-28 16:36:46 UTC
Frequently pidgin hangs and every time it does the stack is:

  • #0 __kernel_vsyscall
  • #1 pthread_cond_wait
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S line 169
  • #2 gst_task_join
    at gsttask.c line 824
  • #3 gst_pad_stop_task
    at gstpad.c line 5647
  • #4 gst_base_src_activate_push
    at gstbasesrc.c line 2983
  • #5 gst_pad_activate_push
    at gstpad.c line 953
  • #6 gst_pad_activate_default
    at gstpad.c line 618
  • #7 gst_pad_set_active
    at gstpad.c line 708
  • #8 activate_pads
    at gstelement.c line 2735
  • #9 gst_iterator_fold
    at gstiterator.c line 549
  • #10 iterator_activate_fold_with_resync
    at gstelement.c line 2767
  • #11 gst_element_pads_activate
    at gstelement.c line 2803
  • #12 gst_element_change_state_func
    at gstelement.c line 2881
  • #13 gst_base_src_change_state
    at gstbasesrc.c line 3075
  • #14 gst_element_change_state
    at gstelement.c line 2651
  • #15 gst_element_continue_state
    at gstelement.c line 2325
  • #16 gst_element_change_state
    at gstelement.c line 2688
  • #17 gst_element_set_state_func
    at gstelement.c line 2607
  • #18 gst_element_set_state
    at gstelement.c line 2508
  • #19 gst_bin_element_set_state
    at gstbin.c line 2185
  • #20 gst_bin_change_state_func
    at gstbin.c line 2484
  • #21 gst_pipeline_change_state
    at gstpipeline.c line 482
  • #22 gst_play_base_bin_change_state
    at gstplaybasebin.c line 2748
  • #23 gst_play_bin_change_state
    at gstplaybin.c line 1952
  • #24 gst_element_change_state
    at gstelement.c line 2651
  • #25 gst_element_continue_state
    at gstelement.c line 2325
  • #26 gst_element_change_state
    at gstelement.c line 2688
  • #27 gst_element_set_state_func
    at gstelement.c line 2607
  • #28 gst_element_set_state
    at gstelement.c line 2508
  • #29 pidgin_sound_play_file
    at /build/buildd/pidgin-2.7.11/./pidgin/gtksound.c line 548
  • #30 purple_sound_play_file
    at /build/buildd/pidgin-2.7.11/./libpurple/sound.c line 75
  • #31 pidgin_sound_play_event
    at /build/buildd/pidgin-2.7.11/./pidgin/gtksound.c line 619
  • #32 purple_sound_play_event
    at /build/buildd/pidgin-2.7.11/./libpurple/sound.c line 98
  • #33 purple_marshal_VOID__POINTER
    at /build/buildd/pidgin-2.7.11/./libpurple/signals.c line 629
  • #34 purple_signal_emit_vargs
    at /build/buildd/pidgin-2.7.11/./libpurple/signals.c line 482
  • #35 purple_signal_emit
    at /build/buildd/pidgin-2.7.11/./libpurple/signals.c line 434
  • #36 purple_blist_update_buddy_status
    at /build/buildd/pidgin-2.7.11/./libpurple/blist.c line 917
  • #37 purple_prpl_got_user_status
    at /build/buildd/pidgin-2.7.11/./libpurple/prpl.c line 284
  • #38 yahoo_update_status
    at /build/buildd/pidgin-2.7.11/./libpurple/protocols/yahoo/libymsg.c line 134
  • #39 yahoo_process_status
    at /build/buildd/pidgin-2.7.11/./libpurple/protocols/yahoo/libymsg.c line 393
  • #40 yahoo_process_contact
    at /build/buildd/pidgin-2.7.11/./libpurple/protocols/yahoo/libymsg.c line 1559
  • #41 yahoo_packet_process
    at /build/buildd/pidgin-2.7.11/./libpurple/protocols/yahoo/libymsg.c line 3018
  • #42 yahoo_pending
    at /build/buildd/pidgin-2.7.11/./libpurple/protocols/yahoo/libymsg.c line 3223
  • #43 pidgin_io_invoke
    at /build/buildd/pidgin-2.7.11/./pidgin/gtkeventloop.c line 73
  • #44 g_io_unix_dispatch
    at /build/buildd/glib2.0-2.28.6/./glib/giounix.c line 166
  • #45 g_main_dispatch
    at /build/buildd/glib2.0-2.28.6/./glib/gmain.c line 2440
  • #46 g_main_context_dispatch
    at /build/buildd/glib2.0-2.28.6/./glib/gmain.c line 3013
  • #47 g_main_context_iterate
    at /build/buildd/glib2.0-2.28.6/./glib/gmain.c line 3091
  • #48 g_main_loop_run
    at /build/buildd/glib2.0-2.28.6/./glib/gmain.c line 3299
  • #49 IA__gtk_main
    at /build/buildd/gtk+2.0-2.24.4/gtk/gtkmain.c line 1257
  • #50 main
    at /build/buildd/pidgin-2.7.11/./pidgin/gtkmain.c line 931

I know you are going to ask me to try on the latest but that means having to upgrade to GNOME 3 and/or Unity (on Ubuntu) and neither of those are usable yet so I'd prefer to just stick with GNOME 2.32.1 that I currently have/use.
Comment 1 Tim-Philipp Müller 2011-12-28 23:28:31 UTC
(In reply to comment #0)
> I know you are going to ask me to try on the latest but that means
> having to upgrade to GNOME 3 and/or Unity (on Ubuntu) and
> neither of those are usable yet so I'd prefer to just stick with
> GNOME 2.32.1 that I currently have/use.

There's a GStreamer PPA with more recent versions of GStreamer. You can upgrade glib/gstreamer without upgrading the rest of your desktop.

Please try with an up-to-date version of GStreamer (current pre-releases or latest release, ie. 0.10.35.2 or 0.10.35 of core/base and 0.10.30 or 0.10.30.2 of -good).
Comment 2 Brian J. Murrell 2012-01-19 21:42:27 UTC
While this problem didn't happen super frequently, it has not happened even once since I started using the PPA release so I think we can close this ticket.
Comment 3 Tim-Philipp Müller 2012-01-20 12:56:47 UTC
Ok, thanks.
Comment 4 Vladimir Rutsky 2012-02-05 00:09:43 UTC
After upgrading from Ubuntu 11.04 to 11.10 I experienced this bug with similar stack trace very often. 

In my case the problem was due to bug in fuser program [1]: fuser forked uncontrollably and exhaused all my threads resources (number of threads limited to 600 in /etc/security/limits.conf in my system), so any program that tried to create thread at the same time that fuser was running have been failing. 

Patching fuser program [2] helped.

[1] https://bugs.launchpad.net/ubuntu/+source/psmisc/+bug/876387
[2] http://sourceforge.net/tracker/?func=detail&atid=115273&aid=3429674&group_id=15273

P.S. I'm using GStreamer 0.10.35-1 from Ubuntu 11.10.