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 636315 - [playbin2] hangs occasionally when playing several mp3 with covers in a row
[playbin2] hangs occasionally when playing several mp3 with covers in a row
Status: RESOLVED DUPLICATE of bug 683574
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-12-02 18:47 UTC by Mahendra Tallur
Modified: 2012-10-03 23:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Totem stack trace when hanging after changing the track (46.99 KB, text/plain)
2010-12-02 18:47 UTC, Mahendra Tallur
Details
Backtrace with gstreamer symbols too (28.68 KB, text/plain)
2010-12-03 16:39 UTC, Mahendra Tallur
Details

Description Mahendra Tallur 2010-12-02 18:47:21 UTC
Created attachment 175726 [details]
Totem stack trace when hanging after changing the track

Hi ! 

Here's a bug report I also made on Launchpad using Totem 2.32.0 under Ubuntu 10.10 AMD64 (fresh clean install) : https://bugs.launchpad.net/ubuntu/+source/totem/+bug/684343

I though I would report it upstream as well.

Here's an issue I can easily reproduce + I attached a stack trace.

I have to :
1) open totem
2) open a couple of mp3s : in my case : the Machinarium soundtrack, in mp3s, with a cover.jpg file that is displayed while playing
3) play some tracks : I have to change the track from 5 to 50 files before the problem actually occurs.
4) it doesn't crash but the GUI hangs. Also, sound is played but the cover is not displayed when it happens (black area instead).
--> only solution is to kill the task
--> the attached stack trace was after loading about 50 mp3 files ; the totem GUI hanged when trying to play "09 The Black Cap Brothergood Theme.mp3" but that is random. During my previous tests without gdb, the crash occured much more quickly.

What should happen : play the file / display the cover
What happens : GUI freezes / cover not displayed / but it still plays the mp3 file

Cheers !
Comment 1 Fabio Durán Verdugo 2010-12-03 02:33:31 UTC
Dont freeze in 2.32 for me. can you test in this version?
Comment 2 Mahendra Tallur 2010-12-03 09:41:51 UTC
Hmm, I'm actually using Totem 2.32.0 / GStreamer 0.10.30 / Ubuntu 10.10.

It seems to be triggered by *some* albums. I just tried a couple of them, and it only occured with the Machinarium Soundtrack (I'll try to find other album that trigger it and which are free). Do you have it by any chance ? 

Do you think I could upload 1 or 2 tracks temporarily for testing purposes ?

Ah : I managed to trigger the problem with this free album : http://elmobo.bandcamp.com/album/early-years-coktel-vision
Load all file in the playlist and quickly try to play them all until it hangs. Works here at least...
Comment 3 Mahendra Tallur 2010-12-03 09:49:41 UTC
But it's definitely easier to trigger it with the first aforementioned album (Machinarium Soundtrack).

BTW, sorry for the typos.
Comment 4 Philip Withnall 2010-12-03 14:00:44 UTC
Could you install debug symbols for GStreamer and produce another stack trace please? The one you've provided is missing useful information. Thank you.
Comment 5 Fabio Durán Verdugo 2010-12-03 14:13:40 UTC
Ok i do it, and get the freeze, 
press control + C and get this trace
Program received signal SIGINT, Interrupt.
0x00110416 in __kernel_vsyscall ()
(gdb) bt full
  • #0 __kernel_vsyscall
  • #1 __lll_lock_wait
    from /lib/libpthread.so.0
  • #2 _L_lock_791
    from /lib/libpthread.so.0
  • #3 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #4 g_static_rec_mutex_lock
    at gthread.c line 1424
  • #5 gst_base_transform_activate
    at gstbasetransform.c line 2277
  • #6 gst_base_transform_sink_activate_push
    at gstbasetransform.c line 2306
  • #7 gst_pad_activate_push
    at gstpad.c line 930
  • #8 gst_pad_set_active
    at gstpad.c line 693
  • #9 activate_pads
    at gstelement.c line 2630
  • #10 gst_iterator_fold
    at gstiterator.c line 549
  • #11 iterator_activate_fold_with_resync
    at gstelement.c line 2662
  • #12 gst_element_pads_activate
    at gstelement.c line 2706
  • #13 gst_element_change_state_func
    at gstelement.c line 2788
  • #14 gst_element_change_state
    at gstelement.c line 2546
  • #15 gst_element_set_state_func
    at gstelement.c line 2502
  • #16 gst_element_set_state
    at gstelement.c line 2403
  • #17 gst_bin_element_set_state
    at gstbin.c line 2136
  • #18 gst_bin_change_state_func
  • #19 gst_element_change_state
    at gstelement.c line 2546
  • #20 gst_element_continue_state
    at gstelement.c line 2220
  • #21 gst_element_change_state
    at gstelement.c line 2583
  • #22 gst_element_set_state_func
    at gstelement.c line 2502
  • #23 gst_element_set_state
    at gstelement.c line 2403
  • #24 activate_chain
    at gstplaysink.c line 853
  • #25 gst_play_sink_reconfigure
    at gstplaysink.c line 2301
  • #26 gst_play_bin_set_flags
    at gstplaybin2.c line 1248
  • #27 gst_play_bin_set_property
    at gstplaybin2.c line 1740
  • #28 object_set_property
  • #29 g_object_set_valist
    at gobject.c line 1689
  • #30 g_object_set
    at gobject.c line 1795
  • #31 setup_vis
    at bacon-video-widget-gst-0.10.c line 4950
  • #32 bvw_check_for_cover_pixbuf
    at bacon-video-widget-gst-0.10.c line 4443
  • #33 bvw_update_tags
    at bacon-video-widget-gst-0.10.c line 1872
  • #34 bvw_update_tags_dispatcher
    at bacon-video-widget-gst-0.10.c line 1899
  • #35 g_idle_dispatch
    at gmain.c line 4254
  • #36 g_main_dispatch
    at gmain.c line 2149
  • #37 g_main_context_dispatch
    at gmain.c line 2702
  • #38 g_main_context_iterate
    at gmain.c line 2780
  • #39 g_main_loop_run
    at gmain.c line 2988
  • #40 IA__gtk_main
    at gtkmain.c line 1237
  • #41 main
    at totem.c line 299

Comment 6 Mahendra Tallur 2010-12-03 16:39:51 UTC
Created attachment 175794 [details]
Backtrace with gstreamer symbols too

Here's another stack trace. Probably not necessary as Fabio did post one too :)
Comment 7 Tim-Philipp Müller 2010-12-04 12:51:43 UTC
Can reproduce this with git if visualisations are enabled in totem. Moving to playbin2/playsink for now.
Comment 8 Tim-Philipp Müller 2012-10-03 23:49:33 UTC
Still happens, marking as duplicate of other bug because it's got more recent traces.

*** This bug has been marked as a duplicate of bug 683574 ***