[Rhythmbox-devel] merge_source_ui_cb and SearchBar GtkAction
- From: Peter <rhythmbox-devel maubp freeserve co uk>
- To: rhythmbox-devel gnome org
- Subject: [Rhythmbox-devel] merge_source_ui_cb and SearchBar GtkAction
- Date: Sun, 17 Oct 2010 17:58:08 +0100
Hi all,
I'm trying to use RB from source on Ubuntu Lucid. I've got the latest code
from git and while it configures and builds, it won't run...
Note I've installed the current libdmapsharing (from git) under my home
directory as I want to use the DAAP plugin.
$ export LD_LIBRARY_PATH="$HOME/lib:$LD_LIBRARY_PATH"
$ export LD_RUN_PATH="$HOME/lib:$LD_RUN_PATH"
$ export PKG_CONFIG_PATH="$HOME/lib/pkgconfig"
$ ./autogen.sh --prefix=$HOME --enable-daap
...
configure: Rhythmbox was configured with the following options:
configure: ** Tree database is enabled
configure: ** Multimedia keys support is enabled
configure: ** MusicBrainz support is enabled (using libmusicbrainz)
configure: ** iPod integration enabled
configure: ** MTP integration enabled
configure: ** CD burning support enabled (using Brasero)
configure: ** DAAP (music sharing) support is enabled
configure: ** libnotify support is enabled
configure: ** GUdev support enabled
configure: ** Python plugin support enabled
configure: Vala plugin support disabled
configure: ** gnome-keyring support enabled
configure: ** FM radio support enabled
configure: ** iTunes detection browser plugin (for podcasts) enabled
configure: Last.fm support disabled
configure: End options
$ make
...
$ cp data/rhythmbox.desktop $HOME/share/applications
(to avoid RB complaining about not finding this file)
$ shell/rhythmbox
(lt-rhythmbox:16105): GLib-CRITICAL **: g_file_get_contents: assertion
`filename != NULL' failed
(lt-rhythmbox:16105): Gtk-CRITICAL **: gtk_box_pack: assertion
`GTK_IS_WIDGET (child)' failed
(lt-rhythmbox:16105): Gtk-CRITICAL **: gtk_box_reorder_child:
assertion `GTK_IS_WIDGET (child)' failed
(lt-rhythmbox:16105): Gtk-CRITICAL **: gtk_box_pack: assertion
`GTK_IS_WIDGET (child)' failed
(lt-rhythmbox:16105): Gtk-CRITICAL **: gtk_toolbar_insert: assertion
`GTK_IS_TOOLBAR (toolbar)' failed
(lt-rhythmbox:16105): Gtk-CRITICAL **: gtk_toolbar_insert: assertion
`GTK_IS_TOOLBAR (toolbar)' failed
(lt-rhythmbox:16105): Gtk-CRITICAL **: gtk_widget_show: assertion
`GTK_IS_WIDGET (widget)' failed
(lt-rhythmbox:16105): Gtk-CRITICAL **: gtk_toolbar_unset_style:
assertion `GTK_IS_TOOLBAR (toolbar)' failed
(lt-rhythmbox:16105): Gtk-CRITICAL **: gtk_widget_show: assertion
`GTK_IS_WIDGET (widget)' failed
(lt-rhythmbox:16105): Gtk-CRITICAL **: gtk_toolbar_unset_style:
assertion `GTK_IS_TOOLBAR (toolbar)' failed
(lt-rhythmbox:16105): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed
**
Rhythmbox:ERROR:rb-source-header.c:408:merge_source_ui_cb: assertion
failed: (radio_action)
Aborted
I thought I should try running this in the debugger - not sure if this
is the best
way of doing it but...
$ cd shell/.libs
$ gdb ./rhythmbox
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/peterjc/repositories/rhythmbox/shell/.libs/rhythmbox...done.
(gdb) run
Starting program: /home/peterjc/repositories/rhythmbox/shell/.libs/rhythmbox
[Thread debugging using libthread_db enabled]
[New Thread 0xb7166b70 (LWP 16270)]
(rhythmbox:16267): GLib-CRITICAL **: g_file_get_contents: assertion
`filename != NULL' failed
(rhythmbox:16267): Gtk-CRITICAL **: gtk_box_pack: assertion
`GTK_IS_WIDGET (child)' failed
(rhythmbox:16267): Gtk-CRITICAL **: gtk_box_reorder_child: assertion
`GTK_IS_WIDGET (child)' failed
(rhythmbox:16267): Gtk-CRITICAL **: gtk_box_pack: assertion
`GTK_IS_WIDGET (child)' failed
(rhythmbox:16267): Gtk-CRITICAL **: gtk_toolbar_insert: assertion
`GTK_IS_TOOLBAR (toolbar)' failed
(rhythmbox:16267): Gtk-CRITICAL **: gtk_toolbar_insert: assertion
`GTK_IS_TOOLBAR (toolbar)' failed
(rhythmbox:16267): Gtk-CRITICAL **: gtk_widget_show: assertion
`GTK_IS_WIDGET (widget)' failed
(rhythmbox:16267): Gtk-CRITICAL **: gtk_toolbar_unset_style: assertion
`GTK_IS_TOOLBAR (toolbar)' failed
(rhythmbox:16267): Gtk-CRITICAL **: gtk_widget_show: assertion
`GTK_IS_WIDGET (widget)' failed
(rhythmbox:16267): Gtk-CRITICAL **: gtk_toolbar_unset_style: assertion
`GTK_IS_TOOLBAR (toolbar)' failed
(rhythmbox:16267): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
**
Rhythmbox:ERROR:rb-source-header.c:408:merge_source_ui_cb: assertion
failed: (radio_action)
Program received signal SIGABRT, Aborted.
0x0012d422 in __kernel_vsyscall ()
(gdb) bt
#0 0x0012d422 in __kernel_vsyscall ()
#1 0x0106d651 in *__GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0x01070a82 in *__GI_abort () at abort.c:92
#3 0x00d72df3 in g_assertion_message () from /lib/libglib-2.0.so.0
#4 0x00d7344d in g_assertion_message_expr () from /lib/libglib-2.0.so.0
#5 0x001842fc in merge_source_ui_cb (action=0x81e0440
"BrowserSourceSearchAll", header=0x816eb00) at rb-source-header.c:408
#6 0x00d48db7 in g_list_foreach () from /lib/libglib-2.0.so.0
#7 0x001843fd in rb_source_header_refresh_search_bar
(header=0x816eb00) at rb-source-header.c:461
#8 0x00184a33 in rb_source_header_set_source_internal
(object=0x816eb00, prop_id=3, value=0xbfffee48, pspec=0x8240028)
at rb-source-header.c:558
#9 rb_source_header_set_property (object=0x816eb00, prop_id=3,
value=0xbfffee48, pspec=0x8240028) at rb-source-header.c:573
#10 0x00cd20bc in g_object_set_valist () from /usr/lib/libgobject-2.0.so.0
#11 0x00cd26e6 in g_object_set () from /usr/lib/libgobject-2.0.so.0
#12 0x00183ed6 in rb_source_header_set_source (header=0x816eb00,
source=0x82b0028) at rb-source-header.c:636
#13 0x0016f8b7 in rb_shell_select_source (shell=0x81a4020,
source=0x82b0028) at rb-shell.c:2200
#14 0x00176e72 in rb_shell_constructed (object=0x81a4020) at rb-shell.c:1638
#15 0x00cd3e68 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#16 0x00cd490c in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#17 0x00cd4a27 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#18 0x001723bd in rb_shell_new (no_registration=0, no_update=0,
dry_run=0, autostarted=0, rhythmdb=0x0, playlists=0x0)
at rb-shell.c:1186
#19 0x0804b4a9 in main (argc=1, argv=0xbffff304) at main.c:276
Looking at the merge_source_ui_cb function at line 408 of
shell/rb-source-header.c
it is failing to find the search bar widget. Any suggestions? I'm
wondering if I need
to update my libgtk ... one option might be to update the whole machine from
Ubuntu Lucid to Maverick.
Thanks,
Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]