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 407987 - Rhythmbox crash on playlist search
Rhythmbox crash on playlist search
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
0.9.6
Other Linux
: High critical
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-14 20:09 UTC by Sebastien Bacher
Modified: 2007-02-15 12:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2007-02-14 20:09:48 UTC
That bug has been opened on https://launchpad.net/ubuntu/+source/rhythmbox/+bug/85144

"Binary package hint: rhythmbox

When I select a play list and while it is loading select a different search type (album, artist, etc...) and then click in the search box, Rhythmbox crashes.

http://librarian.launchpad.net/6438465/RhythmboxBacktraces
Debugging Backtraces

(10:48:48) [0x8161340] [rebuild_child_model] rb-library-browser.c:566: no selection for browser 2 - reusing parent model
(10:48:48) [0x8161340] [rb_shell_clipboard_entryview_changed_cb] rb-shell-clipboard.c:743: entryview changed
(10:48:48) [0x8161340] [rb_shell_clipboard_entryview_changed_cb] rb-shell-clipboard.c:743: entryview changed
(10:48:48) [0x8161340] [rb_source_header_filter_changed_cb] rb-source-header.c:455: filter changed for 0x8394a78
(10:48:48) [0x8161340] [rb_property_view_selection_changed_cb] rb-property-view.c:671: selection changed
(10:48:48) [0x8161340] [rb_property_view_selection_changed_cb] rb-property-view.c:671: selection changed
(10:48:48) [0x8161340] [rb_property_view_selection_changed_cb] rb-property-view.c:671: selection changed
(10:48:48) [0x8161340] [rb_source_header_filter_changed_cb] rb-source-header.c:455: filter changed for 0x8394a78
(10:48:48) [0x8161340] [rb_shell_clipboard_sync] rb-shell-clipboard.c:527: syncing clipboard
(10:48:50) [0x8161340] [source_selected_cb] rb-shell.c:1678: source selected
(10:48:50) [0x8161340] [rb_shell_select_source] rb-shell.c:1937: selecting source 0x8289338
(10:48:51) [0x8161340] [rb_shell_clipboard_set_source_internal] rb-shell-clipboard.c:328: selected source 0x8289338
(10:48:51) [0x8161340] [rb_shell_clipboard_sync] rb-shell-clipboard.c:527: syncing clipboard
(10:48:51) [0x8161340] [rebuild_playlist_menu] rb-shell-clipboard.c:965: rebuilding add-to-playlist menu
(10:48:51) [0x8161340] [rb_shell_player_set_source_internal] rb-shell-player.c:791: selected source 0x8289338
(10:48:51) [0x8161340] [rb_shell_player_sync_with_selected_source] rb-shell-player.c:2660: syncing with selected source: 0x8289338
(10:48:51) [0x8161340] [rb_shell_player_sync_with_selected_source] rb-shell-player.c:2663: no playing source, new source is 0x8289338
(10:48:51) [0x8161340] [rb_shell_player_sync_with_source] rb-shell-player.c:2323: playing source: (nil), active entry: (nil)
(10:48:51) [0x8161340] [rb_shell_set_window_title] rb-shell.c:2039: clearing title
(10:48:51) [0x8161340] [rb_shell_player_get_playing_song_duration] rb-shell-player.c:2646: Did not get playing entry : return -1 as length
(10:48:51) [0x8161340] [rb_header_sync] rb-header.c:353: syncing with entry = (nil)
(10:48:51) [0x8161340] [rb_header_sync] rb-header.c:382: not playing
(10:48:51) [0x8161340] [rb_shell_player_sync_buttons] rb-shell-player.c:2389: syncing with source 0x8289338
(10:48:51) [0x8161340] [rb_random_play_order_get_previous] rb-play-order-random.c:379: choosing history entry
(10:48:51) [0x8161340] [rb_random_play_order_get_previous] rb-play-order-random.c:379: choosing history entry
(10:48:51) [0x8161340] [rb_source_header_set_source_internal] rb-source-header.c:319: selected source 0x8289338
(10:48:51) [0x8161340] [rb_statusbar_set_property] rb-statusbar.c:277: selected source 0x8289338
(10:48:51) [0x8161340] [shell_selected_source_notify_cb] rb-cd-recorder-plugin.c:300: RBCdRecorderPlugin selected source changed

(rhythmbox:25222): GLib-GObject-WARNING **: attempt to retrieve private data for invalid type 'RBAutoPlaylistSource'



BugBuddy evidently thought the report was too long to send, so here's what it had:


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 136941568 vsize: 0 resident: 136941568 share: 0 rss: 48664576 rss_rlim: 0
CPU usage: start_time: 1171471851 rtime: 0 utime: 10449 stime: 0 cutime:9861 cstime: 0 timeout: 588 it_real_value: 0 frequency: 34

Backtrace was generated from '/usr/bin/rhythmbox'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208497360 (LWP 25480)]
[New Thread -1255146608 (LWP 25503)]
0x4efeea51 in __waitpid_nocancel () from /lib/libpthread.so.0
  • #0 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #1 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 search_action_changed
    at rb-static-playlist-source.c line 799
  • #4 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #5 IA__g_closure_invoke
    at gclosure.c line 490
  • #6 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #7 IA__g_signal_emit_valist
  • #8 IA__g_signal_emit
    at gsignal.c line 2243
  • #9 gtk_radio_action_activate
    at gtkradioaction.c line 357

Comment 1 Alex Lancaster 2007-02-15 06:31:00 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Sebastien Bacher 2007-02-15 09:00:39 UTC
The backtrace is a debug one, what else do you need?
Comment 3 Alex Lancaster 2007-02-15 09:11:48 UTC
Looks like it's only a partial backtrace and not all the threads are shown, I also can't see any rhythmbox calls (e.g. rb_ or rhythmdb_) there.
Comment 4 Sebastien Bacher 2007-02-15 09:32:52 UTC
Did you click on the link to the bug-buddy log, the copied backtrace was only the start of the thread where the crash happened for easy dup-finding. I can copy the full bt to a comment if you prefer
Comment 5 Alex Lancaster 2007-02-15 09:36:26 UTC
Nope, I didn't, not having the full trace in a comment makes it hard to use the simple dupe finder to find possible duplicates.
Comment 6 Sebastien Bacher 2007-02-15 10:28:46 UTC
The backtrace copy to a comment is refused by bugzilla due to the 65535 chars limit for a comment
Comment 7 James "Doc" Livingston 2007-02-15 11:31:32 UTC
I'd say that "search_action_changed (action=0x84b7460, current=0x81e61e8,
shell=0x827e018) at rb-static-playlist-source.c:799" is definitely Rhythmbox code.

"WARNING **: attempt to retrieve private data for invalid type 'RBAutoPlaylistSource'" indicates that the RBStaticPlaylist's search_action_changed() is being run for an automatic playlist, which isn't good.


I've fixed this in SVN by making all the sources that use that kind of code check that they are operating on the right type of source.
Comment 8 Sebastien Bacher 2007-02-15 11:59:03 UTC
thank you for the quick fix
Comment 9 Alex Lancaster 2007-02-15 12:09:49 UTC
(In reply to comment #7)
> I'd say that "search_action_changed (action=0x84b7460, current=0x81e61e8,
> shell=0x827e018) at rb-static-playlist-source.c:799" is definitely Rhythmbox
> code.

Oops, I did a quick search on rb_ not rb- my mistake.