GNOME Bugzilla – Bug 97934
gnome-theme-manager segfaults on startup
Last modified: 2004-12-22 21:47:04 UTC
louie (in #bugs) suggested that I post the bug in this product since none exists for gnome-theme-manager Here is the output of the terminal on startup: gnome-theme-manager:2795): capplet-common-WARNING **: Couldn't load window manager settings module `/usr/lib/window-manager-settings/libmetacity.so' (/usr/lib/window-manager-settings/libmetacity.so: cannot open shared object file: No such file or directory) (gnome-theme-manager:2795): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GObject' (gnome-theme-manager:2795): GLib-GObject-WARNING **: invalid (NULL) pointer instance (gnome-theme-manager:2795): GLib-GObject-CRITICAL **: file gsignal.c: line 1605 (g_signal_connect_data): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (gnome-theme-manager:2795): capplet-common-WARNING **: Couldn't load window manager settings module `/usr/lib/window-manager-settings/libmetacity.so' (/usr/lib/window-manager-settings/libmetacity.so: cannot open shared object file: No such file or directory)
Ah, Luis, you have to love him :-) Maybe someone with b.g.o admin rights should _make_ a product or component for it?
Do you have the latest version of metacity installed?
I am running the latest metacity from ximian-gnome2 snaps: metacity-2.4.3.0.200211080512-0.snap.ximian.1
I see this when running from HEAD as of Saturday, Nov. 9. I have latest glib, gtk+, pango, atk, libgnome, libgnomeui, gnome-control-center.
BTW I may be seeing a different bug with the same symptoms, since I see the following terminal output: gnome-theme-properties (gnome-theme-properties:12149): Gtk-CRITICAL **: file gtknotebook.c: line 4719 (gtk_notebook_set_tab_label): assertion `GTK_IS_WIDGET (child)' failed (gnome-theme-properties:12149): Gtk-CRITICAL **: file gtknotebook.c: line 4719 (gtk_notebook_set_tab_label): assertion `GTK_IS_WIDGET (child)' failed (gnome-theme-properties:12149): Gtk-CRITICAL **: file gtknotebook.c: line 4719 (gtk_notebook_set_tab_label): assertion `GTK_IS_WIDGET (child)' failed (gnome-theme-properties:12149): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GtkTreeView' (gnome-theme-properties:12149): Gtk-CRITICAL **: file gtktreeview.c: line 8329 (gtk_tree_view_insert_column_with_attributes): assertion `GTK_IS_TREE_VIEW (tree_view)' failed (gnome-theme-properties:12149): Gtk-CRITICAL **: file gtktreeview.c: line 7776 (gtk_tree_view_set_model): assertion `GTK_IS_TREE_VIEW (tree_view)' failed (gnome-theme-properties:12149): Gtk-CRITICAL **: file gtktreeview.c: line 7903 (gtk_tree_view_get_selection): assertion `GTK_IS_TREE_VIEW (tree_view)' failed (gnome-theme-properties:12149): Gtk-CRITICAL **: file gtktreeselection.c: line 190 (gtk_tree_selection_set_mode): assertion `GTK_IS_TREE_SELECTION (selection)' failed (gnome-theme-properties:12149): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GObject' (gnome-theme-properties:12149): GLib-GObject-WARNING **: invalid (NULL) pointer instance (gnome-theme-properties:12149): GLib-GObject-CRITICAL **: file gsignal.c: line 1605 (g_signal_connect_data): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (gnome-theme-properties:12149): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GtkTreeView' (gnome-theme-properties:12149): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GtkWidget' [billh@taistealai ~]$ followed by a SEGV. The SEGV is in , output from gdb follows: (gdb) run Starting program: /opt/gnome-2.0/bin/gnome-theme-properties [New Thread 8192 (LWP 12893)] (gnome-theme-properties:12893): Gtk-CRITICAL **: file gtknotebook.c: line 4719 (gtk_notebook_set_tab_label): assertion `GTK_IS_WIDGET (child)' failed (gnome-theme-properties:12893): Gtk-CRITICAL **: file gtknotebook.c: line 4719 (gtk_notebook_set_tab_label): assertion `GTK_IS_WIDGET (child)' failed (gnome-theme-properties:12893): Gtk-CRITICAL **: file gtknotebook.c: line 4719 (gtk_notebook_set_tab_label): assertion `GTK_IS_WIDGET (child)' failed (gnome-theme-properties:12893): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GtkTreeView' (gnome-theme-properties:12893): Gtk-CRITICAL **: file gtktreeview.c: line 8329 (gtk_tree_view_insert_column_with_attributes): assertion `GTK_IS_TREE_VIEW (tree_view)' failed (gnome-theme-properties:12893): Gtk-CRITICAL **: file gtktreeview.c: line 7776 (gtk_tree_view_set_model): assertion `GTK_IS_TREE_VIEW (tree_view)' failed (gnome-theme-properties:12893): Gtk-CRITICAL **: file gtktreeview.c: line 7903 (gtk_tree_view_get_selection): assertion `GTK_IS_TREE_VIEW (tree_view)' failed (gnome-theme-properties:12893): Gtk-CRITICAL **: file gtktreeselection.c: line 190 (gtk_tree_selection_set_mode): assertion `GTK_IS_TREE_SELECTION (selection)' failed (gnome-theme-properties:12893): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GObject' (gnome-theme-properties:12893): GLib-GObject-WARNING **: invalid (NULL) pointer instance (gnome-theme-properties:12893): GLib-GObject-CRITICAL **: file gsignal.c: line 1605 (g_signal_connect_data): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (gnome-theme-properties:12893): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GtkTreeView' (gnome-theme-properties:12893): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GtkWidget' Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 8192 (LWP 12893)] 0x0804b703 in load_theme_names (tree_view=0x0, theme_list=0x80f8b84, current_theme=0x80f7c48 "Default") at theme-switcher.c:139 139 theme-switcher.c: No such file or directory. in theme-switcher.c (gdb)
Bill, you're seeing bug 97883. Gardner Biggs, I was relapse in not asking for this earlier: can you get a stack trace of the crash? There are 2 ways. If you have bug-buddy installed, then if you submit the crash using bug-buddy it should include a stack trace. If you can't do that then this should work: gdb gnome-theme-manager gdb> run ... etc, wait for the crash ... gdb> bt then post the output of "bt" into bugzilla. Thanks!
Backtrace was generated from '/usr/bin/gnome-theme-manager' [New Thread 1024 (LWP 10122)] 0x408f94d9 in wait4 () from /lib/libc.so.6
+ Trace 30085
Thread 1 (Thread 1024 (LWP 10122))
Thanks Andrew, sorry I added to the wrong bug report.
Interestingly, that's the trace of bug 97883. *** This bug has been marked as a duplicate of 97883 ***