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 410601 - rhythmbox crashed with SIGSEGV in rb_source_can_paste() / Visualizations
rhythmbox crashed with SIGSEGV in rb_source_can_paste() / Visualizations
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
0.9.8
Other Linux
: Normal critical
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-21 23:35 UTC by Sebastien Bacher
Modified: 2007-02-22 06:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2007-02-21 23:35:41 UTC
That bug has been opened on https://launchpad.net/ubuntu/+source/rhythmbox/+bug/86875

"Binary package hint: rhythmbox

I just click on visualizations when it crashed out. I had ran it from a terminal with no options.
I was also attempting to copy tracks. I have been able to reproduce it.

Run Rhythmbox.
Right click on a song.
Click copy.
Play song.
Click control.
Click on visualization.
*Segmentation fault (core dumped)*

This is on Ubuntu Feisty Fawn (dev)
This first crash was from trying to copy from a removable device, it does crash without that as well.
Version 0.9.8-0ubuntu1 (feisty)
..."

Debug backtrace for the crash:

757             return klass->impl_can_paste (source);
(gdb) bt full
  • #0 rb_source_can_paste
    at rb-source.c line 757
  • #1 rb_shell_clipboard_sync
    at rb-shell-clipboard.c line 552
  • #2 rb_shell_clipboard_set_property
    at rb-shell-clipboard.c line 352
  • #3 IA__g_object_set_valist
    at gobject.c line 697
  • #4 IA__g_object_set
    at gobject.c line 1207
  • #5 rb_shell_clipboard_set_source
    at rb-shell-clipboard.c line 491
  • #6 rb_shell_notebook_set_page
    at rb-shell.c line 3622
  • #7 enable_visualization
    at rb-visualizer-plugin.c line 957
  • #8 rb_visualizer_plugin_cmd_toggle
    at rb-visualizer-plugin.c line 1012
  • #9 IA__g_cclosure_marshal_VOID__VOID
    param_values=0xbfb7a55c, invocation_hint=0xbfb7a46c, marshal_data=0xb4473930) at gmarshal.c:77
        data1 = (gpointer) 0x81abad0
        data2 = (gpointer) 0x0
        __PRETTY_FUNCTION__ = "IA__g_cclosure_marshal_VOID__VOID"
...
Comment 1 James "Doc" Livingston 2007-02-22 06:59:48 UTC
Fixed in SVN with


--- shell/rb-shell-clipboard.c	(revision 4832)
+++ shell/rb-shell-clipboard.c	(working copy)
@@ -548,7 +548,7 @@ rb_shell_clipboard_sync (RBShellClipboar
 
 	rb_debug ("syncing clipboard");
 
-	if (g_list_length (clipboard->priv->entries) > 0)
+	if (clipboard->priv->source != NULL && g_list_length (clipboard->priv->entries) > 0)
 		can_paste = rb_source_can_paste (clipboard->priv->source);
 
 	if (have_selection) {