GNOME Bugzilla – Bug 594728
GUI (and playback) hang on some songs
Last modified: 2009-09-14 20:28:48 UTC
See: https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/427215 Binary package hint: rhythmbox On ubuntu karmic koala with rhythmbox 0.12.4-1ubuntu1, rhythmbox gui hangs (won't even redraw) when starting next song. trailing output of --debug is here: (08:59:51) [0xa43040] [tick_cb] rb-shell-player.c:3513: tick: [file:///home/music/CD/Chris%20Isaak%20-%20Heart%20Shaped%20World%20-%20Kings%20of%20the%20Highway.m4a, 283183445000:286000000000(0)] (08:59:51) [0x1a34070] [rb_shell_player_handle_eos] rb-shell-player.c:904: handling eos for file:///home/music/CD/Chris%20Isaak%20-%20Heart%20Shaped%20World%20-%20Kings%20of%20the%20Highway.m4a (08:59:51) [0x1a34070] [rhythmdb_query_model_base_row_deleted] rhythmdb-query-model.c:2449: deleting entry 0x173a5e0 from base model 0xe6a810 to model 0xe97cb0 (08:59:51) [0x1a34070] [rb_entry_view_row_deleted_cb] rb-entry-view.c:2160: row deleted (08:59:51) [0x1a34070] [rb_entry_view_row_deleted_cb] rb-entry-view.c:2160: row deleted (08:59:51) [0x1a34070] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:713: deleting "Pop": refcount: 2 (08:59:51) [0x1a34070] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:713: deleting "Chris Isaak": refcount: 1 (08:59:51) [0x1a34070] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:713: deleting "Unknown": refcount: 8 (08:59:51) [0x1a34070] [impl_open] rb-player-gst.c:695: setting new uri to file:///home/music/CD/Doc%20Mclean/American%20Pie/01-american_pie_(complete_original_version)_320_lame_cbr.mp3 (08:59:51) [0x1a34070] [impl_play] rb-player-gst.c:740: current track finishing -> just setting URI on playbin (08:59:51) [0x1a34070] [playing_stream_cb] rb-shell-player.c:3429: new playing stream: file:///home/music/CD/Doc%20Mclean/American%20Pie/01-american_pie_(complete_original_version)_320_lame_cbr.mp3 (08:59:51) [0x1a34070] [rb_header_sync] rb-header.c:434: syncing with entry = file:///home/music/CD/Doc%20Mclean/American%20Pie/01-american_pie_(complete_original_version)_320_lame_cbr.mp3 (08:59:51) [0x1a34070] [should_notify] rb-status-icon-plugin.c:474: shell is visible, not notifying (08:59:51) [0x1a34070] [rb_shell_player_sync_with_source] rb-shell-player.c:2897: playing source: 0xe64050, active entry: 0x7f008408e030 (08:59:51) [0x1a34070] [rb_shell_set_window_title] rb-shell.c:2011: setting title to "Don McLean - American Pie (Complete Origin" (08:59:51) [0x1a34070] [show_controls] rb-visualizer-plugin.c:866: showing controls (08:59:51) [0x1a34070] [rb_shell_player_sync_buttons] rb-shell-player.c:2992: syncing with source 0xe64050 (08:59:51) [0x1a34070] [show_controls] rb-visualizer-plugin.c:866: showing controls (08:59:51) [0x1a34070] [impl_set_replaygain] rb-player-gst.c:891: Scale : 0.970510 New volume : 0.020711 Or if I play "American Pie" first, it hangs right away (but the music keeps on playing [just that track]) (09:01:40) [0x196e040] [rb_gst_process_tag_string] rb-player-gst-helper.c:230: tag audio-codec doesn't correspond to a metadata field we're interested in (09:01:40) [0x196e040] [process_tag] rb-player-gst.c:189: emitting info field 20 (09:01:40) [0x196e040] [set_state_and_wait] rb-player-gst.c:608: playbin reached state PAUSED (09:01:40) [0x196e040] [set_state_and_wait] rb-player-gst.c:608: playbin reached state PLAYING (09:01:40) [0x196e040] [playing_stream_cb] rb-shell-player.c:3429: new playing stream: file:///home/music/CD/Doc%20Mclean/American%20Pie/01-american_pie_(complete_original_version)_320_lame_cbr.mp3 (09:01:40) [0x196e040] [rb_header_sync] rb-header.c:434: syncing with entry = file:///home/music/CD/Doc%20Mclean/American%20Pie/01-american_pie_(complete_original_version)_320_lame_cbr.mp3 (09:01:40) [0x196e040] [should_notify] rb-status-icon-plugin.c:474: shell is visible, not notifying (09:01:40) [0x196e040] [rb_shell_player_sync_with_source] rb-shell-player.c:2897: playing source: 0x1d8f050, active entry: 0x7f3d700bee60 (09:01:40) [0x196e040] [rb_shell_set_window_title] rb-shell.c:2011: setting title to "Don McLean - American Pie (Complete Origin" (09:01:40) [0x196e040] [show_controls] rb-visualizer-plugin.c:866: showing controls (09:01:40) [0x196e040] [rb_shell_player_sync_buttons] rb-shell-player.c:2992: syncing with source 0x1d8f050 (09:01:40) [0x196e040] [show_controls] rb-visualizer-plugin.c:866: showing controls (09:01:40) [0x196e040] [rb_player_gst_find_element_with_property] rb-player-gst-helper.c:121: iterating bin looking for property volume (09:01:40) [0x196e040] [find_property_element] rb-player-gst-helper.c:99: didn't find property "volume" on element bin3 (09:01:40) [0x196e040] [find_property_element] rb-player-gst-helper.c:96: found property "volume" on element pulsesink0 (09:01:40) [0x196e040] [impl_set_replaygain] rb-player-gst.c:891: Scale : 0.970510 New volume : 0.020102 The problem seems to be related to particular tracks. I these tests it will always hang at "American Pie" but transitions fine through to other tracks. Totem can play this track (or transition to it) without any problem.
Please provide a stack trace with debug symbols for at least rhythmbox, GStreamer, and glib. See http://live.gnome.org/GettingTraces for more information on how to do this. Is there any way you can make a copy of the file available for download?
Created attachment 142881 [details] backtrace while hung I have a few files that cause the hang, I'll email you a link to download one from.
Thanks, the stack trace was actually enough to figure it out. Disabling replaygain will stop it hanging for now. commit 903bc5342d7cfc417b3fc13c07e2a94e0d732b49 Author: Jonathan Matthew <jonathan@d14n.org> Date: Thu Sep 10 22:22:12 2009 +1000 player-gst: fix deadlock setting replaygain-adjusted volume (bug #594728)
Thanks for the tip, and for the speedy fix
*** Bug 595177 has been marked as a duplicate of this bug. ***