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 646006 - [Arch Linux] nautilus crashed with SIGSEGV in gtk_icon_info_load_symbolic () from /usr/lib/libgtk-3.so.0
[Arch Linux] nautilus crashed with SIGSEGV in gtk_icon_info_load_symbolic () ...
Status: RESOLVED NOTGNOME
Product: nautilus
Classification: Core
Component: general
2.91.x
Other Linux
: Normal critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-28 20:07 UTC by ar
Modified: 2011-03-31 06:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backtrace (3.97 KB, text/x-log)
2011-03-28 20:07 UTC, ar
  Details
search-bar: fallback to GTK_STOCK_FIND if no symbolic search icon found (1.65 KB, patch)
2011-03-28 20:54 UTC, Cosimo Cecchi
reviewed Details | Review
backtrace after fallback patch (3.95 KB, text/plain)
2011-03-28 21:43 UTC, ar
  Details
trace with gtk+ enable-debug=yes (4.49 KB, text/plain)
2011-03-28 23:19 UTC, ar
  Details

Description ar 2011-03-28 20:07:26 UTC
Created attachment 184505 [details]
backtrace

Version: all after 2.91.9, currently 2.91.93 (glib2 2.28.4)

Steps to reproduce: Start nautilus, crash occurs immediately. I remember that versions after .9 initially only crashed if/whenever an external drive was connected, but now it appears always.

Distribution: Arch Linux x64
Comment 1 Cosimo Cecchi 2011-03-28 20:54:21 UTC
Created attachment 184511 [details] [review]
search-bar: fallback to GTK_STOCK_FIND if no symbolic search icon found

This fixes a crasher when symbolic icons are missing.
Comment 2 ar 2011-03-28 21:43:40 UTC
Created attachment 184515 [details]
backtrace after fallback patch
Comment 3 ar 2011-03-28 21:44:21 UTC
Still crashing, unfortunately.
Comment 4 Matthias Clasen 2011-03-28 21:48:02 UTC
Would be good to have a stacktrace with gtk+ debuginfo
Comment 5 Cosimo Cecchi 2011-03-28 21:51:50 UTC
From the Fedora downstream crash report: https://bugzilla.redhat.com/show_bug.cgi?id=690357

Thread 1 (Thread 0x7f5caf4a49c0 (LWP 8476))

  • #0 gtk_icon_info_load_symbolic
    at gtkicontheme.c line 3194
  • #1 lookup_and_color_symbolic_find
    at nautilus-search-bar.c line 175
  • #2 nautilus_search_bar_init
    at nautilus-search-bar.c line 215
  • #3 g_type_create_instance
    at gtype.c line 1889
  • #4 g_object_constructor
    at gobject.c line 1615
  • #5 g_object_newv
    at gobject.c line 1479
  • #6 g_object_new_valist
    at gobject.c line 1596
  • #7 g_object_new
    at gobject.c line 1311
  • #8 nautilus_toolbar_constructed
    at nautilus-toolbar.c line 135
  • #9 g_object_newv
    at gobject.c line 1507
  • #10 g_object_new_valist
    at gobject.c line 1596
  • #11 g_object_new
    at gobject.c line 1311
  • #12 nautilus_window_pane_setup
    at nautilus-window-pane.c line 670
  • #13 nautilus_window_pane_new
    at nautilus-window-pane.c line 797
  • #14 nautilus_window_constructed
    at nautilus-window.c line 635
  • #15 g_object_newv
    at gobject.c line 1507
  • #16 g_object_new_valist
    at gobject.c line 1596
  • #17 g_object_new
    at gobject.c line 1311
  • #18 create_window
    at nautilus-application.c line 605
  • #19 nautilus_application_create_window
    at nautilus-application.c line 656
  • #20 open_window
    at nautilus-application.c line 363
  • #21 open_windows
    at nautilus-application.c line 394
  • #22 nautilus_application_command_line
    at nautilus-application.c line 1082
  • #23 _gio_marshal_INT__OBJECT
    at gio-marshal.c line 968
  • #24 g_closure_invoke
    at gclosure.c line 767
  • #25 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #26 g_signal_emit_valist
    at gsignal.c line 2993
  • #27 g_signal_emit
    at gsignal.c line 3040
  • #28 g_application_run
    at gapplication.c line 1300
  • #29 main
    at nautilus-main.c line 102

Comment 6 Matthias Clasen 2011-03-28 21:52:18 UTC
I don't know how the patch could have made a difference anyway, since you already pass GENERIC_FALLBACK to the first call, and GTK_STOCK_FIND is just "edit-find", ie should have been tried when doing the generic fallback for "edit-find-symbolic". What could make a difference is to pass ALLOW_BUILTIN to fall back all the way to the builtin icons in libgtk. What is the situation here, anyway ? Neither gnome-icon-theme-symbolic nor gnome-icon-theme installed ? Or did you select a non-existing icon theme ?
Comment 7 ar 2011-03-28 23:19:26 UTC
Created attachment 184519 [details]
trace with gtk+ enable-debug=yes

Both gnome-icon-theme-symbolic 2.91.92 and gnome-icon-theme 2.91.92 are installed – from packages as given by the Arch maintainer. I don't remember setting any icon theme.

There's no gtk+ debug package available for Arch Linux, hence I compiled one (and after that nautilus again) myself. Hope I did that right, the PKGBUILD (Arch build script) I used is here: http://pastebin.com/Tqm7EweR

Since the output does not appear as extensive as that Fedora trace, are there any further options to select? I used gdb's bt, nothing more.
Comment 8 Cosimo Cecchi 2011-03-29 20:16:47 UTC
Comment on attachment 184511 [details] [review]
search-bar: fallback to GTK_STOCK_FIND if no symbolic search icon found

So, this shouldn't be needed at all, as GTK+ already fall backs to edit-find for us.
Comment 9 Cosimo Cecchi 2011-03-29 20:21:41 UTC
Andreas, can you please post the contents of these files?

/etc/gtk-3-0/settings.ini
/usr/share/themes/Adwaita/gtk-3.0/settings.ini
Comment 10 Cosimo Cecchi 2011-03-29 20:40:03 UTC
(In reply to comment #9)

> /etc/gtk-3-0/settings.ini

This should read:
/etc/gtk-3.0/settings.ini
Comment 11 ar 2011-03-29 22:13:26 UTC
Just remembered that I did change the icon theme via gconftool-2 to Gion months ago. It was never deleted, gtk2 applications use it without any problems.

> /etc/gtk-3-0/settings.ini

That file does not exist (neither does /etc/gtk-2-0/settings.ini), but (as for gtk-2-0) gtkrc does. Its content:

> gtk-fallback-icon-theme = "gnome"

(The Arch Linux packager sets it to this, as for gtk2.)

> /usr/share/themes/Adwaita/gtk-3.0/settings.ini:

> [Settings]
> gtk-color-scheme = "base_color:#ffffff\nbg_color:#ededed\ntooltip_bg_color:#343434\nselected_bg_color:#4a90d9\ntext_color:#2e3436\nfg_color:#2e3436;\ntooltip_fg_color:#ffffff\nselected_fg_color:#ffffff"
> gtk-auto-mnemonics = 1
Comment 12 ar 2011-03-31 06:31:10 UTC
The Arch Linux packager has uploaded a revised script that installs settings.ini. With it nautilus now starts properly.
Comment 13 André Klapper 2011-03-31 06:57:41 UTC
--> looks like distro issue, closing as NOTGNOME.